Lines 3-8
Link Here
|
3 |
import configio |
3 |
import configio |
4 |
import globalinfo |
4 |
import globalinfo |
5 |
|
5 |
|
|
|
6 |
destdir=ARGUMENTS.get('destdir','') |
6 |
prefix=ARGUMENTS.get('prefix','/usr/local') |
7 |
prefix=ARGUMENTS.get('prefix','/usr/local') |
7 |
|
8 |
|
8 |
ficheros = { |
9 |
ficheros = { |
Lines 36-45
Link Here
|
36 |
|
37 |
|
37 |
class config: |
38 |
class config: |
38 |
cxxflags = confer.get_cxxflags(A) |
39 |
cxxflags = confer.get_cxxflags(A) |
39 |
libpath = confer.get_libpath(A) |
40 |
libpath = destdir + confer.get_libpath(A) |
40 |
pluginpath = confer.get_pluginpath(A) |
41 |
pluginpath = destdir + confer.get_pluginpath(A) |
41 |
binpath = confer.get_binpath(A) |
42 |
binpath = destdir + confer.get_binpath(A) |
42 |
confpath = confer.get_confpath(A) |
43 |
confpath = destdir + confer.get_confpath(A) |
43 |
rootpath = Dir('.').srcnode().abspath |
44 |
rootpath = Dir('.').srcnode().abspath |
44 |
|
45 |
|
45 |
for name,val in confer.__dict__.items(): |
46 |
for name,val in confer.__dict__.items(): |
Lines 57-63
Link Here
|
57 |
|
58 |
|
58 |
configio.write_conf(config) |
59 |
configio.write_conf(config) |
59 |
|
60 |
|
60 |
common_env=Environment(ENV=os.environ, CXXFLAGS = config.cxxflags); |
61 |
common_env=Environment(ENV=os.environ, CXXFLAGS = config.cxxflags, SHLINK = "g++", LINK = "g++", SHLINKFLAGS = "-shared"); |
61 |
common_env.SConsignFile(config.rootpath + os.sep + 'scons-signatures') |
62 |
common_env.SConsignFile(config.rootpath + os.sep + 'scons-signatures') |
62 |
shared_env=confer.derive_shared_env(common_env) |
63 |
shared_env=confer.derive_shared_env(common_env) |
63 |
plugin_env=confer.derive_plugin_env(common_env) |
64 |
plugin_env=confer.derive_plugin_env(common_env) |