From 50a8efefd96cb30be35fe29ebb097293c63c8cea Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sat, 3 Feb 2001 10:50:04 +0000 Subject: pre-release target for Makefile. --- INSTALL | 11 +++++------ Makefile | 8 ++++++++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/INSTALL b/INSTALL index dafd4c32..f391d2c1 100644 --- a/INSTALL +++ b/INSTALL @@ -1,14 +1,13 @@ FOLLOW THESE STEPS: -1) If /usr/src/linux contains the kernel headers of a recent 2.4 - kernel: - % make - Otherwise: +0) There may be some outstanding bugfixes or tweaks which are not yet + in the official kernel. To look through these, do: + % make pending-patches KERNEL_DIR=<> + +1) Next, make the package. % make KERNEL_DIR=<> 2) Finally, you need to to install the shared libraries, and the binary: - # make install - Or # make install KERNEL_DIR=<> If you are a developer, you can install the libipq headers, like: diff --git a/Makefile b/Makefile index 6d73c1b4..0a833075 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,11 @@ endif NETFILTER_VERSION:=1.2 OLD_NETFILTER_VERSION:=1.1.2 +# Waiting for inclusions in the kernel tree. +PENDING_PATCHES:=dropped-table.patch +# These went in previous kernels. +PENDING_PATCHES+=ipv6-fixes.patch.ipv6 masquerade+fwmark.patch nat-overlap.patch ppc-sparc-mangle.patch + LIBDIR:=/usr/local/lib BINDIR:=/usr/local/sbin MANDIR:=/usr/local/man @@ -50,6 +55,9 @@ default: print-extensions all print-extensions: @[ -n "$(OPTIONALS)" ] && echo Extensions found: $(OPTIONALS) +pending-patches: + @cd patch-o-matic && KERNEL_DIR=$(KERNEL_DIR) ./runme $(PENDING_PATCHES) + iptables.o: iptables.c $(CC) $(CFLAGS) -DIPT_LIB_DIR=\"$(IPT_LIBDIR)\" -c -o $@ $< -- cgit v1.2.3