build: provide pkg-config files for ModemManager, libmm-common and libmm-glib
This commit is contained in:
@@ -41,6 +41,14 @@ dist_polkit_policy_DATA = $(dist_polkit_policy_in_files:.policy.in=.policy)
|
||||
endif
|
||||
|
||||
|
||||
# Set up pkg-config .pc files for exported libraries
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = \
|
||||
ModemManager.pc \
|
||||
mm-common.pc \
|
||||
mm-glib.pc
|
||||
|
||||
|
||||
DISTCLEANFILES = \
|
||||
$(dbusactivation_DATA) \
|
||||
$(dbusservice_DATA)
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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