diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2006-02-09 16:57:31 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2006-02-09 16:57:31 +0000 |
commit | 9fc6212466feffc013a6e423e4db33f4057f7f96 (patch) | |
tree | 27246fcc6836f72c6361b337eac426876c3de474 | |
parent | d809e93036d15654f120d1f1ad0172942be12f53 (diff) |
pkg-config enable all netfilter libraries
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | libnfnetlink.pc.in | 15 |
3 files changed, 19 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 03a8faa..f0166c5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,6 +7,9 @@ DIST_SUBDIRS = src include man_MANS = #nfnetlink.3 +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libnfnetlink.pc + $(OBJECTS): libtool libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck diff --git a/configure.in b/configure.in index a75d3c9..6dd4054 100644 --- a/configure.in +++ b/configure.in @@ -22,4 +22,4 @@ dnl-------------------------------- dnl Output the makefile -AC_OUTPUT(Makefile src/Makefile include/Makefile include/libnfnetlink/Makefile) +AC_OUTPUT(Makefile src/Makefile include/Makefile include/libnfnetlink/Makefile libnfnetlink.pc) diff --git a/libnfnetlink.pc.in b/libnfnetlink.pc.in new file mode 100644 index 0000000..d0fa9b2 --- /dev/null +++ b/libnfnetlink.pc.in @@ -0,0 +1,15 @@ +# libnfnetlink pkg-config file + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libnfnetlink +Description: Low-level netfilter netlink communication library +URL: http://netfilter.org/projects/libnfnetlink/ +Version: @VERSION@ +Requires: +Conflicts: +Libs: -L${libdir} -lnfnetlink +Cflags: -I${includedir} |