--- ray/build_utils/load_plat.py 2006/06/06 22:32:05 1.8 +++ ray/build_utils/load_plat.py 2008/04/24 10:28:24 1.11 @@ -12,7 +12,9 @@ def read_plat(env, args, fn): cfig.read(fn) buildvars = [['CC'], # replace ['CPPPATH', 'CPPDEFINES', 'CPPFLAGS', 'CCFLAGS', - 'LIBPATH', 'LINKFLAGS']] # append + 'LIBPATH', 'LINKFLAGS', + 'EZXML_CPPDEFINES', # build flags specific to ezxml.c + ]] # append vars = [ ['install', ['RAD_BASEDIR', 'RAD_BINDIR', 'RAD_RLIBDIR', 'RAD_MANDIR'], @@ -20,13 +22,15 @@ def read_plat(env, args, fn): ['code', [], # replace [ # append - 'RAD_COMPAT', # currently obsolete + 'RAD_COMPAT', # theoretically obsolete (src/common/strcmp.c) 'RAD_MATHCOMPAT', # erf.c floating point error function 'RAD_ARGSCOMPAT', # fixargv0.c for Windows 'RAD_NETCOMPAT', # [win_]netproc.c for ranimate 'RAD_MLIB', # usually 'm', or any fastlib available 'RAD_SOCKETLIB', # ws_2_32 on Windows (VC links it automatically) - 'RAD_PROCESS']], # our process abstraction and win_popen() + 'RAD_PROCESS', # our process abstraction and win_popen() + 'RAD_PCALLS', # more custom process abstraction + ]], ] if args.get('RAD_DEBUG',0): vars.insert(0, ['debug'] + buildvars) @@ -41,8 +45,7 @@ def read_plat(env, args, fn): for p in section[2]: # multiple items to append try: v = cfig.get(section[0], p) except ConfigParser.NoOptionError: continue - apply(env.Append,[],{p:`v`.split()}) - #print '%s: %s' % (p, env[p]) + apply(env.Append,[],{p:env.Split(v)}) # XXX Check that basedir exists. for k in ['RAD_BINDIR', 'RAD_RLIBDIR', 'RAD_MANDIR']: if (env.has_key('RAD_BASEDIR') and env.has_key(k)