build: provide pkg-config files for ModemManager, libmm-common and libmm-glib
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -27,7 +27,6 @@ libtool
|
|||||||
*.dirstamp
|
*.dirstamp
|
||||||
org.freedesktop.ModemManager.service
|
org.freedesktop.ModemManager.service
|
||||||
org.freedesktop.ModemManager.conf
|
org.freedesktop.ModemManager.conf
|
||||||
ModemManager.pc
|
|
||||||
callouts/mm-modem-probe
|
callouts/mm-modem-probe
|
||||||
test/lsudev
|
test/lsudev
|
||||||
|
|
||||||
@@ -51,6 +50,9 @@ libwmc/tests/test-wmc
|
|||||||
data/org.freedesktop.ModemManager1.conf
|
data/org.freedesktop.ModemManager1.conf
|
||||||
data/org.freedesktop.ModemManager1.service
|
data/org.freedesktop.ModemManager1.service
|
||||||
data/org.freedesktop.ModemManager1.policy
|
data/org.freedesktop.ModemManager1.policy
|
||||||
|
data/ModemManager.pc
|
||||||
|
data/mm-common.pc
|
||||||
|
data/mm-glib.pc
|
||||||
|
|
||||||
include/ModemManager-names.h
|
include/ModemManager-names.h
|
||||||
|
|
||||||
|
@@ -192,6 +192,9 @@ AM_CONDITIONAL(WMC_STANDALONE, test "yes" = "no")
|
|||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
data/Makefile
|
data/Makefile
|
||||||
|
data/ModemManager.pc
|
||||||
|
data/mm-common.pc
|
||||||
|
data/mm-glib.pc
|
||||||
include/Makefile
|
include/Makefile
|
||||||
build-aux/Makefile
|
build-aux/Makefile
|
||||||
libmm-common/Makefile
|
libmm-common/Makefile
|
||||||
|
@@ -41,6 +41,14 @@ dist_polkit_policy_DATA = $(dist_polkit_policy_in_files:.policy.in=.policy)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
# Set up pkg-config .pc files for exported libraries
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = \
|
||||||
|
ModemManager.pc \
|
||||||
|
mm-common.pc \
|
||||||
|
mm-glib.pc
|
||||||
|
|
||||||
|
|
||||||
DISTCLEANFILES = \
|
DISTCLEANFILES = \
|
||||||
$(dbusactivation_DATA) \
|
$(dbusactivation_DATA) \
|
||||||
$(dbusservice_DATA)
|
$(dbusservice_DATA)
|
||||||
|
9
data/ModemManager.pc.in
Normal file
9
data/ModemManager.pc.in
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: ModemManager
|
||||||
|
Description: Common headers provided by ModemManager
|
||||||
|
Version: @VERSION@
|
||||||
|
Cflags: -I${includedir}/ModemManager
|
11
data/mm-common.pc.in
Normal file
11
data/mm-common.pc.in
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: mm-common
|
||||||
|
Description: Library of common utilities provided by ModemManager
|
||||||
|
Version: @VERSION@
|
||||||
|
Requires: glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 ModemManager
|
||||||
|
Cflags: -I${includedir}/libmm-common
|
||||||
|
Libs: -L${libdir} -lmm-common
|
11
data/mm-glib.pc.in
Normal file
11
data/mm-glib.pc.in
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: mm-common
|
||||||
|
Description: Library to control and monitor the ModemManager
|
||||||
|
Version: @VERSION@
|
||||||
|
Requires: glib-2.0 gobject-2.0 gio-2.0 ModemManager mm-common
|
||||||
|
Cflags: -I${includedir}/libmm-glib
|
||||||
|
Libs: -L${libdir} -lmm-glib
|
Reference in New Issue
Block a user