summaryrefslogtreecommitdiffstats
path: root/extensions/Makefile
diff options
context:
space:
mode:
authorrusty <rusty>2000-06-04 17:25:33 +0000
committerrusty <rusty>2000-06-04 17:25:33 +0000
commitafd3df140f8565e57ef1d2bf222b47939a346bc3 (patch)
tree45878c9ad5a26560b722981a5962e0af6a25d8f3 /extensions/Makefile
parent7df541b8e4948aa0c5d76c32dd604e2bf35aa34c (diff)
Phil Blundell: ICMP, TCP and UDP extensions + rule deletion bug.
Diffstat (limited to 'extensions/Makefile')
-rw-r--r--extensions/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/extensions/Makefile b/extensions/Makefile
index 8e0dec1..04fd896 100644
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -1,8 +1,11 @@
#! /usr/bin/make
PF_EXT_SLIB:=tcp udp icmp mac limit standard REJECT LOG unclean state multiport tos TOS mark MARK owner SNAT DNAT MASQUERADE REDIRECT
+PF6_EXT_SLIB:=tcp udp icmp standard
SHARED_LIBS+=$(foreach T,$(PF_EXT_SLIB),extensions/libipt_$(T).so)
+SHARED_LIBS+=$(foreach T,$(PF6_EXT_SLIB),extensions/libip6t_$(T).so)
EXTRA_INSTALLS+=$(foreach T, $(PF_EXT_SLIB), $(DESTDIR)$(LIBDIR)/iptables/libipt_$(T).so)
+EXTRA_INSTALLS+=$(foreach T, $(PF6_EXT_SLIB), $(DESTDIR)$(LIBDIR)/iptables/libip6t_$(T).so)
ifndef TOPLEVEL_INCLUDED
local:
@@ -12,3 +15,7 @@ endif
$(DESTDIR)$(LIBDIR)/iptables/libipt_%.so: extensions/libipt_%.so
@[ -d $(DESTDIR)$(LIBDIR)/iptables ] || mkdir -p $(DESTDIR)$(LIBDIR)/iptables
cp $< $@
+
+$(DESTDIR)$(LIBDIR)/iptables/libip6t_%.so: extensions/libip6t_%.so
+ @[ -d $(DESTDIR)$(LIBDIR)/iptables ] || mkdir -p $(DESTDIR)$(LIBDIR)/iptables
+ cp $< $@