diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-12-14 02:25:55 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-12-14 02:25:55 +0000 |
commit | d91beb059087bc166fbfaa4354b0291945198a53 (patch) | |
tree | e4f41420b78156615257eabeb299ad8641b4a5f0 /contrib/fwd/src/Makefile | |
parent | 1a403dfcd6ffd4f14e4ffa9d6c3037d07066ee5a (diff) |
contrib/fwd: initial xtables binding
Diffstat (limited to 'contrib/fwd/src/Makefile')
-rw-r--r-- | contrib/fwd/src/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/fwd/src/Makefile b/contrib/fwd/src/Makefile index 3a7736d54..89efd7b06 100644 --- a/contrib/fwd/src/Makefile +++ b/contrib/fwd/src/Makefile @@ -1,13 +1,14 @@ CFLAGS := -g -Wall -I./uci -I./iptables-1.4.5/include -LDFLAGS := -luci -liptc -L./iptables-1.4.5/libiptc/.libs +LDFLAGS := -luci -liptc -lxtables -ldl -L./iptables-1.4.5/libiptc/.libs -L./iptables-1.4.5/.libs -Wl,--export-dynamic fwd: $(CC) $(CFLAGS) -c -o ucix.o ucix.c $(CC) $(CFLAGS) -c -o fwd_addr.o fwd_addr.c $(CC) $(CFLAGS) -c -o fwd_rules.o fwd_rules.c $(CC) $(CFLAGS) -c -o fwd_config.o fwd_config.c + $(CC) $(CFLAGS) -c -o fwd_xtables.o fwd_xtables.c $(CC) $(CFLAGS) -c -o fwd.o fwd.c - $(CC) $(LDFLAGS) -o fwd fwd.o fwd_addr.o fwd_rules.o fwd_config.o ucix.o + $(CC) $(LDFLAGS) -o fwd fwd.o fwd_addr.o fwd_rules.o fwd_config.o fwd_xtables.o ucix.o clean: rm -f *~ fwd *.o |