/[ascend]/trunk/base/generic/compiler/SConscript
ViewVC logotype

Diff of /trunk/base/generic/compiler/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1785 by jpye, Mon Sep 3 14:05:44 2007 UTC revision 1786 by jpye, Sat Jun 7 06:17:35 2008 UTC
# Line 29  csrcs = Split(""" Line 29  csrcs = Split("""
29    
30  import platform, glob  import platform, glob
31    
32  scanparse_env = libascend_env.Copy()  scanparse_env = libascend_env.Clone()
33    
34  scanparse_env.Append(CCFLAGS=scanparse_env.get('YACC_CCFLAGS'))  scanparse_env.Append(CCFLAGS=scanparse_env.get('YACC_CCFLAGS'))
35    
# Line 53  if scanparse_env.has_key('HAVE_LEX'): Line 53  if scanparse_env.has_key('HAVE_LEX'):
53  else:  else:
54      scannersource = libascend_env.Command('scanner.c','scanner_no_lex.c',Copy('$TARGET', '$SOURCE'))      scannersource = libascend_env.Command('scanner.c','scanner_no_lex.c',Copy('$TARGET', '$SOURCE'))
55    
56  packages_env = libascend_env.Copy()  packages_env = libascend_env.Clone()
57  packages = packages_env.SharedObject('packages.c')  packages = packages_env.SharedObject('packages.c')
58    
59  objs = [parsersource[0],scannersource,packages]  objs = [parsersource[0],scannersource,packages]
# Line 62  objs = [parsersource[0],scannersource,pa Line 62  objs = [parsersource[0],scannersource,pa
62    
63  sloppy_csrcs = ['rounded.c','interval.c']  sloppy_csrcs = ['rounded.c','interval.c']
64    
65  sloppy_env = libascend_env.Copy()  sloppy_env = libascend_env.Clone()
66  sloppy_env.Append(CPPDEFINES=['SLOPPY']);  sloppy_env.Append(CPPDEFINES=['SLOPPY']);
67  for s in sloppy_csrcs:  for s in sloppy_csrcs:
68      objs += sloppy_env.SharedObject(s)        objs += sloppy_env.SharedObject(s)  

Legend:
Removed from v.1785  
changed lines
  Added in v.1786

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22