diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | data/Makefile.am | 1 | ||||
-rw-r--r-- | data/pkg-config/Makefile.am | 4 | ||||
-rw-r--r-- | data/pkg-config/qmi-glib.pc.in | 11 |
5 files changed, 20 insertions, 0 deletions
@@ -29,6 +29,8 @@ missing stamp-h1 depcomp +data/pkg-config/qmi-glib.pc + src/.libs src/.deps src/Makefile diff --git a/configure.ac b/configure.ac index b417ace..4baf88f 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,8 @@ AC_SUBST(GLIB_MKENUMS) AC_CONFIG_FILES([Makefile data/Makefile + data/pkg-config/Makefile + data/pkg-config/qmi-glib.pc build-aux/Makefile build-aux/templates/Makefile build-aux/qmi-codegen/Makefile diff --git a/data/Makefile.am b/data/Makefile.am index 1826dfd..f008cfb 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,3 +1,4 @@ +SUBDIRS = . pkg-config EXTRA_DIST = \ qmi-common.json \ diff --git a/data/pkg-config/Makefile.am b/data/pkg-config/Makefile.am new file mode 100644 index 0000000..530151a --- /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 = qmi-glib.pc diff --git a/data/pkg-config/qmi-glib.pc.in b/data/pkg-config/qmi-glib.pc.in new file mode 100644 index 0000000..d334494 --- /dev/null +++ b/data/pkg-config/qmi-glib.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: qmi-glib +Description: Library to communicate with QMI-powered modems +Version: @VERSION@ +Requires: glib-2.0 gobject-2.0 gio-2.0 +Cflags: -I${includedir}/libqmi-glib +Libs: -L${libdir} -lqmi-glib |