summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-13 22:49:03 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-13 22:49:03 +0300
commitc3b4284ee079539892e510f7ccd1768c793e9b5f (patch)
tree0dcdbe3a187c85008aa229c401107f0e6c429656 /src/Makefile.am
parentf2b51ca5984fc464fbcee652b13c0287752d3c7a (diff)
downloadplus-c3b4284ee079539892e510f7ccd1768c793e9b5f.tar.gz
plus-c3b4284ee079539892e510f7ccd1768c793e9b5f.tar.bz2
plus-c3b4284ee079539892e510f7ccd1768c793e9b5f.tar.xz
plus-c3b4284ee079539892e510f7ccd1768c793e9b5f.zip
Add mse libs for replacing std::vector.
Also add configure flag --enable-stldebug For now unused.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5bf511b92..af00bbdf8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -132,6 +132,18 @@ manaplus_SOURCES =
dyecmd_SOURCES =
endif
+if ENABLE_STLDEBUG
+dyecmd_CXXFLAGS += -DENABLE_STL_DEBUG
+manaplus_CXXFLAGS += -DENABLE_STL_DEBUG -DDEBUG_DUMP_LEAKS
+
+manaplus_SOURCES += debug/mse/msemsevector.h \
+ debug/mse/msemstdvector.h \
+ debug/mse/mseprimitives.h
+dyecmd_SOURCES += debug/mse/msemsevector.h \
+ debug/mse/msemstdvector.h \
+ debug/mse/mseprimitives.h
+endif
+
if MINGW
manaplus_SOURCES += manaplus.rc
dyecmd_SOURCES += manaplus.rc