# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../iptables/iptables-1.3.8-make-devel.patch.disabled # Copyright (C) 2008 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- From 22ed966acfc06b635153015c5dd091a99faadd82 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 16 Jan 2008 19:45:28 +0200 Subject: [PATCH] Changed toplevel Makefile to install more development files diff --git a/Makefile b/Makefile index df04d35..d9d9182 100644 --- a/Makefile +++ b/Makefile @@ -118,6 +118,17 @@ LDLIBS += -lselinux endif endif +# development files +EXTRAS+=libiptables.a +DEVEL_LIBS+=libiptables.a +DEVEL_HEADERS+=include/iptables.h +DEVEL_HEADERS+=include/iptables_common.h +ifeq ($(DO_IPV6), 1) +EXTRAS+=libip6tables.a +DEVEL_LIBS+=libip6tables.a +DEVEL_HEADERS+=include/ip6tables.h +endif + .PHONY: default default: print-extensions all -- 1.5.3.5 From 3f77fbc5db04b6b99c9439255b9ecb156284eca4 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 16 Jan 2008 20:02:35 +0200 Subject: [PATCH] Fixed toplevel Makefile to include targets for libiptables.a and libip6tables.a diff --git a/Makefile b/Makefile index d9d9182..4a1fb4f 100644 --- a/Makefile +++ b/Makefile @@ -136,6 +136,10 @@ default: print-extensions all print-extensions: @[ -n "$(OPTIONALS)" ] && echo Extensions found: $(OPTIONALS) +libiptables.a: libiptables.a(iptables.o) + +libip6tables.a: libip6tables.a(ip6tables.o) + iptables.o: iptables.c $(CC) $(CFLAGS) -DIPT_LIB_DIR=\"$(IPT_LIBDIR)\" -c -o $@ $< -- 1.5.3.5