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

Annotation of /trunk/base/generic/compiler/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 453 - (hide annotations) (download)
Wed Apr 5 06:47:01 2006 UTC (14 years, 4 months ago) by johnpye
File size: 1487 byte(s)
Remove default CUnit locations for failsafe 'scons -h' on Windows
1 johnpye 385 Import('env')
2    
3 johnpye 390 srcs = Split("""
4 johnpye 385 anoncopy.c anonmerg.c anontype.c arrayinst.c ascCompiler.c
5     atomsize.c atomvalue.c bintoken.c bit.c braced.c
6     case.c check.c child.c childdef.c childio.c childinfo.c cmpfunc.c
7     commands.c copyinst.c createinst.c destroyinst.c
8     dimen.c dimen_io.c dump.c
9     evaluate.c exprio.c exprs.c exprsym.c extcall.c
10     extfunc.c extinst.c find.c forvars.c fractions.c
11     freestore.c func.c initialize.c instance.c instance_io.c
12     instantiate.c instmacro.c instquery.c interval.c
13     library.c linkinst.c logrel_io.c logrel_util.c
14     logrelation.c mathinst.c mergeinst.c module.c name.c
15     nameio.c notate.c numlist.c packages.c parentchild.c
16     parpend.c pending.c plot.c proc.c procframe.c
17     procio.c prototype.c qlfdid.c refineinst.c rel_common.c relation.c
18     relation_io.c relation_util.c rootfind.c safe.c
19     select.c setinst_io.c setinstval.c setio.c
20     sets.c slist.c simlist.c statement.c statio.c switch.c
21     symtab.c syntax.c temp.c tmpnum.c type_desc.c
22     type_descio.c typedef.c typelint.c redirectFile.c
23 johnpye 453 units.c universal.c
24 johnpye 385 value_type.c visitinst.c visitlink.c vlist.c vlistio.c
25     watchpt.c watchptio.c when.c when_io.c when_util.c
26     """)
27    
28     rounded = env.Object('rounded.c'
29     ,CPPDEFINES=['SLOPPY']
30     )
31    
32     parser = env.CFile(target=['ascParse'], source='ascParse.y'
33 johnpye 412 , YACCFLAGS=['-d','-pzz_']
34 johnpye 385 )
35    
36     scanner = env.CFile(target=['scanner.c'],source=['scanner.l']
37 johnpye 412 , LEXFLAGS=['-Pzz_']
38 johnpye 385 )
39    
40     env.Depends(scanner,['ascParse.h'])
41    
42 johnpye 427 env.Library('asccompiler',srcs+rounded+['ascParse.c']+scanner)
43 johnpye 385
44    
45    

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