diff options
author | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-01-20 13:14:00 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-01-20 13:14:00 +0000 |
commit | 0d0ef5c79805e6a7dc95f82c1cb67be09422b9ed (patch) | |
tree | c0e633b0867a4caab39d55b74f8521ecac724520 /libipq | |
parent | 706bfe7a140f8f90b08f20682a465127337fd5d1 (diff) |
Converts the iptables build infrastructure to autotools.
- Can build both static and dynamic at the same time
- iptables-static will be a multi-binary, semi-static
(link against libc but w/o dynamic plugins)
- Always build IPv6 modules
- consider INSTALL
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Diffstat (limited to 'libipq')
-rw-r--r-- | libipq/Makefile | 28 | ||||
-rw-r--r-- | libipq/Makefile.am | 11 |
2 files changed, 11 insertions, 28 deletions
diff --git a/libipq/Makefile b/libipq/Makefile deleted file mode 100644 index 64633f3..0000000 --- a/libipq/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -#! /usr/bin/make - -EXTRAS+=libipq/libipq.a -#CFLAGS+=-DDEBUG_LIBIPTQ - -DEVEL_MAN3+=libipq/ipq_create_handle.3 \ - libipq/ipq_destroy_handle.3 \ - libipq/ipq_errstr.3 \ - libipq/ipq_get_msgerr.3 \ - libipq/ipq_get_packet.3 \ - libipq/ipq_message_type.3 \ - libipq/ipq_perror.3 \ - libipq/ipq_read.3 \ - libipq/ipq_set_mode.3 \ - libipq/ipq_set_verdict.3 \ - libipq/libipq.3 - -DEVEL_LIBS+=libipq/libipq.a - -DEVEL_HEADERS+=include/libipq/libipq.h - -ifndef TOPLEVEL_INCLUDED -local: - cd .. && $(MAKE) $(SHARED_LIBS) $(EXTRAS) -else -libipq/libipq.a: libipq/libipq.a(libipq/libipq.o) -endif - diff --git a/libipq/Makefile.am b/libipq/Makefile.am new file mode 100644 index 0000000..942a874 --- /dev/null +++ b/libipq/Makefile.am @@ -0,0 +1,11 @@ +# -*- Makefile -*- + +AM_CFLAGS = ${regular_CFLAGS} -I${top_srcdir}/include + +libipq_a_SOURCES = libipq.c +lib_LIBRARIES = libipq.a +include_HEADERS = ${top_srcdir}/include/libipq/libipq.h +man_MANS = ipq_create_handle.3 ipq_destroy_handle.3 ipq_errstr.3 \ + ipq_get_msgerr.3 ipq_get_packet.3 ipq_message_type.3 \ + ipq_perror.3 ipq_read.3 ipq_set_mode.3 ipq_set_verdict.3 \ + libipq.3 |