20 |
|
env['RAD_BUILDBIN'] = '#bin' |
21 |
|
env['RAD_BUILDRLIB'] = '#lib' |
22 |
|
env['RAD_BUILDMAN'] = '#doc/man' |
23 |
– |
# compatibility modules |
24 |
– |
env['RAD_COMPAT'] = 'timegm.o' |
23 |
|
|
24 |
|
def allplats_setup(env): |
25 |
|
from build_utils import find_libs |
43 |
|
install.install_manfiles(env) |
44 |
|
|
45 |
|
# Set up build environment |
46 |
< |
env = Environment(tools=['mingw']) |
46 |
> |
env = Environment() |
47 |
|
env.Decider('timestamp-match') |
48 |
|
|
49 |
|
if os.name == 'posix': |
50 |
|
from build_utils import install |
51 |
< |
csh_b = Builder(action = install.install_cshscript, |
52 |
< |
suffix = '', src_suffix = '.csh') |
53 |
< |
env.Append(BUILDERS={'InstallCsh': csh_b}) |
51 |
> |
script_b = Builder(action = install.install_script, suffix = '') |
52 |
> |
env.Append(BUILDERS={'InstallScript': script_b}) |
53 |
> |
tclscript_b = Builder(action = install.install_tclscript, suffix = '') |
54 |
> |
env.Append(BUILDERS={'InstallTCLScript': tclscript_b}) |
55 |
|
|
56 |
|
# configure platform-specific stuff |
57 |
|
from build_utils import load_plat |
70 |
|
# fill in generic config |
71 |
|
allplats_setup(env) |
72 |
|
|
74 |
– |
|
73 |
|
# Bring in all the actual things to build |
74 |
|
Export('env') |
75 |
|
if 'test' in sys.argv: |
96 |
|
env.Alias('test', ['#test']) |
97 |
|
env.Alias('install', ['bininstall', 'rlibinstall', 'maninstall']) |
98 |
|
|
99 |
+ |
# vim: set syntax=python: |