blob: 5c09b24234e2defc9d5159fbcb126419ec57b8b0 (
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
|
include $(top_srcdir)/Make_global.am
sbin_PROGRAMS = nft-sync
AM_YFLAGS = -d
CLEANFILES = config-parser.c \
config-scanner.c
nft_sync_SOURCES = event.c \
logging.c \
msg_buff.c \
server.c \
client.c \
tcp.c \
timer.c \
main.c \
fd.c \
config-parser.y \
config-scanner.l
nft_sync_LDADD = ${LIBMNL_LIBS} ${LIBNFTNL_LIBS} -lev
# yacc and lex generate dirty code
config-scanner.o config-parser.o: AM_CFLAGS += -Wno-missing-prototypes -Wno-missing-declarations -Wno-implicit-function-declaration -Wno-nested-externs -Wno-undef -Wno-redundant-decls
EXTRA_DIST = config-parser.h
|