diff options
author | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
commit | 2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch) | |
tree | 95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/SConstruct | |
parent | Second Life viewer sources 1.20.6 (diff) | |
download | meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2 meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz |
Second Life viewer sources 1.20.7
Diffstat (limited to 'linden/indra/SConstruct')
-rw-r--r-- | linden/indra/SConstruct | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/linden/indra/SConstruct b/linden/indra/SConstruct index 137b1e0..629656f 100644 --- a/linden/indra/SConstruct +++ b/linden/indra/SConstruct | |||
@@ -136,11 +136,13 @@ if standalone and platform != 'linux': | |||
136 | standalone_pkgs = [ | 136 | standalone_pkgs = [ |
137 | 'atk', | 137 | 'atk', |
138 | 'cairo', | 138 | 'cairo', |
139 | 'fontconfig', | ||
139 | 'freetype2', | 140 | 'freetype2', |
140 | 'gdk-2.0', | 141 | 'gdk-2.0', |
141 | 'gdk-pixbuf-2.0', | 142 | 'gdk-pixbuf-2.0', |
142 | 'glib-2.0', | 143 | 'glib-2.0', |
143 | 'gmodule-2.0', | 144 | 'gmodule-2.0', |
145 | 'gthread-2.0', | ||
144 | 'gtk+-2.0', | 146 | 'gtk+-2.0', |
145 | 'libpng', | 147 | 'libpng', |
146 | 'pango', | 148 | 'pango', |
@@ -303,7 +305,7 @@ for build_target in targets: | |||
303 | pkgconfig('--cflags-only-I').split()] | 305 | pkgconfig('--cflags-only-I').split()] |
304 | client_external_libs += [ 'boost_program_options-gcc34-mt', 'boost_signals-gcc34-mt', 'boost_regex-gcc34-mt'] | 306 | client_external_libs += [ 'boost_program_options-gcc34-mt', 'boost_signals-gcc34-mt', 'boost_regex-gcc34-mt'] |
305 | else: | 307 | else: |
306 | client_external_libs += [ 'gtk-x11-2.0', 'atk-1.0', 'gmodule-2.0', 'gdk-x11-2.0', 'gdk_pixbuf-2.0', 'pango-1.0', 'pangoft2-1.0', 'pangox-1.0', 'pangoxft-1.0', 'Xinerama', 'boost_program_options-gcc34-mt', 'boost_signals-gcc34-mt', 'boost_regex-gcc34-mt'] | 308 | client_external_libs += [ 'fontconfig', 'gtk-x11-2.0', 'atk-1.0', 'gmodule-2.0', 'gdk-x11-2.0', 'gdk_pixbuf-2.0', 'pango-1.0', 'pangoft2-1.0', 'pangox-1.0', 'pangoxft-1.0', 'Xinerama', 'boost_program_options-gcc34-mt', 'boost_signals-gcc34-mt', 'boost_regex-gcc34-mt' ] |
307 | incdirs = [ 'ELFIO', 'atk-1.0', 'glib-2.0', 'gtk-2.0', | 309 | incdirs = [ 'ELFIO', 'atk-1.0', 'glib-2.0', 'gtk-2.0', |
308 | 'llfreetype2', 'pango-1.0' ] | 310 | 'llfreetype2', 'pango-1.0' ] |
309 | include_dirs += ['../libraries/' + system_str + '/include/' + d | 311 | include_dirs += ['../libraries/' + system_str + '/include/' + d |
@@ -408,7 +410,7 @@ for build_target in targets: | |||
408 | 410 | ||
409 | base_env = Environment(CXX = compiler, | 411 | base_env = Environment(CXX = compiler, |
410 | CPPPATH = include_dirs, | 412 | CPPPATH = include_dirs, |
411 | LIBPATH = [lib_dir] + [system_lib_dir] + [havok_lib_dir], | 413 | LIBPATH = lib_path + [havok_lib_dir], |
412 | LINKFLAGS = system_link_flags + '--no-keep-memory --reduce-memory-overheads ' ) | 414 | LINKFLAGS = system_link_flags + '--no-keep-memory --reduce-memory-overheads ' ) |
413 | 415 | ||
414 | ### Environments for various build types ### | 416 | ### Environments for various build types ### |
@@ -474,7 +476,6 @@ for build_target in targets: | |||
474 | env['ENV']['DISTCC_HOSTS'] = hosts | 476 | env['ENV']['DISTCC_HOSTS'] = hosts |
475 | env['ENV']['USER'] = os.environ['USER'] | 477 | env['ENV']['USER'] = os.environ['USER'] |
476 | env['ENV']['HOME'] = os.environ['HOME'] | 478 | env['ENV']['HOME'] = os.environ['HOME'] |
477 | env['ENV']['SSH_AUTH_SOCK'] = os.environ['SSH_AUTH_SOCK'] | ||
478 | 479 | ||
479 | if enable_colorgcc: | 480 | if enable_colorgcc: |
480 | env['ENV']['PATH'] = os.environ['PATH'] | 481 | env['ENV']['PATH'] = os.environ['PATH'] |
@@ -733,6 +734,11 @@ for build_target in targets: | |||
733 | file_suffix = '' | 734 | file_suffix = '' |
734 | if buildtype == 'debug' or buildtype == 'havok1debug': | 735 | if buildtype == 'debug' or buildtype == 'havok1debug': |
735 | file_suffix = '_debug' | 736 | file_suffix = '_debug' |
737 | boost_signals_lib = 'boost_signals-gcc33-mt-d' | ||
738 | boost_libs = [ 'boost_regex-gcc33-mt-d', boost_signals_lib ] | ||
739 | else: | ||
740 | boost_signals_lib = 'boost_signals-gcc33-mt' | ||
741 | boost_libs = [ 'boost_regex-gcc33-mt', boost_signals_lib ] | ||
736 | 742 | ||
737 | common_external_libs += [ 'pthread' ] | 743 | common_external_libs += [ 'pthread' ] |
738 | 744 | ||
@@ -759,8 +765,8 @@ for build_target in targets: | |||
759 | internal_libs + external_libs) | 765 | internal_libs + external_libs) |
760 | 766 | ||
761 | # Dataserver | 767 | # Dataserver |
762 | external_libs = common_external_libs + [ | 768 | external_libs = common_external_libs + boost_libs + [ |
763 | 'boost_regex-gcc33-mt', 'boost_signals-gcc33-mt', 'mysqlclient', 'tcmalloc', 'stacktrace', | 769 | 'mysqlclient', 'tcmalloc', 'stacktrace', |
764 | ] | 770 | ] |
765 | internal_libs = [ 'llcharacter', 'lldatabase', 'llimage', 'llimagej2coj', 'llinventory', | 771 | internal_libs = [ 'llcharacter', 'lldatabase', 'llimage', 'llimagej2coj', 'llinventory', |
766 | 'llscene', 'llmessage', 'llvfs', 'llxml', 'llcommon', 'llmath' ] | 772 | 'llscene', 'llmessage', 'llvfs', 'llxml', 'llcommon', 'llmath' ] |
@@ -782,9 +788,8 @@ for build_target in targets: | |||
782 | internal_libs + external_libs) | 788 | internal_libs + external_libs) |
783 | 789 | ||
784 | # Mapserver | 790 | # Mapserver |
785 | external_libs = common_external_libs + ['OSMesa16', 'kdu', | 791 | external_libs = common_external_libs + [ 'OSMesa16', 'kdu' ] + boost_libs + [ |
786 | 'boost_regex-gcc33-mt', 'boost_signals-gcc33-mt', 'iconv', | 792 | 'iconv', 'jpeg', 'openjpeg', 'GL', 'mysqlclient', 'png12', 'pthread', 'dl' ] |
787 | 'jpeg', 'openjpeg', 'GL', 'mysqlclient', 'png12', 'pthread', 'dl'] | ||
788 | internal_libs = ['llrender', 'llwindow', 'llimage', 'llimagej2coj', 'lldatabase', 'llprimitive', 'llmessage', 'llkdustatic', | 793 | internal_libs = ['llrender', 'llwindow', 'llimage', 'llimagej2coj', 'lldatabase', 'llprimitive', 'llmessage', 'llkdustatic', |
789 | 'llxml', 'llvfs', 'llmath', 'llcommon'] | 794 | 'llxml', 'llvfs', 'llmath', 'llcommon'] |
790 | create_executable('mapserver/mapserver' + file_suffix, 'mapserver', | 795 | create_executable('mapserver/mapserver' + file_suffix, 'mapserver', |
@@ -792,8 +797,9 @@ for build_target in targets: | |||
792 | 797 | ||
793 | # Simulator | 798 | # Simulator |
794 | Depends('newsim/simulator' + file_suffix, 'mapserver/mapserver' + file_suffix) | 799 | Depends('newsim/simulator' + file_suffix, 'mapserver/mapserver' + file_suffix) |
795 | external_libs = common_external_libs + ['boost_regex-gcc33-mt', 'boost_signals-gcc33-mt', 'openjpeg', 'dl', 'kdu', | 800 | external_libs = common_external_libs + boost_libs + [ |
796 | 'mysqlclient', 'iconv', 'tcmalloc', 'stacktrace', 'png12'] | 801 | 'openjpeg', 'dl', 'kdu', 'mysqlclient', 'iconv', 'tcmalloc', 'stacktrace', 'png12', |
802 | ] | ||
797 | 803 | ||
798 | # the order of the havok libs matters | 804 | # the order of the havok libs matters |
799 | external_libs += [ | 805 | external_libs += [ |
@@ -822,7 +828,7 @@ for build_target in targets: | |||
822 | internal_libs + external_libs) | 828 | internal_libs + external_libs) |
823 | 829 | ||
824 | # texture upload verifier | 830 | # texture upload verifier |
825 | external_libs = common_external_libs + ['boost_signals-gcc33-mt', 'kdu', 'openjpeg', 'png12', 'z', 'dl'] | 831 | external_libs = common_external_libs + [boost_signals_lib, 'kdu', 'openjpeg', 'png12', 'z', 'dl'] |
826 | internal_libs = [ | 832 | internal_libs = [ |
827 | 'llimage', | 833 | 'llimage', |
828 | 'llimagej2coj', | 834 | 'llimagej2coj', |
@@ -855,7 +861,7 @@ for build_target in targets: | |||
855 | Depends('test/test', 'newsim/simulator' + file_suffix) | 861 | Depends('test/test', 'newsim/simulator' + file_suffix) |
856 | external_libs = common_external_libs + ['mysqlclient'] | 862 | external_libs = common_external_libs + ['mysqlclient'] |
857 | if platform == 'linux': | 863 | if platform == 'linux': |
858 | external_libs += ['boost_signals-gcc33-mt'] | 864 | external_libs += [boost_signals_lib] |
859 | internal_libs = [ 'lldatabase', 'llinventory', 'llmessage', 'llxml', | 865 | internal_libs = [ 'lldatabase', 'llinventory', 'llmessage', 'llxml', |
860 | 'llvfs', 'llcharacter', 'llphysics', 'llprimitive', 'llmath', 'llcommon' ] | 866 | 'llvfs', 'llcharacter', 'llphysics', 'llprimitive', 'llmath', 'llcommon' ] |
861 | test_executable = 'test/test' + file_suffix | 867 | test_executable = 'test/test' + file_suffix |