diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-03-02 11:34:25 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-03-02 11:34:25 +0100 |
commit | 7de39040b6b37028e899ae624c9f50b0a3d5df2e (patch) | |
tree | cc70cf16f4c0e3252c524c8d7b20687c8a25851f | |
parent | 957896b6bbeae6dc4efef26da8bfe48fece916ca (diff) | |
download | connman-7de39040b6b37028e899ae624c9f50b0a3d5df2e.tar.gz connman-7de39040b6b37028e899ae624c9f50b0a3d5df2e.tar.bz2 connman-7de39040b6b37028e899ae624c9f50b0a3d5df2e.zip |
Add support for pkg-config
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | configure.in | 6 | ||||
-rw-r--r-- | connman.pc.in | 10 |
4 files changed, 20 insertions, 3 deletions
@@ -21,6 +21,7 @@ missing stamp-h1 autom4te.cache +connman.pc include/connman src/connmand src/connman.service diff --git a/Makefile.am b/Makefile.am index 35d8c884..071be42c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,12 @@ SUBDIRS = include src doc test plugins scripts +pkgconfigdir = $(libdir)/pkgconfig + +noinst_DATA = connman.pc + +DISTCLEANFILES = $(noinst_DATA) + MAINTAINERCLEANFILES = Makefile.in \ aclocal.m4 configure config.h.in config.sub config.guess \ ltmain.sh depcomp missing install-sh mkinstalldirs diff --git a/configure.in b/configure.in index 119ac713..81144ec1 100644 --- a/configure.in +++ b/configure.in @@ -61,6 +61,6 @@ PKG_CHECK_MODULES(HAL, hal >= 0.5.8, dummy=yes, AC_SUBST(HAL_CFLAGS) AC_SUBST(HAL_LIBS) -AC_OUTPUT(Makefile include/Makefile src/Makefile doc/Makefile test/Makefile - plugins/Makefile scripts/Makefile - scripts/connman src/connman.service) +AC_OUTPUT(Makefile include/Makefile src/Makefile doc/Makefile + test/Makefile plugins/Makefile scripts/Makefile + scripts/connman src/connman.service connman.pc) diff --git a/connman.pc.in b/connman.pc.in new file mode 100644 index 00000000..96f1abc4 --- /dev/null +++ b/connman.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: connman +Description: Connection Manager +Version: @VERSION@ +Libs: -module -avoid-version -export-symbols-regex connman_plugin_desc +Cflags: -I${includedir} |