From b3fb42d3225282bc146847488a74536953a2d726 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Feb 2015 21:19:19 +0300 Subject: Build mailhandler only if eathena enabled. --- src/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index efc993a16..72c23b5a1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -665,7 +665,6 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \ net/ea/inventoryitem.h \ net/logindata.h \ net/loginhandler.h \ - net/mailhandler.h \ net/mercenaryhandler.h \ net/markethandler.h \ net/messagehandler.h \ @@ -1269,8 +1268,6 @@ manaplus_SOURCES += \ net/tmwa/itemhandler.h \ net/tmwa/loginhandler.cpp \ net/tmwa/loginhandler.h \ - net/tmwa/mailhandler.cpp \ - net/tmwa/mailhandler.h \ net/tmwa/markethandler.cpp \ net/tmwa/markethandler.h \ net/tmwa/mercenaryhandler.cpp \ @@ -1325,7 +1322,9 @@ manaplus_SOURCES += net/tmwa/auctionhandler.cpp \ net/tmwa/friendshandler.cpp \ net/tmwa/friendshandler.h \ net/tmwa/homunculushandler.cpp \ - net/tmwa/homunculushandler.h + net/tmwa/homunculushandler.h \ + net/tmwa/mailhandler.cpp \ + net/tmwa/mailhandler.h endif manaplus_CXXFLAGS += -DEATHENA_SUPPORT @@ -1357,6 +1356,7 @@ manaplus_SOURCES += gui/windows/bankwindow.cpp \ net/familyhandler.h \ net/friendshandler.h \ net/homunculushandler.h \ + net/mailhandler.h \ net/eathena/adminhandler.cpp \ net/eathena/adminhandler.h \ net/eathena/auctionhandler.cpp \ -- cgit v1.2.3-70-g09d2