procps/proc/Makefile.am
Sami Kerola 64b420936e libproc-ng: add pkg-config support
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-11-05 14:13:40 +01:00

56 lines
941 B
Makefile

PACKAGE_VERSION = @PACKAGE_VERSION@
AM_CPPFLAGS = -include $(top_builddir)/config.h
lib_LTLIBRARIES = libproc-ng.la
libproc_ng_ladir = $(ladir)
libproc_ng_la_LIBADD = $(LIB_KPARTS)
libproc_ng_la_LDFLAGS = \
$(AM_LDFLAGS) \
$(all_libraries) \
-release $(PACKAGE_VERSION) \
-no-undefined \
-Wl,--version-script=$(top_srcdir)/proc/library.map
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libproc-ng.pc
libproc_ng_la_SOURCES = \
alloc.c \
alloc.h \
devname.c \
devname.h \
escape.c \
escape.h \
ksym.c \
procps.h \
pwcache.c \
pwcache.h \
readproc.c \
readproc.h \
sig.c \
sig.h \
slab.c \
slab.h \
sysinfo.c \
sysinfo.h \
version.c \
version.h \
wchan.h \
whattime.c \
whattime.h
libproc_ng_la_includedir = $(includedir)/proc/
libproc_ng_la_include_HEADERS = \
alloc.h \
devname.h \
escape.h \
procps.h \
pwcache.h \
readproc.h \
sig.h \
slab.h \
sysinfo.h \
version.h \
wchan.h \
whattime.h