summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-03-24 15:33:00 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-03-24 15:33:00 +0100
commitb1ffc0bd871e7406fa0a0c5e3697c42f9371c881 (patch)
tree76f51498d2924973a427688d8327291baf386dc8 /Makefile
parent4aabd42dc46e95632de8ae64281ce655b3f35f25 (diff)
downloadNPTv6-b1ffc0bd871e7406fa0a0c5e3697c42f9371c881.tar
NPTv6-b1ffc0bd871e7406fa0a0c5e3697c42f9371c881.zip
Link iptables extenstions with libxtablesHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 780901b..91f5016 100644
--- a/Makefile
+++ b/Makefile
@@ -11,10 +11,10 @@ module:
$(MAKE) -C $(KPATH) M=$(PWD) modules
libip6t_SNPTV6.so: libip6t_SNPTV6.o libip6t_NPTV6.o
- gcc -shared -o $@ $^
+ gcc -shared -o $@ $^ -lxtables
libip6t_DNPTV6.so: libip6t_DNPTV6.o libip6t_NPTV6.o
- gcc -shared -o $@ $^
+ gcc -shared -o $@ $^ -lxtables
libip6t_NPTV6.o: libip6t_NPTV6.c libip6t_NPTV6.h ip6t_NPTV6.h Makefile
gcc $(CFLAGS) -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Werror -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Winline -pipe -DXTABLES_LIBDIR=\"/usr/lib/iptables\" -DPIC -fPIC -g -O2 -o $@ -c $<