diff options
author | Jan Engelhardt <jengelh@inai.de> | 2012-11-27 13:43:42 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@inai.de> | 2012-11-27 13:43:42 +0100 |
commit | 96d19632dacf3bacb3874a6681f442fcc33086e7 (patch) | |
tree | 790fbbb00b9a5e3ce4bddef1ec4f7ff41ce112a2 /input/flow | |
parent | 58a5cac020af30544c59b32496072ee131b65821 (diff) |
build: avoid per-target CFLAGS
There is no harm in putting the includes in the global AM_CPPFLAGS;
this can generally save number of compilations of a file when a
source file is used multiple times.
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Diffstat (limited to 'input/flow')
-rw-r--r-- | input/flow/Makefile.am | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/input/flow/Makefile.am b/input/flow/Makefile.am index 36c34ca..0e07a7d 100644 --- a/input/flow/Makefile.am +++ b/input/flow/Makefile.am @@ -1,5 +1,5 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include ${LIBNETFILTER_CONNTRACK_CFLAGS} AM_CFLAGS = ${regular_CFLAGS} if BUILD_NFCT @@ -7,7 +7,6 @@ pkglib_LTLIBRARIES = ulogd_inpflow_NFCT.la # ulogd_inpflow_IPFIX.la ulogd_inpflow_NFCT_la_SOURCES = ulogd_inpflow_NFCT.c ulogd_inpflow_NFCT_la_LDFLAGS = -avoid-version -module $(LIBNETFILTER_CONNTRACK_LIBS) -ulogd_inpflow_NFCT_la_CFLAGS = $(AM_CFLAGS) $(LIBNETFILTER_CONNTRACK_CFLAGS) endif #ulogd_inpflow_IPFIX_la_SOURCES = ulogd_inpflow_IPFIX.c |