mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Now searching for yajl using find_yajl.m4 macro file instead of using pkg-config directly. If YAJL was not found or if it was disabled in the configure phase, the code will be compiled without JSON support.
71 lines
1.9 KiB
Makefile
71 lines
1.9 KiB
Makefile
check_PROGRAMS = msc_test
|
|
msc_test_SOURCES = msc_test.c \
|
|
$(top_srcdir)/apache2/acmp.c \
|
|
$(top_srcdir)/apache2/libinjection/libinjection_sqli.c \
|
|
$(top_srcdir)/apache2/modsecurity.c \
|
|
$(top_srcdir)/apache2/msc_crypt.c \
|
|
$(top_srcdir)/apache2/msc_geo.c \
|
|
$(top_srcdir)/apache2/msc_gsb.c \
|
|
$(top_srcdir)/apache2/msc_json.c \
|
|
$(top_srcdir)/apache2/msc_logging.c \
|
|
$(top_srcdir)/apache2/msc_lua.c \
|
|
$(top_srcdir)/apache2/msc_multipart.c \
|
|
$(top_srcdir)/apache2/msc_parsers.c \
|
|
$(top_srcdir)/apache2/msc_pcre.c \
|
|
$(top_srcdir)/apache2/msc_release.c \
|
|
$(top_srcdir)/apache2/msc_reqbody.c \
|
|
$(top_srcdir)/apache2/msc_tree.c \
|
|
$(top_srcdir)/apache2/msc_unicode.c \
|
|
$(top_srcdir)/apache2/msc_util.c \
|
|
$(top_srcdir)/apache2/msc_xml.c \
|
|
$(top_srcdir)/apache2/persist_dbm.c \
|
|
$(top_srcdir)/apache2/re_actions.c \
|
|
$(top_srcdir)/apache2/re.c \
|
|
$(top_srcdir)/apache2/re_operators.c \
|
|
$(top_srcdir)/apache2/re_tfns.c \
|
|
$(top_srcdir)/apache2/re_variables.c \
|
|
$(top_srcdir)/standalone/regex.c \
|
|
$(top_srcdir)/standalone/server.c
|
|
|
|
msc_test_CFLAGS = @APR_CFLAGS@ \
|
|
@APU_CFLAGS@ \
|
|
@APXS_CFLAGS@ \
|
|
@LIBXML2_CFLAGS@ \
|
|
@LUA_CFLAGS@ \
|
|
@MODSEC_EXTRA_CFLAGS@ \
|
|
@PCRE_CFLAGS@ \
|
|
@YAJL_CFLAGS@
|
|
|
|
msc_test_CPPFLAGS = -I$(top_srcdir)/apache2 \
|
|
@APR_CPPFLAGS@ \
|
|
@LIBXML2_CPPFLAGS@ \
|
|
@PCRE_CPPFLAGS@
|
|
|
|
msc_test_LDADD = @APR_LDADD@ \
|
|
@APU_LDADD@ \
|
|
@LIBXML2_LDADD@ \
|
|
@LUA_LDADD@ \
|
|
@PCRE_LDADD@ \
|
|
@YAJL_LDADD@
|
|
|
|
msc_test_LDFLAGS = @APR_LDFLAGS@ \
|
|
@APU_LDFLAGS@ \
|
|
@APXS_LDFLAGS@ \
|
|
@LIBXML2_LDFLAGS@ \
|
|
@LUA_LDFLAGS@ \
|
|
@PCRE_LDFLAGS@ \
|
|
@YAJL_LDFLAGS@
|
|
|
|
check_SCRIPTS = run-unit-tests.pl
|
|
TESTS = $(check_SCRIPTS)
|
|
|
|
test: check
|
|
|
|
test-regression: run-regression-tests.pl
|
|
$(PERL) run-regression-tests.pl
|
|
|
|
test-regression-nginx: run-regression-tests-nginx.pl
|
|
$(PERL) run-regression-tests-nginx.pl
|
|
|
|
.PHONY: test test-regression
|