From f82070f9871d281c2802c1624dcf222886b5fb50 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 20 Jan 2008 13:14:00 +0000 Subject: 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 --- libipq/Makefile | 28 ---------------------------- libipq/Makefile.am | 11 +++++++++++ 2 files changed, 11 insertions(+), 28 deletions(-) delete mode 100644 libipq/Makefile create mode 100644 libipq/Makefile.am (limited to 'libipq') diff --git a/libipq/Makefile b/libipq/Makefile deleted file mode 100644 index 64633f33..00000000 --- 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 00000000..942a874e --- /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 -- cgit v1.2.3