summaryrefslogtreecommitdiffstats
path: root/iptables/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'iptables/Makefile')
-rw-r--r--iptables/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/iptables/Makefile b/iptables/Makefile
new file mode 100644
index 0000000..302bb39
--- /dev/null
+++ b/iptables/Makefile
@@ -0,0 +1,10 @@
+CFLAGS = -DNETFILTER_VERSION=\"1.1.1\" -fPIC
+
+libipt_ULOG.so: libipt_ULOG_sh.o
+ ld -shared libipt_ULOG_sh.o -o libipt_ULOG.so
+
+libipt_ULOG_sh.o: libipt_ULOG.c
+ gcc $(CFLAGS) -c libipt_ULOG.c -o libipt_ULOG_sh.o
+
+clean:
+ rm -f libipt_ULOG_sh.o libipt_ULOG.so