Lines 118-124
Link Here
|
118 |
standalone = optenv['STANDALONE'] |
118 |
standalone = optenv['STANDALONE'] |
119 |
runtests = optenv['RUNTESTS'] |
119 |
runtests = optenv['RUNTESTS'] |
120 |
opensource = standalone or optenv['OPENSOURCE'] |
120 |
opensource = standalone or optenv['OPENSOURCE'] |
121 |
enable_fmod = not opensource and optenv['FMOD'] |
121 |
enable_fmod = optenv['FMOD'] |
122 |
elfio = optenv['ELFIO'] |
122 |
elfio = optenv['ELFIO'] |
123 |
|
123 |
|
124 |
targets = [ target_param ] |
124 |
targets = [ target_param ] |
Lines 141-146
Link Here
|
141 |
'gdk-pixbuf-2.0', |
141 |
'gdk-pixbuf-2.0', |
142 |
'glib-2.0', |
142 |
'glib-2.0', |
143 |
'gmodule-2.0', |
143 |
'gmodule-2.0', |
|
|
144 |
'gthread-2.0', |
144 |
'gtk+-2.0', |
145 |
'gtk+-2.0', |
145 |
'libpng', |
146 |
'libpng', |
146 |
'pango', |
147 |
'pango', |
Lines 161-166
Link Here
|
161 |
'libssl', |
162 |
'libssl', |
162 |
] |
163 |
] |
163 |
|
164 |
|
|
|
165 |
if enable_gstreamer: |
166 |
standalone_pkgs += [ 'gstreamer-0.10' ] |
167 |
|
164 |
def pkgconfig(opt, pkgs=None): |
168 |
def pkgconfig(opt, pkgs=None): |
165 |
if pkgs is None: |
169 |
if pkgs is None: |
166 |
pkgs = standalone_pkgs + standalone_net_pkgs |
170 |
pkgs = standalone_pkgs + standalone_net_pkgs |
Lines 249-255
Link Here
|
249 |
############## |
253 |
############## |
250 |
|
254 |
|
251 |
# Generic GCC flags |
255 |
# Generic GCC flags |
252 |
cflags = '-g -pipe -Wall -Wno-reorder -Wno-trigraphs -Wno-sign-compare -Werror -fexceptions ' |
256 |
cflags = '-g -pipe -Wall -Wno-reorder -Wno-trigraphs -Wno-sign-compare -fexceptions ' |
253 |
cxxflags = '' |
257 |
cxxflags = '' |
254 |
cppflags = '-D_FORTIFY_SOURCE=2 ' |
258 |
cppflags = '-D_FORTIFY_SOURCE=2 ' |
255 |
if standalone: |
259 |
if standalone: |
Lines 297-302
Link Here
|
297 |
'llfreetype2', 'pango-1.0' ] |
301 |
'llfreetype2', 'pango-1.0' ] |
298 |
include_dirs += ['../libraries/' + system_str + '/include/' + d |
302 |
include_dirs += ['../libraries/' + system_str + '/include/' + d |
299 |
for d in incdirs] |
303 |
for d in incdirs] |
|
|
304 |
include_dirs += [d[2:] for d in |
305 |
pkgconfig('--cflags', [ 'gtk+-2.0' ]).split() |
306 |
] |
300 |
|
307 |
|
301 |
if elfio: |
308 |
if elfio: |
302 |
client_external_libs += [ 'ELFIO' ] |
309 |
client_external_libs += [ 'ELFIO' ] |
Lines 613-619
Link Here
|
613 |
net_external_libs = [ 'curl', 'ssl', 'crypto', 'aprutil-1', 'apr-1' ] |
620 |
net_external_libs = [ 'curl', 'ssl', 'crypto', 'aprutil-1', 'apr-1' ] |
614 |
net_external_libs += [ 'cares', 'expat' ] |
621 |
net_external_libs += [ 'cares', 'expat' ] |
615 |
|
622 |
|
616 |
common_external_libs = net_external_libs + [ 'xmlrpc-epi', 'z' ] |
623 |
common_external_libs = net_external_libs + [ 'xmlrpc', 'z' ] |
617 |
|
624 |
|
618 |
if build_target == 'client': |
625 |
if build_target == 'client': |
619 |
if platform == 'linux': |
626 |
if platform == 'linux': |
Lines 755-761
Link Here
|
755 |
internal_libs + external_libs) |
762 |
internal_libs + external_libs) |
756 |
|
763 |
|
757 |
# Rpcserver |
764 |
# Rpcserver |
758 |
external_libs = common_external_libs + ['xmlrpc-epi', 'mysqlclient'] |
765 |
external_libs = common_external_libs + ['xmlrpc', 'mysqlclient'] |
759 |
internal_libs = ['llscene', 'llmessage', 'lldatabase', 'llvfs', |
766 |
internal_libs = ['llscene', 'llmessage', 'lldatabase', 'llvfs', |
760 |
'llmath', 'llcommon'] |
767 |
'llmath', 'llcommon'] |
761 |
create_executable('rpcserver/rpcserver' + file_suffix, 'rpcserver', |
768 |
create_executable('rpcserver/rpcserver' + file_suffix, 'rpcserver', |