blob: 3fee9c22335745c176d1d609c287e62f6c1c6486 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
DEBUG = @CONFIG_DEBUG@
CC = @CC@
CPP = @CPP@
LEX = @LEX@
YACC = @YACC@
MKDIR_P = @MKDIR_P@
INSTALL = @INSTALL@
SED = @SED@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
prefix = @prefix@
exec_prefix = @exec_prefix@
sysconfdir = @sysconfdir@
datarootdir = @datarootdir@
mandir = @mandir@
docdir = @docdir@
pdfdir = @pdfdir@
confdir = @sysconfdir@/nftables
LDFLAGS += @LDFLAGS@
LDFLAGS += @LIBS@
CPPFLAGS += @CPPFLAGS@
CFLAGS += @CFLAGS@ @DEFS@
CFLAGS += -DDEFAULT_INCLUDE_PATH="\"$(confdir)\""
CFLAGS += -include config.h
CFLAGS += -Iinclude
CFLAGS += -fno-strict-aliasing
CFLAGS += -Wall
CFLAGS += -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
CFLAGS += -Wdeclaration-after-statement -Wsign-compare -Winit-self
CFLAGS += -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute
CFLAGS += -Wcast-align -Wundef -Wbad-function-cast # -Wshadow
CFLAGS += -Waggregate-return -Wunused -Wwrite-strings
ifeq ($(DEBUG),y)
CFLAGS += -g -DDEBUG
endif
|