missing project/build files
[client-tools.git] / src / external / 3rd / library / soePlatform / CTServiceGameAPI / Makefile
blob2576a662e725b403f66342dc9d14516eccba7296
1 TARGET = libCTServiceGameAPI.a
3 OBJS = \
4 Base/Archive.o \
5 Base/linux/Platform.o \
6 TcpLibrary/Clock.o \
7 TcpLibrary/IPAddress.o \
8 TcpLibrary/TcpBlockAllocator.o \
9 TcpLibrary/TcpConnection.o \
10 TcpLibrary/TcpManager.o \
11 Unicode/FirstUnicode.o \
12 Unicode/Unicode.o \
13 Unicode/UnicodeBlocks.o \
14 Unicode/UnicodeCharacterData.o \
15 Unicode/UnicodeCharacterDataMap.o \
16 Unicode/UnicodeUtils.o \
17 CTCommon/CTServiceCharacter.o \
18 CTCommon/CTServiceServer.o \
19 CTGenericAPI/GenericApiCore.o \
20 CTGenericAPI/GenericConnection.o \
21 CTGenericAPI/GenericMessage.o \
22 CTServiceAPI.o \
23 CTServiceAPICore.o \
24 Request.o \
25 Response.o
27 INCLUDE_DIRS = . ../../stlport453/stlport
28 CFLAGS_USER=-DEXTERNAL_DISTRO -DNAMESPACE=CTService -DUSE_TCP_LIBRARY
30 # # # # # # # # # # # # # # # # # # # # #
32 EMPTY_CHAR=
33 SPACE_CHAR=$(empty) $(empty)
34 COLON_CHAR=:
36 # # # # # # # # # # # # # # # # # # # # #
38 INCLUDE_DIR_LIST=$(subst $(COLON_CHAR),$(SPACE_CHAR),$(INCLUDE_PATH)) $(INCLUDE_DIRS)
39 INCLUDE_FLAGS=$(addprefix -I,$(INCLUDE_DIR_LIST))
40 CFLAGS_DEBUG=$(INCLUDE_FLAGS) -D_DEBUG -g
41 CFLAGS_RELEASE=$(INCLUDE_FLAGS) -DNDEBUG -O2
42 #CFLAGS=$(CFLAGS_DEBUG) $(CFLAGS_USER) -D_GNU_SOURCE -Wall -Wno-unknown-pragmas
43 CFLAGS=$(CFLAGS_RELEASE) -D_GNU_SOURCE -Wall -Wno-unknown-pragmas
45 .SUFFIXES: .cpp .c
47 all: clean $(TARGET)
49 $(TARGET): $(OBJS)
50 ld -r $(OBJS) -o $(TARGET)
52 clean:
53 rm -f $(TARGET)
54 rm -f $(OBJS)
56 .cpp.o:
57 g++ $(CFLAGS) -c $< -o $*.o
59 .c.o:
60 gcc $(CFLAGS) -c $< -o $*.o