mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Adds missing Makefile.am file
This commit is contained in:
parent
ecbf292f6d
commit
ff65d618e4
45
src/parser/Makefile.am
Normal file
45
src/parser/Makefile.am
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
|
||||||
|
noinst_LTLIBRARIES = libmodsec_parser.la
|
||||||
|
|
||||||
|
BUILT_SOURCES = \
|
||||||
|
seclang-parser.cc \
|
||||||
|
test.cc
|
||||||
|
|
||||||
|
libmodsec_parser_la_SOURCES = \
|
||||||
|
seclang-parser.yy \
|
||||||
|
seclang-scanner.ll \
|
||||||
|
test.cc
|
||||||
|
|
||||||
|
libmodsec_parser_la_CPPFLAGS = \
|
||||||
|
-std=c++11 \
|
||||||
|
-I../.. \
|
||||||
|
-I../../headers \
|
||||||
|
-I../../others \
|
||||||
|
-std=c++11 \
|
||||||
|
-I.. \
|
||||||
|
-g \
|
||||||
|
-fPIC \
|
||||||
|
-O3 \
|
||||||
|
$(GEOIP_CFLAGS) \
|
||||||
|
$(GLOBAL_CPPFLAGS) \
|
||||||
|
$(MODSEC_NO_LOGS) \
|
||||||
|
$(YAJL_CFLAGS) \
|
||||||
|
$(LMDB_CFLAGS) \
|
||||||
|
$(PCRE_CFLAGS) \
|
||||||
|
$(LIBXML2_CFLAGS)
|
||||||
|
|
||||||
|
test.cc: seclang-parser.hh
|
||||||
|
cat seclang-parser.hh | sed "s/return \*new (yyas_<T> ()) T (t)/return *new (yyas_<T> ()) T (std::move((T\&)t))/g" > seclang-parser.hh.fix && mv seclang-parser.hh.fix seclang-parser.hh
|
||||||
|
touch test.cc
|
||||||
|
|
||||||
|
CLEANFILES = test.cc \
|
||||||
|
seclang-scanner.cc \
|
||||||
|
seclang-parser.cc \
|
||||||
|
seclang-parser.hh \
|
||||||
|
location.hh \
|
||||||
|
position.hh \
|
||||||
|
stack.hh
|
||||||
|
|
||||||
|
EXTRA_DIST = $(CLEANFILES)
|
||||||
|
|
||||||
|
DISTCLAEN =
|
Loading…
x
Reference in New Issue
Block a user