mirror of git://git.sysmocom.de/ofono
build: Support for pkg-config
This commit is contained in:
parent
3970e5c06b
commit
4a482d296b
|
@ -23,6 +23,7 @@ missing
|
||||||
stamp-h1
|
stamp-h1
|
||||||
autom4te.cache
|
autom4te.cache
|
||||||
|
|
||||||
|
ofono.pc
|
||||||
include/ofono
|
include/ofono
|
||||||
include/version.h
|
include/version.h
|
||||||
src/builtin.h
|
src/builtin.h
|
||||||
|
|
|
@ -22,6 +22,9 @@ local_headers = $(foreach file,$(pkginclude_HEADERS) \
|
||||||
$(nodist_pkginclude_HEADERS), \
|
$(nodist_pkginclude_HEADERS), \
|
||||||
include/ofono/$(notdir $(file)))
|
include/ofono/$(notdir $(file)))
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = ofono.pc
|
||||||
|
|
||||||
|
|
||||||
if DATAFILES
|
if DATAFILES
|
||||||
dbusconfdir = @DBUS_CONFDIR@
|
dbusconfdir = @DBUS_CONFDIR@
|
||||||
|
|
|
@ -222,4 +222,4 @@ fi
|
||||||
AC_DEFINE_UNQUOTED(CONFIGDIR, "${configdir}",
|
AC_DEFINE_UNQUOTED(CONFIGDIR, "${configdir}",
|
||||||
[Directory for the configuration files])
|
[Directory for the configuration files])
|
||||||
|
|
||||||
AC_OUTPUT(Makefile include/version.h src/ofono.service)
|
AC_OUTPUT(Makefile include/version.h src/ofono.service ofono.pc)
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
plugindir=${libdir}/@PACKAGE@/plugins
|
||||||
|
|
||||||
|
Name: @PACKAGE@
|
||||||
|
Description: oFono - Open Source Telephony
|
||||||
|
Version: @VERSION@
|
||||||
|
Requires: glib-2.0 dbus-1
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
Libs: -module -avoid-version -export-symbols-regex '@PACKAGE@_plugin_desc'
|
Loading…
Reference in New Issue