-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJamconfig
147 lines (131 loc) · 5.29 KB
/
Jamconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
CMD.CC ?= gcc ;
COMPILER.C.TYPE ?= GCC ;
COMPILER.TYPE = GCC ;
COMPILER.C.VERSION ?= 4.3.2 ;
COMPILER.VERSION = 4.3.2 ;
COMPILER.C.VERSION_LIST ?= 4 3 2 ;
COMPILER.VERSION_LIST = 4 3 2 ;
COMPILER.CFLAGS += -pipe ;
CMD.C++ ?= g++ ;
COMPILER.C++.TYPE ?= GCC ;
COMPILER.TYPE = GCC ;
COMPILER.C++.VERSION ?= 4.3.2 ;
COMPILER.VERSION = 4.3.2 ;
COMPILER.C++.VERSION_LIST ?= 4 3 2 ;
COMPILER.VERSION_LIST = 4 3 2 ;
COMPILER.C++FLAGS.PIC ?= -fPIC ;
CMD.LINK ?= $(CMD.C++) ;
CMD.LD ?= ld ;
PLUGIN.LFLAGS += -shared ;
PLUGIN.LFLAGS.USE_SONAME ?= yes ;
LINKER.RESPONSEFILES ?= yes ;
CMD.LINK += -Wl,--as-needed ;
LINK.GC_SECTIONS ?= -Wl,--gc-sections ;
RANLIB = ranlib ;
CMD.STRINGS ?= strings ;
CMD.OBJCOPY ?= objcopy ;
LIBTOOL ?= /usr/bin/libtool ;
CMD.MKDIR ?= mkdir ;
CMD.MKDIRS ?= mkdir -p ;
INSTALL ?= install ;
LN_S ?= ln -s ;
TARGET.PROCESSOR ?= X86 ;
TARGET.OS ?= UNIX ;
TARGET.OS.NORMALIZED ?= Unix ;
TARGET.PROCESSORSIZE ?= 64 ;
COMPILER.CFLAGS.debug += -Wall ;
COMPILER.CFLAGS += -march=k8 ;
LINK.DEBUG.INFO.SEPARATE ?= yes ;
COMPILER.CFLAGS.debug += -g3 ;
COMPILER.LFLAGS.debug += -g3 ;
COMPILER.CFLAGS.optimize += -g2 ;
COMPILER.LFLAGS.optimize += -g2 ;
COMPILER.CFLAGS.optimize += -O3 ;
COMPILER.CFLAGS.optimize += -fomit-frame-pointer ;
COMPILER.CFLAGS.optimize += -ffast-math ;
COMPILER.C++FLAGS += -fvisibility-inlines-hidden ;
COMPILER.CFLAGS += -fvisibility=hidden ;
COMPILER.CFLAGS.VISIBILITY_DEFAULT ?= -fvisibility=default ;
# set this to debug or optimize depending on whether or not you configured PlaneShift with debug or not
PS.BUILD.TYPE ?= optimize ;
# set the version of the Crystal Space library.
CS.VERSION ?= 2.1 ;
CRYSTAL.AVAILABLE ?= yes ;
CRYSTAL.VERSION ?= 1.4 ;
CRYSTAL.CFLAGS ?= -I$(CRYSTAL.DIR)/include ;
CRYSTAL.LFLAGS ?= -L$(CRYSTAL.DIR)/out/linux/optimize/libs -lcrystalspace-$(CS.VERSION) -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
CRYSTAL.INCLUDE_DIR ?= $(CRYSTAL.DIR)/include ;
CRYSTAL.AVAILABLE_LIBS ?= crystalspace crystalspace_opengl ;
CRYSTAL.STATICDEPS ?= $(CRYSTAL.DIR)/pace/out/linux/optimize/libs/crystalspace_staticplugins.jam ;
CAL3D.AVAILABLE ?= yes ;
CAL3D.CFLAGS ?= -I$(CAL3D.DIR)/src ;
CAL3D.LFLAGS ?= -L$(CAL3D.DIR)/src/cal3d/.libs -lcal3d -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
CAL3D.INCLUDE_DIR ?= $(CAL3D.DIR)/src ;
PS.VERSION ?= 0.5 ;
PS.INCLUDES ?= -I$(PS.DIR)/include -I$(PS.DIR)/src/client -I$(PS.DIR)/src/common -I$(PS.DIR)/src/eedit -I$(PS.DIR)/src/npcclient -I$(PS.DIR)/src/pslaunch -I$(PS.DIR)/src/server -I$(PS.DIR)/src/setup -I$(PS.DIR)/src/tools ;
PS.LIB_DIR ?= $(PS.DIR)/out/linux/$(PS.BUILD.TYPE)/libs ;
PSENGINE.AVAILABLE ?= yes ;
PSENGINE.CFLAGS ?= $(PS.INCLUDES) ;
PSENGINE.LFLAGS ?= -L$(PS.LIB_DIR) -lpsengine-$(PS.VERSION) -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
PSNET.AVAILABLE ?= yes ;
PSNET.CFLAGS ?= $(PS.INCLUDES) ;
PSNET.LFLAGS ?= -L$(PS.LIB_DIR) -lpsnet-$(PS.VERSION) -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
PSUTIL.AVAILABLE ?= yes ;
PSUTIL.CFLAGS ?= $(PS.INCLUDES) ;
PSUTIL.LFLAGS ?= -L$(PS.LIB_DIR) -lpsutil-$(PS.VERSION) -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
PSPAWS.AVAILABLE ?= yes ;
PSPAWS.CFLAGS ?= $(PS.INCLUDES) ;
PSPAWS.LFLAGS ?= -L$(PS.LIB_DIR) -lpaws-$(PS.VERSION) -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
PSGUI.AVAILABLE ?= yes ;
PSGUI.CFLAGS ?= $(PS.INCLUDES) ;
PSGUI.LFLAGS ?= -L$(PS.LIB_DIR) -lgui-$(PS.VERSION) -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
PS_ALL.AVAILABLE ?= yes ;
PS_ALL.CFLAGS ?= $(PS.INCLUDES) ;
PS_ALL.LFLAGS ?= -L$(PS.LIB_DIR) -lgui-$(PS.VERSION) -lpsengine-$(PS.VERSION) -lpsnet-$(PS.VERSION) -lpsutil-$(PS.VERSION) -lpaws-$(PS.VERSION) -lpsrpgrules-$(PS.VERSION) -leffects-$(PS.VERSION) -lfparser-$(PS.VERSION) -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
# removed libs -lbulkobjects-$(PS.VERSION)
GTEST.AVAILABLE ?= yes ;
GTEST.CFLAGS ?= -I$(GTEST.DIR)/include ;
GTEST.LFLAGS ?= -L$(GTEST.DIR)/lib -lgtest ;
GTEST.INCLUDE_DIR ?= $(GTEST.DIR)/include ;
XML_LIBS.AVAILABLE ?= yes ;
XML_LIBS.CFLAGS ?= -I/usr/include ;
XML_LIBS.LFLAGS ?= -L/usr/lib -lxerces-c ;
XML_LIBS.INCLUDE_DIR ?= /usr/include ;
LIBMYSQLCLIENT.AVAILABLE ?= yes ;
LIBMYSQLCLIENT.CFLAGS ?= -I/usr/include/mysql ;
LIBMYSQLCLIENT.LFLAGS ?= -L/usr/lib -lmysqlclient ;
TTREE ?= /usr/bin/ttree ;
EMBED_META ?= yes ;
OBJCOPY.AVAILABLE ?= yes ;
CMD.OBJCOPY ?= objcopy ;
ELF.AVAILABLE ?= yes ;
COMPILER.CFLAGS += $(EMBED_META.CFLAGS) ;
COMPILER.LFLAGS += $(EMBED_META.LFLAGS) ;
MEMORY_TRACKER ?= no ;
REF_TRACKER ?= no ;
MODE ?= optimize ;
prefix ?= /usr/local/planeshift ;
exec_prefix ?= $(prefix) ;
bindir ?= $(exec_prefix)/bin ;
sbindir ?= $(exec_prefix)/sbin ;
libexecdir ?= $(exec_prefix)/libexec ;
datarootdir ?= $(prefix)/share ;
datadir ?= $(datarootdir) ;
sysconfdir ?= $(prefix)/etc ;
sharedstatedir ?= $(prefix)/com ;
localstatedir ?= $(prefix)/var ;
libdir ?= $(exec_prefix)/lib ;
includedir ?= $(prefix)/include ;
oldincludedir ?= /usr/include ;
infodir ?= $(datarootdir)/info ;
mandir ?= $(datarootdir)/man ;
PACKAGE_NAME ?= "PSAI" ;
PACKAGE_VERSION ?= "0.1.0" ;
PACKAGE_STRING ?= "PSAI 0.1.0" ;
PACKAGE_BUGREPORT ?= "[email protected]" ;
PACKAGE_LONGNAME ?= "PSAI: An advanced AI player character for PlaneShift" ;
PACKAGE_HOMEPAGE ?= "http://www.planeshift.it" ;
PACKAGE_COPYRIGHT ?= "Copyright (C)2008 by RandomCoder" ;
PACKAGE_VERSION_LIST += "0" ;
PACKAGE_VERSION_LIST += "1" ;
PACKAGE_VERSION_LIST += "0" ;