/[ascend]/trunk/tcltk98/generic/interface/SConscript
ViewVC logotype

Contents of /trunk/tcltk98/generic/interface/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 412 - (show annotations) (download)
Mon Apr 3 03:31:30 2006 UTC (19 years ago) by johnpye
File size: 1203 byte(s)
Trying to fix problems with the parser 'yy' and 'zz' stuff so that it works with SCons and hopefuly autotools at same time.
1 Import('env')
2
3 srcs = Split("""
4 AscBitmaps.c AscPrintTcl.c BrowLogRel_io.c BrowWhen_io.c
5 BrowserMethod.c BrowserProc.c BrowserQuery.c BrowserRel_io.c
6 Commands.c DebugProc.c DisplayProc.c
7 EnvVarProc.c HelpProc.c Integrators.c
8 LibraryProc.c Lsode.c MtxProc.c ProbeProc.c Qlfdid.c
9 ScriptProc.c Sensitivity.c SimsProc.c SlvProc.c
10 SolverProc.c UnitsProc.c UserData.c
11 tkConsole.c old_utils.c
12 """)
13
14
15 typelex = env.CFile(target='typelex.c',source='typelex.l'
16 , LEXFLAGS = '-ll -Ptyp_'
17 )
18
19 #----------------
20 libs = Split("""
21 asccompiler ascpackages ascsolver ascutilities ascgeneral
22 tcl tk
23 """)
24
25 libpath = [
26 '../../../base/generic/compiler'
27 ,'../../../base/generic/packages'
28 ,'../../../base/generic/solver'
29 ,'../../../base/generic/utilities'
30 ,'../../../base/generic/general'
31 ]
32
33 env.Program("ascend4",srcs+typelex+['Driver.c']
34 , LIBS = libs
35 , LIBPATH = libpath+['$LIBPATH']
36 , CPPPATH = ['../../../base/generic']
37 )
38
39 if 0:
40 env.Program('ascend4',driver
41 , CPPPATH=cpppath
42 , LIBS=libs
43 , LIBPATH=['../../../base/generic/compiler'
44 ,'../../../base/generic/packages'
45 ,'../../../base/generic/solver'
46 ,'../../../base/generic/utilities'
47 ,'../../../base/generic/general'
48 ,'.'
49 ]
50 )

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