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

Annotation of /trunk/tcltk98/generic/interface/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 390 - (hide annotations) (download)
Thu Mar 30 06:41:17 2006 UTC (17 years, 11 months ago) by johnpye
File size: 1201 byte(s)
The Tcl/Tk interface now runs as well. Tried with Tcl/Tk 8.4, so needs to be run
on a system with Tcl/Tk 8.3 next up.
1 johnpye 386 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 johnpye 390 , LEXFLAGS = '-ll -Pzz'
17 johnpye 386 )
18    
19 johnpye 390 #----------------
20 johnpye 386 libs = Split("""
21     asccompiler ascpackages ascsolver ascutilities ascgeneral
22     tcl tk
23     """)
24    
25 johnpye 390 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 johnpye 386 )
38 johnpye 390
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