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
-ldl
15 RELEASE_LINK_FLAGS
+=-lpthread
-ldl
17 #######################################################
18 # includes & linked libraries
19 #######################################################
23 $(COMMON_ENGINE_INCLUDES
) \
24 $(SHARED_DATABASE_INTERFACE_PATH
)/include/public \
25 $(SESSIONAPI_INCLUDE_PATH
)
27 DEBUG_LINK_LIBRARIES
= \
28 $(COMMON_ENGINE_DEBUG_LIBS
) \
32 RELEASE_LINK_LIBRARIES
= \
33 $(COMMON_ENGINE_RELEASE_LIBS
)
36 DEBUG_SHARED_LIBRARIES
= \
37 $(COMMON_ENGINE_SHARED_DEBUG_LIBS
) \
38 $(SHARED_GAME_DEBUG_LIB
) \
39 $(SKILL_SYSTEM_DEBUG_LIB
) \
40 $(SWG_SHARED_UTILITY_DEBUG_LIB
) \
42 RELEASE_LINK_LIBRARIES
= \
43 $(COMMON_ENGINE_RELEASE_LIBS
)
45 RELEASE_SHARED_LIBRARIES
= \
46 $(COMMON_ENGINE_SHARED_RELEASE_LIBS
)
48 #######################################################
50 # (The makefile for these projects will be
51 # automatically invoked.)
52 #######################################################
54 DEBUG_PROJECT_DEPENDS
= \
55 $(COMMON_ENGINE_DEBUG_DEPENDS
)
57 RELEASE_PROJECT_DEPENDS
= \
58 $(COMMON_ENGINE_RELEASE_DEPENDS
)
60 #######################################################
62 #######################################################
64 SHARED_SRC_LIST
=$(shell find
$$PWD/..
/..
/src
/shared
-name
"*.cpp")
65 PLATFORM_SRC_LIST
=$(shell find
$$PWD/..
/..
/src
/linux
-name
"*.cpp")
66 SRC_LIST
=$(SHARED_SRC_LIST
) $(PLATFORM_SRC_LIST
)
68 #######################################################
70 #######################################################
78 #######################################################
79 # include the common makefile
80 #######################################################
82 include ..
/..
/..
/..
/..
/build
/shared_unix
/application.mak