diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2015-12-30 14:51:30 -0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-03 23:13:34 +0100 |
commit | bdf27a0985bc4677196c76d52e4be1254ec841bd (patch) | |
tree | 1b158d49d2b4465cc7ead28d29213e6c7e728e5d | |
parent | 33834092f128834fd3abd96f88a2df30c731575a (diff) |
iptables: add xtables-config-parser.h to BUILT_SOURCES
Otherwise other sources that use it might be built before it's ready leading
to build failure, for example by iptables/nft.c
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | iptables/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/iptables/Makefile.am b/iptables/Makefile.am index 3c0faa5a..c3eb8a81 100644 --- a/iptables/Makefile.am +++ b/iptables/Makefile.am @@ -4,6 +4,8 @@ AM_CFLAGS = ${regular_CFLAGS} AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include ${kinclude_CPPFLAGS} ${libmnl_CFLAGS} ${libnftnl_CFLAGS} ${libnetfilter_conntrack_CFLAGS} AM_YFLAGS = -d +BUILT_SOURCES = + xtables_multi_SOURCES = xtables-multi.c iptables-xml.c xtables_multi_CFLAGS = ${AM_CFLAGS} xtables_multi_LDADD = ../extensions/libext.a @@ -27,6 +29,7 @@ xtables_multi_LDADD += ../libxtables/libxtables.la -lm # nftables compatibility layer if ENABLE_NFTABLES +BUILT_SOURCES += xtables-config-parser.h xtables_compat_multi_SOURCES = xtables-compat-multi.c iptables-xml.c xtables_compat_multi_CFLAGS = ${AM_CFLAGS} xtables_compat_multi_LDADD = ../extensions/libext.a ../extensions/libext_ebt.a |