mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
65 lines
977 B
Makefile
65 lines
977 B
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 = \
|
|
$(top_builddir)/src/.libs/libmodsecurity.a \
|
|
$(CURL_LDADD) \
|
|
$(GEOIP_LDADD) \
|
|
$(YAJL_LDADD)
|
|
|
|
unit_tests_CPPFLAGS = \
|
|
-std=c++11 \
|
|
-Icommon \
|
|
-O0 \
|
|
-g \
|
|
-I$(top_builddir)/headers \
|
|
$(CURL_CFLAGS) \
|
|
$(GEOIP_CFLAGS) \
|
|
$(YAJL_CFLAGS)
|
|
|
|
|
|
# regression
|
|
|
|
regression_tests_SOURCES = \
|
|
regression/regression.cc \
|
|
regression/regression_test.cc \
|
|
regression/custom_debug_log.cc
|
|
|
|
regression_tests_LDADD = \
|
|
$(top_builddir)/src/.libs/libmodsecurity.a \
|
|
$(CURL_LDADD) \
|
|
$(GEOIP_LDADD) \
|
|
$(YAJL_LDADD)
|
|
|
|
regression_tests_CPPFLAGS = \
|
|
-std=c++11 \
|
|
-Icommon \
|
|
-O0 \
|
|
-g \
|
|
-I$(top_builddir)/headers \
|
|
$(CURL_CFLAGS) \
|
|
$(GEOIP_CFLAGS) \
|
|
$(YAJL_CFLAGS)
|