1 CFLAGS?
=-Wall
-g
-D_GNU_SOURCE
-DDEBUG
-Wstrict-prototypes
-Wdeclaration-after-statement
6 ARCH
:= $(shell uname
-m | grep
-q
"x86_64" && echo
64)
8 all: test_nfct_get testnftnlrdr
11 $(RM
) *.o testnftnlcrdr testnftnlpinhole testnftnlrdr_peer \
12 test_nfct_get testnftnlrdr
14 testnftnlrdr
: nftnlrdr.o nftnlrdr_misc.o testnftnlrdr.o upnpglobalvars.o
$(LIBS
)
16 testiptpinhole
: testiptpinhole.o iptpinhole.o upnpglobalvars.o
$(LIBS
)
18 test_nfct_get
: test_nfct_get.o test_nfct_get.o
-lmnl
-lnetfilter_conntrack
20 test_nfct_get.o
: test_nfct_get.c
22 testnftnlrdr_peer.o
: testnftnlrdr_peer.c
24 testnftnlrdr_dscp.o
: testnftnlrdr_dscp.c
26 nftnlrdr.o
: nftnlrdr.c nftnlrdr.h
28 nftnlrdr_misc.o
: nftnlrdr_misc.c
30 iptpinhole.o
: iptpinhole.c iptpinhole.h
32 upnpglobalvars.o
: ..
/upnpglobalvars.c ..
/upnpglobalvars.h