mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-29 08:14:42 +00:00
b283904b81
* Revert r38187 for now: ** Introduced a memory leak. ** Used an unnecessary library. The point is taken, and this will be fixed in a few days (using glibc instead). * Fix logic error in boolean ops. * Integrate with the PHP abuse filter using AbuseFilterParserNative class. * Fix memory leak. * Fix a few miscellaneous bugs
14 lines
716 B
Makefile
14 lines
716 B
Makefile
all: check af_parser
|
|
|
|
af_parser: afeval.o affunctions.o afparser.o aftypes.o afutils.o main.o
|
|
g++ -g -o af_parser afeval.o affunctions.o afparser.o aftypes.o afutils.o main.o -lboost_regex -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0
|
|
|
|
check: afeval.o affunctions.o afparser.o aftypes.o afutils.o main.o
|
|
g++ -g -o check -lboost_regex afeval.o affunctions.o afparser.o aftypes.o afutils.o check.o
|
|
|
|
.cpp.o:
|
|
g++ -g -c $< -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
|
|
|
|
clean:
|
|
rm -f *.o check
|