diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-16 22:51:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-16 22:51:57 +0300 |
commit | 319ad7846b8db6194429a6a35103d2ae008218c6 (patch) | |
tree | dd80771ba3c490ff20447a288ea06d4a9f57b8b1 /src | |
parent | 940e0bbafc298553fba585e2604e9c1d0c5d37c7 (diff) | |
download | manaverse-319ad7846b8db6194429a6a35103d2ae008218c6.tar.gz manaverse-319ad7846b8db6194429a6a35103d2ae008218c6.tar.bz2 manaverse-319ad7846b8db6194429a6a35103d2ae008218c6.tar.xz manaverse-319ad7846b8db6194429a6a35103d2ae008218c6.zip |
Build shoprenamelistener only if eathena support enabled.
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/listeners/shoprenamelistener.h | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3d598636e..886cc620e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1124,8 +1124,6 @@ SET(SRCS gui/rect.h events/selectionevent.h listeners/selectionlistener.h - listeners/shoprenamelistener.cpp - listeners/shoprenamelistener.h listeners/statlistener.cpp listeners/statlistener.h listeners/tablemodellistener.h @@ -1414,6 +1412,8 @@ SET(SRCS_EATHENA listeners/buyingstoreslotslistener.h listeners/pincodelistener.cpp listeners/pincodelistener.h + listeners/shoprenamelistener.cpp + listeners/shoprenamelistener.h net/eathena/adminhandler.cpp net/eathena/adminhandler.h net/eathena/auctionhandler.cpp diff --git a/src/Makefile.am b/src/Makefile.am index 73c5e4bba..80c191839 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -212,8 +212,6 @@ manaplus_SOURCES += events/actionevent.h \ gui/rect.h \ events/selectionevent.h \ listeners/selectionlistener.h \ - listeners/shoprenamelistener.cpp \ - listeners/shoprenamelistener.h \ listeners/statlistener.cpp \ listeners/statlistener.h \ listeners/tablemodellistener.h \ @@ -1350,6 +1348,8 @@ manaplus_SOURCES += gui/windows/bankwindow.cpp \ listeners/buyingstoreslotslistener.h \ listeners/pincodelistener.cpp \ listeners/pincodelistener.h \ + listeners/shoprenamelistener.cpp \ + listeners/shoprenamelistener.h \ net/eathena/adminhandler.cpp \ net/eathena/adminhandler.h \ net/eathena/auctionhandler.cpp \ diff --git a/src/listeners/shoprenamelistener.h b/src/listeners/shoprenamelistener.h index 4cafe9d0b..5b6ca3387 100644 --- a/src/listeners/shoprenamelistener.h +++ b/src/listeners/shoprenamelistener.h @@ -21,6 +21,8 @@ #ifndef LISTENERS_SHOPRENAMELISTENER_H #define LISTENERS_SHOPRENAMELISTENER_H +#ifdef EATHENA_SUPPORT + #include "listeners/actionlistener.h" #include "localconsts.h" @@ -45,4 +47,5 @@ class ShopRenameListener final : public ActionListener extern ShopRenameListener shopRenameListener; +#endif // EATHENA_SUPPORT #endif // LISTENERS_SHOPRENAMELISTENER_H |