mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Optional dependencies were temporarily marked as mandatory, in order to sort any build problem, later it will be marked as optional again.
73 lines
1.1 KiB
Makefile
73 lines
1.1 KiB
Makefile
|
|
ACLOCAL_AMFLAGS = -I build
|
|
|
|
|
|
SUBDIRS = \
|
|
benchmark
|
|
|
|
# make clean
|
|
CLEANFILES =
|
|
|
|
# make maintainer-clean
|
|
MAINTAINERCLEANFILES = \
|
|
Makefile.in
|
|
|
|
|
|
|
|
bin_PROGRAMS = unit-tests regression-tests
|
|
|
|
|
|
# unit_tests
|
|
|
|
unit_tests_SOURCES = \
|
|
unit/unit.cc \
|
|
unit/unit_test.cc
|
|
|
|
unit_tests_LDADD = \
|
|
-lrt \
|
|
$(top_builddir)/src/.libs/libmodsecurity.a \
|
|
$(CURL_LDADD) \
|
|
$(GEOIP_LDADD) \
|
|
$(PCRE_LDADD) \
|
|
$(YAJL_LDADD)
|
|
|
|
unit_tests_CPPFLAGS = \
|
|
-std=c++11 \
|
|
-Icommon \
|
|
-I../ \
|
|
-O0 \
|
|
-g \
|
|
-I$(top_builddir)/headers \
|
|
$(CURL_CFLAGS) \
|
|
$(GEOIP_CFLAGS) \
|
|
$(PCRE_CPPFLAGS) \
|
|
$(YAJL_CFLAGS)
|
|
|
|
|
|
# regression
|
|
|
|
regression_tests_SOURCES = \
|
|
regression/regression.cc \
|
|
regression/regression_test.cc \
|
|
regression/custom_debug_log.cc
|
|
|
|
regression_tests_LDADD = \
|
|
-lrt \
|
|
$(top_builddir)/src/.libs/libmodsecurity.a \
|
|
$(CURL_LDADD) \
|
|
$(GEOIP_LDADD) \
|
|
$(PCRE_LDADD) \
|
|
$(YAJL_LDADD)
|
|
|
|
regression_tests_CPPFLAGS = \
|
|
-std=c++11 \
|
|
-Icommon \
|
|
-I../ \
|
|
-O0 \
|
|
-g \
|
|
-I$(top_builddir)/headers \
|
|
$(CURL_CFLAGS) \
|
|
$(GEOIP_CFLAGS) \
|
|
$(PCRE_CPPFLAGS) \
|
|
$(YAJL_CFLAGS)
|