Lines 182-194
Link Here
|
182 |
if build_target == 'client': |
182 |
if build_target == 'client': |
183 |
flags += '-DAPPID=secondlife -DLL_SDL=1 -DLL_X11=1 ' |
183 |
flags += '-DAPPID=secondlife -DLL_SDL=1 -DLL_X11=1 ' |
184 |
flags += '-DLL_GTK=1 ' |
184 |
flags += '-DLL_GTK=1 ' |
185 |
client_external_libs += [ 'gtk-x11-2.0', 'elfio' ] |
185 |
client_external_libs += [ 'gtk-x11-2.0', 'ELFIO' ] |
186 |
include_dirs += [ '../libraries/' + system_str + '/include/gtk-2.0' ] |
186 |
include_dirs += [ '../libraries/' + system_str + '/include/gtk-2.0' ] |
187 |
include_dirs += [ '../libraries/' + system_str + '/include/glib-2.0'] |
187 |
include_dirs += [ '../libraries/' + system_str + '/include/glib-2.0'] |
188 |
include_dirs += [ '../libraries/' + system_str + '/include/pango-1.0' ] |
188 |
include_dirs += [ '../libraries/' + system_str + '/include/pango-1.0' ] |
189 |
include_dirs += [ '../libraries/' + system_str + '/include/atk-1.0' ] |
189 |
include_dirs += [ '../libraries/' + system_str + '/include/atk-1.0' ] |
190 |
include_dirs += [ '../libraries/' + system_str + '/include/ELFIO' ] |
190 |
include_dirs += [ '../libraries/' + system_str + '/include/ELFIO' ] |
191 |
include_dirs += [ '../libraries/' + system_str + '/include/llfreetype2' ] |
191 |
include_dirs += [ '../libraries/' + system_str + '/include/llfreetype2' ] |
|
|
192 |
pipe = os.popen('pkg-config gtk+-2.0 --cflags') |
193 |
flags += pipe.read().rstrip('\n') + ' ' |
194 |
pipe.close() |
195 |
pipe = os.popen('freetype-config --cflags') |
196 |
flags += pipe.read().rstrip('\n') + ' ' |
197 |
pipe.close() |
192 |
else: |
198 |
else: |
193 |
# Mac-only flags |
199 |
# Mac-only flags |
194 |
flags += '-x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -faltivec -fasm-blocks -g -O2 -fmessage-length=0 -mtune=G4 -Wno-deprecated-declarations -Wno-invalid-offsetof -mmacosx-version-min=10.3 -DLL_DARWIN=1 -Wmost -Wno-sign-compare -Wno-switch -fpch-preprocess -F./newview/build/Deployment -fconstant-cfstrings -ffor-scope -Wno-reorder -isysroot /Developer/SDKs/MacOSX10.3.9.sdk ' |
200 |
flags += '-x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -faltivec -fasm-blocks -g -O2 -fmessage-length=0 -mtune=G4 -Wno-deprecated-declarations -Wno-invalid-offsetof -mmacosx-version-min=10.3 -DLL_DARWIN=1 -Wmost -Wno-sign-compare -Wno-switch -fpch-preprocess -F./newview/build/Deployment -fconstant-cfstrings -ffor-scope -Wno-reorder -isysroot /Developer/SDKs/MacOSX10.3.9.sdk ' |
Lines 196-202
Link Here
|
196 |
### Build type-specific flags ### |
202 |
### Build type-specific flags ### |
197 |
|
203 |
|
198 |
debug_opts = flags + '-fno-inline -O0 -D_DEBUG -DLL_DEBUG=1 ' |
204 |
debug_opts = flags + '-fno-inline -O0 -D_DEBUG -DLL_DEBUG=1 ' |
199 |
release_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 ' |
205 |
release_opts = flags + '-DNDEBUG -DLL_RELEASE=1 ' |
200 |
releasenoopt_opts = flags + '-O0 -DNDEBUG -DLL_RELEASE=1 ' |
206 |
releasenoopt_opts = flags + '-O0 -DNDEBUG -DLL_RELEASE=1 ' |
201 |
releasefordownload_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 ' |
207 |
releasefordownload_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 ' |
202 |
|
208 |
|