summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 16:51:36 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 16:51:36 +0300
commitda98d12637db106b87341560cc72ca6207b2d12f (patch)
treec79f1c3389f38ec878fc2dfc4729839242e2e81c /src/Makefile.am
parent8a616021cbefff5f62b0ca55cf535130c8c1b5f0 (diff)
downloadmanaplus-da98d12637db106b87341560cc72ca6207b2d12f.tar.gz
manaplus-da98d12637db106b87341560cc72ca6207b2d12f.tar.bz2
manaplus-da98d12637db106b87341560cc72ca6207b2d12f.tar.xz
manaplus-da98d12637db106b87341560cc72ca6207b2d12f.zip
Add configure and cmake option to enable/disable compilation for tmwa/evol.
Tmwa/evol by default enabled.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 993d1ab63..38cf3310a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1156,9 +1156,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
vector.h \
resources/map/walklayer.cpp \
resources/map/walklayer.h \
- winver.h
-
-manaplus_SOURCES += \
+ winver.h \
net/ea/gui/guildtab.cpp \
net/ea/gui/guildtab.h \
net/ea/gui/partytab.cpp \
@@ -1197,7 +1195,11 @@ manaplus_SOURCES += \
net/ea/skillhandler.h \
net/ea/token.h \
net/ea/tradehandler.cpp \
- net/ea/tradehandler.h \
+ net/ea/tradehandler.h
+
+if ENABLE_TMWA
+manaplus_CXXFLAGS += -DTMWA_SUPPORT
+manaplus_SOURCES += \
net/tmwa/adminhandler.cpp \
net/tmwa/adminhandler.h \
net/tmwa/attrs.h \
@@ -1250,6 +1252,7 @@ manaplus_SOURCES += \
net/tmwa/sprite.h \
net/tmwa/tradehandler.cpp \
net/tmwa/tradehandler.h
+endif
if ENABLE_EATHENA
manaplus_CXXFLAGS += -DEATHENA_SUPPORT