libproc-ng: add pkg-config support
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
901e381256
commit
64b420936e
1
.gitignore
vendored
1
.gitignore
vendored
@ -29,6 +29,7 @@ pmap
|
|||||||
procps-ng-*.tar.gz
|
procps-ng-*.tar.gz
|
||||||
proc/.depend
|
proc/.depend
|
||||||
proc/libproc-ng.la
|
proc/libproc-ng.la
|
||||||
|
proc/libproc-ng.pc
|
||||||
proc/Makefile
|
proc/Makefile
|
||||||
proc/Makefile.in
|
proc/Makefile.in
|
||||||
ps/Makefile
|
ps/Makefile
|
||||||
|
@ -138,6 +138,7 @@ fi
|
|||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
proc/Makefile
|
proc/Makefile
|
||||||
|
proc/libproc-ng.pc
|
||||||
ps/Makefile
|
ps/Makefile
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
@ -11,6 +11,9 @@ libproc_ng_la_LDFLAGS = \
|
|||||||
-no-undefined \
|
-no-undefined \
|
||||||
-Wl,--version-script=$(top_srcdir)/proc/library.map
|
-Wl,--version-script=$(top_srcdir)/proc/library.map
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libproc-ng.pc
|
||||||
|
|
||||||
libproc_ng_la_SOURCES = \
|
libproc_ng_la_SOURCES = \
|
||||||
alloc.c \
|
alloc.c \
|
||||||
alloc.h \
|
alloc.h \
|
||||||
|
11
proc/libproc-ng.pc.in
Normal file
11
proc/libproc-ng.pc.in
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: libproc-ng
|
||||||
|
Description: Library to control and query process state
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: -L${libdir} -lproc-ng
|
||||||
|
Libs.private:
|
||||||
|
Cflags: -I${includedir}
|
Loading…
Reference in New Issue
Block a user