mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-08 13:44:56 +02:00
build: pass down AM_CFLAGS to sub-makes
Honor ipset/Makefile.am's AM_CFLAGS when compiling extensions.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# -*- Makefile -*-
|
# -*- Makefile -*-
|
||||||
# AUTOMAKE
|
# AUTOMAKE
|
||||||
|
|
||||||
|
export AM_CFLAGS
|
||||||
XA_SRCDIR = ${srcdir}
|
XA_SRCDIR = ${srcdir}
|
||||||
XA_TOPSRCDIR = ${top_srcdir}
|
XA_TOPSRCDIR = ${top_srcdir}
|
||||||
XA_ABSTOPSRCDIR = ${abs_top_srcdir}
|
XA_ABSTOPSRCDIR = ${abs_top_srcdir}
|
||||||
|
@@ -13,10 +13,8 @@ CCLD = ${CC}
|
|||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
|
|
||||||
regular_CFLAGS = @regular_CFLAGS@
|
|
||||||
libxtables_CFLAGS = @libxtables_CFLAGS@
|
libxtables_CFLAGS = @libxtables_CFLAGS@
|
||||||
libxtables_LIBS = @libxtables_LIBS@
|
libxtables_LIBS = @libxtables_LIBS@
|
||||||
AM_CFLAGS = ${regular_CFLAGS} ${libxtables_CFLAGS} -I${abs_top_srcdir}/extensions
|
|
||||||
AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@
|
AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@
|
||||||
|
|
||||||
AM_DEFAULT_VERBOSITY = 0
|
AM_DEFAULT_VERBOSITY = 0
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
# -*- Makefile -*-
|
# -*- Makefile -*-
|
||||||
# AUTOMAKE
|
# AUTOMAKE
|
||||||
|
|
||||||
|
AM_CFLAGS = ${regular_CFLAGS} ${libxtables_CFLAGS} -I${abs_top_srcdir}/extensions
|
||||||
|
|
||||||
# Not having Kbuild in Makefile.extra because it will already recurse
|
# Not having Kbuild in Makefile.extra because it will already recurse
|
||||||
.PHONY: modules modules_install clean_modules
|
.PHONY: modules modules_install clean_modules
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user