From b8c42eca0f224a00bf55b60ded81af14a1e07da1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 18 Dec 2011 02:52:15 +0100 Subject: libiptc: provide separate pkgconfig files Signed-off-by: Jan Engelhardt --- libiptc/.gitignore | 2 +- libiptc/Makefile.am | 2 +- libiptc/libip4tc.pc.in | 10 ++++++++++ libiptc/libip6tc.pc.in | 10 ++++++++++ libiptc/libiptc.pc.in | 6 ++---- 5 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 libiptc/libip4tc.pc.in create mode 100644 libiptc/libip6tc.pc.in (limited to 'libiptc') diff --git a/libiptc/.gitignore b/libiptc/.gitignore index 87675507..49ca83d0 100644 --- a/libiptc/.gitignore +++ b/libiptc/.gitignore @@ -1 +1 @@ -/libiptc.pc +/*.pc diff --git a/libiptc/Makefile.am b/libiptc/Makefile.am index 22c920f6..c170cb21 100644 --- a/libiptc/Makefile.am +++ b/libiptc/Makefile.am @@ -3,7 +3,7 @@ AM_CFLAGS = ${regular_CFLAGS} AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include ${kinclude_CPPFLAGS} -pkgconfig_DATA = libiptc.pc +pkgconfig_DATA = libiptc.pc libip4tc.pc libip6tc.pc lib_LTLIBRARIES = libip4tc.la libip6tc.la libiptc.la libiptc_la_SOURCES = diff --git a/libiptc/libip4tc.pc.in b/libiptc/libip4tc.pc.in new file mode 100644 index 00000000..5efa1ca2 --- /dev/null +++ b/libiptc/libip4tc.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libip4tc +Description: iptables IPv4 ruleset ADT and kernel interface +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lip4tc +Cflags: -I${includedir} diff --git a/libiptc/libip6tc.pc.in b/libiptc/libip6tc.pc.in new file mode 100644 index 00000000..30a61b22 --- /dev/null +++ b/libiptc/libip6tc.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libip6tc +Description: iptables IPv6 ruleset ADT and kernel interface +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lip6tc +Cflags: -I${includedir} diff --git a/libiptc/libiptc.pc.in b/libiptc/libiptc.pc.in index 99a35440..0264bf05 100644 --- a/libiptc/libiptc.pc.in +++ b/libiptc/libiptc.pc.in @@ -5,8 +5,6 @@ libdir=@libdir@ includedir=@includedir@ Name: libiptc -Description: iptables ruleset ADT and kernel interface +Description: iptables v4/v6 ruleset ADT and kernel interface Version: @PACKAGE_VERSION@ -Libs: -L${libdir} -liptc -Libs.private: -lip4tc -lip6tc -Cflags: -I${includedir} +Requires: libip4tc libip6tc -- cgit v1.2.3