diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-14 16:51:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-14 16:51:36 +0300 |
commit | da98d12637db106b87341560cc72ca6207b2d12f (patch) | |
tree | c79f1c3389f38ec878fc2dfc4729839242e2e81c /src/Makefile.am | |
parent | 8a616021cbefff5f62b0ca55cf535130c8c1b5f0 (diff) | |
download | manaplus-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.am | 11 |
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 |