summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-04-06 19:41:03 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-04-06 19:54:11 +0200
commit3c784aa4f29de211cde6e3647863ed7f3b4244c8 (patch)
treee2c4387f812b7fde0a09b60d665aedec8bcbfee2 /data
parent302a103db3ee120f203bb0d0d6ed7547ffef9860 (diff)
downloadlibmbim-3c784aa4f29de211cde6e3647863ed7f3b4244c8.tar.gz
pkg-config: build and distribute pkg-config file for libmbim-glib
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am1
-rw-r--r--data/pkg-config/Makefile.am4
-rw-r--r--data/pkg-config/mbim-glib.pc.in11
3 files changed, 16 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 01d0f26..d267599 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,3 +1,4 @@
+SUBDIRS = . pkg-config
EXTRA_DIST = \
mbim-service-basic-connect.json
diff --git a/data/pkg-config/Makefile.am b/data/pkg-config/Makefile.am
new file mode 100644
index 0000000..033081e
--- /dev/null
+++ b/data/pkg-config/Makefile.am
@@ -0,0 +1,4 @@
+
+# Set up pkg-config .pc files for exported libraries
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = mbim-glib.pc
diff --git a/data/pkg-config/mbim-glib.pc.in b/data/pkg-config/mbim-glib.pc.in
new file mode 100644
index 0000000..898375e
--- /dev/null
+++ b/data/pkg-config/mbim-glib.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: mbim-glib
+Description: Library to communicate with MBIM-powered modems
+Version: @VERSION@
+Requires: glib-2.0 gobject-2.0 gio-2.0
+Cflags: -I${includedir}/libmbim-glib
+Libs: -L${libdir} -lmbim-glib