Mercurial > fife-parpg
annotate ext/SConscript @ 328:d8bcff5f7222
PyChan: adaptLayout performance fix.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 24 Aug 2009 09:20:28 +0000 |
parents | fa33cda75471 |
children | 64738befdf3b |
rev | line source |
---|---|
89
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
1 import os, shutil |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
2 from utils.util_scripts.path import path |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
3 |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
4 Import('env') |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
5 |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
6 curpath = str(path('.')) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
7 installpath = str((path('.') / path('install')).abspath()) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
8 |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
9 print "======= FIFE EXTERNAL DEPENDENCY BUILD: GUICHAN =======" |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
10 os.chdir(str(path('.') / path('guichan-0.8.1'))) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
11 os.system('./configure') |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
12 os.system('make') |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
13 os.system('make install prefix=%s' % installpath) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
14 |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
15 print "======= FIFE EXTERNAL DEPENDENCY BUILD: LIBPNG =======" |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
16 os.chdir(str(path('..'))) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
17 os.chdir(str(path('.') / path('libpng-1.2.29'))) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
18 os.system('./configure') |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
19 os.system('make all-am') |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
20 os.system('make install prefix=%s' % installpath) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
21 os.system('make install-data-hook prefix=%s' % installpath) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
22 |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
23 print "======= FIFE EXTERNAL DEPENDENCY BUILD: OPENAL-SOFT =======" |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
24 os.chdir('..') |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
25 os.chdir(str(path('.') / path('openal-soft'))) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
26 os.system('./configure') |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
27 os.system('make') |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
28 os.system('make install prefix=%s' % installpath) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
29 |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
30 print "======= FIFE EXTERNAL DEPENDENCY BUILD: UNITTEST++ =======" |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
31 os.chdir('..') |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
32 os.chdir(str(path('.') / path('UnitTest++'))) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
33 os.system('make') |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
34 shutil.copyfile('libUnitTest++.a', str(path(installpath) / path('lib') / path('libUnitTest++.a'))) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
35 shutil.copyfile( |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
36 str(path('src') / path('UnitTest++.h')), |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
37 str(path(installpath) / path('include') / path('UnitTest++.h'))) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
38 shutil.copyfile( |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
39 str(path('src') / path('TestReporterStdout.h')), |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
40 str(path(installpath) / path('include') / path('TestReporterStdout.h'))) |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
41 |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
42 print "======= FIFE EXTERNAL DEPENDENCY BUILD: ALL DONE ( CHECK LOG FOR POSSIBLE ERRORS ) =======" |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
43 |
fa33cda75471
* Reverting back to 2543 as requested by sleek
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
44 os.chdir(curpath) |