diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-12-09 02:15:59 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-12-09 02:15:59 +0000 |
commit | 2e9ac3b3420350737aa37d01c0418bede10ab401 (patch) | |
tree | 352ff51ea0379c7709deb28dc8a18318ba47f806 /contrib/fwd/src/Makefile | |
parent | e8220d96a52be888db8611e2908cb3ba97dfe2f8 (diff) |
contrib: fwd - initial C implementation of the uci firewall
Diffstat (limited to 'contrib/fwd/src/Makefile')
-rw-r--r-- | contrib/fwd/src/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/fwd/src/Makefile b/contrib/fwd/src/Makefile new file mode 100644 index 000000000..3a7736d54 --- /dev/null +++ b/contrib/fwd/src/Makefile @@ -0,0 +1,14 @@ +CFLAGS := -g -Wall -I./uci -I./iptables-1.4.5/include +LDFLAGS := -luci -liptc -L./iptables-1.4.5/libiptc/.libs + +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.o fwd.c + $(CC) $(LDFLAGS) -o fwd fwd.o fwd_addr.o fwd_rules.o fwd_config.o ucix.o + +clean: + rm -f *~ fwd *.o + |