mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-12 21:06:01 +03:00
buildfix for srcdir != builddir
automake doesn't support wildcards. See https://www.gnu.org/software/automake/manual/html_node/Wildcards.html for details. Use the GNU make $(wildcard ) extension. Note: this breaks with non-GNU make
This commit is contained in:
parent
0caf30679f
commit
7660125da6
@ -42,7 +42,7 @@ AC_PREFIX_DEFAULT([/usr/local/modsecurity])
|
||||
|
||||
|
||||
# General automake options.
|
||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
||||
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
|
||||
|
||||
|
||||
# Check for dependencies (C++, AR, Lex, Yacc and Make)
|
||||
|
@ -68,21 +68,21 @@ libmodsecurity_includesub_actions_HEADERS = \
|
||||
|
||||
|
||||
noinst_HEADERS = \
|
||||
actions/*.h \
|
||||
actions/ctl/*.h \
|
||||
actions/data/*.h \
|
||||
actions/disruptive/*.h \
|
||||
actions/transformations/*.h \
|
||||
debug_log/*.h \
|
||||
audit_log/writer/*.h \
|
||||
collection/backend/*.h \
|
||||
operators/*.h \
|
||||
parser/*.h \
|
||||
request_body_processor/*.h \
|
||||
utils/*.h \
|
||||
variables/*.h \
|
||||
engine/*.h \
|
||||
*.h
|
||||
$(wildcard actions/*.h) \
|
||||
$(wildcard actions/ctl/*.h) \
|
||||
$(wildcard actions/data/*.h) \
|
||||
$(wildcard actions/disruptive/*.h) \
|
||||
$(wildcard actions/transformations/*.h) \
|
||||
$(wildcard debug_log/*.h) \
|
||||
$(wildcard audit_log/writer/*.h) \
|
||||
$(wildcard collection/backend/*.h) \
|
||||
$(wildcard operators/*.h) \
|
||||
$(wildcard parser/*.h) \
|
||||
$(wildcard request_body_processor/*.h) \
|
||||
$(wildcard utils/*.h) \
|
||||
$(wildcard variables/*.h) \
|
||||
$(wildcard engine/*.h) \
|
||||
$(wildcard *.h)
|
||||
|
||||
|
||||
ENGINES = \
|
||||
@ -308,13 +308,14 @@ libmodsecurity_la_CFLAGS =
|
||||
|
||||
|
||||
libmodsecurity_la_CPPFLAGS = \
|
||||
-I.. \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
-g \
|
||||
-I../others \
|
||||
-I../others/mbedtls/include \
|
||||
-I$(top_srcdir)/others \
|
||||
-I$(top_srcdir)/others/mbedtls/include \
|
||||
-fPIC \
|
||||
-O3 \
|
||||
-I../headers \
|
||||
-I$(top_srcdir)/headers \
|
||||
$(CURL_CFLAGS) \
|
||||
$(GEOIP_CFLAGS) \
|
||||
$(GLOBAL_CPPFLAGS) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user