summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt77
1 files changed, 5 insertions, 72 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 169f8babf..ef635351a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -22,10 +22,6 @@ IF (ENABLE_NLS)
SET(FLAGS "${FLAGS} -DENABLE_NLS=1")
ENDIF()
-IF (ENABLE_MANASERV)
- SET(FLAGS "${FLAGS} -DMANASERV_SUPPORT=1")
-ENDIF()
-
IF (ENABLE_EATHENA)
SET(FLAGS "${FLAGS} -DEATHENA_SUPPORT=1")
ENDIF()
@@ -879,61 +875,6 @@ SET(SRCS_EATHENA
net/eathena/tradehandler.h
)
-SET(SRCS_MANASERV
- net/manaserv/attributes.cpp
- net/manaserv/attributes.h
- net/manaserv/adminhandler.cpp
- net/manaserv/adminhandler.h
- net/manaserv/beinghandler.cpp
- net/manaserv/beinghandler.h
- net/manaserv/buysellhandler.cpp
- net/manaserv/buysellhandler.h
- net/manaserv/charhandler.cpp
- net/manaserv/charhandler.h
- net/manaserv/chathandler.cpp
- net/manaserv/chathandler.h
- net/manaserv/connection.cpp
- net/manaserv/connection.h
- net/manaserv/defines.h
- net/manaserv/effecthandler.cpp
- net/manaserv/effecthandler.h
- net/manaserv/gamehandler.cpp
- net/manaserv/gamehandler.h
- net/manaserv/generalhandler.cpp
- net/manaserv/generalhandler.h
- net/manaserv/guildhandler.cpp
- net/manaserv/guildhandler.h
- net/manaserv/internal.cpp
- net/manaserv/internal.h
- net/manaserv/inventoryhandler.cpp
- net/manaserv/inventoryhandler.h
- net/manaserv/itemhandler.h
- net/manaserv/itemhandler.cpp
- net/manaserv/loginhandler.cpp
- net/manaserv/loginhandler.h
- net/manaserv/messagehandler.cpp
- net/manaserv/messagehandler.h
- net/manaserv/messagein.cpp
- net/manaserv/messagein.h
- net/manaserv/messageout.cpp
- net/manaserv/messageout.h
- net/manaserv/network.cpp
- net/manaserv/network.h
- net/manaserv/npchandler.cpp
- net/manaserv/npchandler.h
- net/manaserv/partyhandler.cpp
- net/manaserv/partyhandler.h
- net/manaserv/playerhandler.cpp
- net/manaserv/playerhandler.h
- net/manaserv/protocol.h
- net/manaserv/specialhandler.cpp
- net/manaserv/specialhandler.h
- net/manaserv/tradehandler.cpp
- net/manaserv/tradehandler.h
- resources/specialdb.cpp
- resources/specialdb.h
- )
-
IF (WIN32)
SET(SRCS
${SRCS}
@@ -945,19 +886,11 @@ ENDIF ()
SET (PROGRAMS manaplus)
-IF (ENABLE_MANASERV)
- IF (ENABLE_EATHENA)
- ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_MANASERV} ${SRCS_EATHENA} ${SRCS_TMWA} ${SRCS_EVOL})
- ELSE(ENABLE_EATHENA)
- ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_MANASERV} ${SRCS_TMWA} ${SRCS_EVOL})
- ENDIF(ENABLE_EATHENA)
-ELSE(ENABLE_MANASERV)
- IF (ENABLE_EATHENA)
- ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_EATHENA} ${SRCS_TMWA} ${SRCS_EVOL})
- ELSE(ENABLE_EATHENA)
- ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_TMWA} ${SRCS_EVOL})
- ENDIF(ENABLE_EATHENA)
-ENDIF(ENABLE_MANASERV)
+IF (ENABLE_EATHENA)
+ ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_EATHENA} ${SRCS_TMWA} ${SRCS_EVOL})
+ELSE(ENABLE_EATHENA)
+ ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_TMWA} ${SRCS_EVOL})
+ENDIF(ENABLE_EATHENA)
TARGET_LINK_LIBRARIES(manaplus
${SDLGFX_LIBRARIES}