1 DEBUG_PLATFORM_CPP_FLAGS
=-DLINUX
-D_REENTRANT
-D_XOPEN_SOUCE
=500 -D_GNU_SOURCE
$(PERSONAL_FLAGS
)
2 RELEASE_PLATFORM_CPP_FLAGS
=-DLINUX
-D_REENTRANT
-D_XOPEN_SOUCE
=500 -D_GNU_SOURCE
$(PERSONAL_FLAGS
)
4 include ..
/..
/..
/..
/..
/build
/linux
/platformDefs.mak
5 include ..
/..
/..
/..
/..
/build
/shared_unix
/defs.mak
10 #######################################################
12 #######################################################
14 DEBUG_LINK_FLAGS
+=-lpthread
15 RELEASE_LINK_FLAGS
+=-lpthread
17 #######################################################
18 # includes & linked libraries
19 #######################################################
24 $(COMMON_ENGINE_INCLUDES
) \
25 $(SHARED_DATABASE_INTERFACE_INCLUDE_PATH
) \
26 $(SESSIONAPI_INCLUDE_PATH
) \
27 ..
/..
/..
/..
/..
/..
/external
/3rd
/library
/platform \
28 ..
/..
/..
/..
/..
/..
/external
/3rd
/library
/udplibrary
30 DEBUG_LINK_LIBRARIES
= \
31 $(COMMON_ENGINE_DEBUG_LIBS
) \
36 DEBUG_SHARED_LIBRARIES
= \
37 $(SHARED_DATABASE_INTERFACE_DEBUG_LIB
) \
38 $(ORACLE_CLIENT_LIB
) \
39 $(COMMON_ENGINE_SHARED_DEBUG_LIBS
) \
40 $(SHARED_GAME_DEBUG_LIB
) \
41 $(SKILL_SYSTEM_DEBUG_LIB
) \
42 $(SWG_SHARED_UTILITY_DEBUG_LIB
) \
44 RELEASE_LINK_LIBRARIES
= \
45 $(COMMON_ENGINE_RELEASE_LIBS
) \
46 $(SHARED_DATABASE_INTERFACE_RELEASE_LIB
) \
47 $(SESSIONAPI_PATH
)/lib
/release
/libLoginAPI.a \
48 $(SESSIONAPI_PATH
)/lib
/release
/libCommonAPI.a \
49 $(SESSIONAPI_PATH
)/lib
/release
/libBase.a \
50 ..
/..
/..
/..
/..
/..
/external
/3rd
/library
/platform
/MonAPI2
/lib
/libmonapi.a
52 RELEASE_SHARED_LIBRARIES
= \
53 $(COMMON_ENGINE_SHARED_RELEASE_LIBS
) \
54 $(ORACLE_HOME
)/lib
/libclntsh.so
56 #######################################################
58 # (The makefile for these projects will be
59 # automatically invoked.)
60 #######################################################
62 DEBUG_PROJECT_DEPENDS
= \
63 $(COMMON_ENGINE_DEBUG_DEPENDS
)
65 RELEASE_PROJECT_DEPENDS
= \
66 $(COMMON_ENGINE_RELEASE_DEPENDS
)
68 #######################################################
70 #######################################################
72 SHARED_SRC_LIST
=$(shell find
$$PWD/..
/..
/src
/shared
-name
"*.cpp")
73 PLATFORM_SRC_LIST
=$(shell find
$$PWD/..
/..
/src
/linux
-name
"*.cpp")
74 SRC_LIST
=$(SHARED_SRC_LIST
) $(PLATFORM_SRC_LIST
)
76 #######################################################
78 #######################################################
86 #######################################################
87 # include the common makefile
88 #######################################################
90 include ..
/..
/..
/..
/..
/build
/shared_unix
/application.mak