From a6f0e711a929a2be52d983dbfa8fda8b4b59dd73 Mon Sep 17 00:00:00 2001 From: sven-ola Date: Tue, 5 Oct 2010 13:41:12 +0000 Subject: added cvs props, started readme, renamed --nospoof to --nocheck git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@2 3484d885-4da6-438d-b19d-107d078dd756 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a3f5a2c..88d4740 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,12 @@ KVERSION := $(shell uname -r) KPATH := /lib/modules/$(KVERSION)/build IPTABLES_VERSION := $(shell ip6tables --version|sed 's/^.*\([[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\).*/\1/') IPTABLES_VERSION_CODE := $(shell echo $$(( $$(echo $(IPTABLES_VERSION)|sed 's/^.*\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*/\1 * 65536 + \2 * 256 + \3/') ))) +ifeq ($(DEBUG),1) +EXTRA_CFLAGS := -DMAP66_DEBUG +endif all: libip6t_MAP66.so - $(MAKE) -C $(KPATH) M=$(PWD) modules + $(MAKE) -C $(KPATH) V=1 M=$(PWD) modules libip6t_MAP66.so: libip6t_MAP66.o gcc -shared -o $@ $< -- cgit v1.2.3