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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 520 - (show annotations) (download)
Fri Apr 21 02:44:08 2006 UTC (18 years, 1 month ago) by johnpye
File size: 1274 byte(s)
Fixed missing ':' in Tcl/Tk SConscript
Updated AscBitmaps.h header docs, GPL statement.
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 if env['HAVE_LEX']:
15 typelexsource = 'typelex.l'
16 else:
17 typelexsource = 'typelex_no_flex.c'
18
19 typelex = env.SharedObject(typelexsource
20 , LEXFLAGS = '-ll -Ptyp_'
21 )
22
23 libs = ['ascend']
24 libpath = ['#']
25
26 libs.append(env['TCL_LIB'])
27 libs.append(env['TK_LIB'])
28
29 if env.has_key('TCL_LIBPATH'):
30 libpath.append(env['TCL_LIBPATH'])
31 if env.has_key('TK_LIBPATH'):
32 libpath.append(env['TK_LIBPATH'])
33
34 cppdefines = []
35 if env['STATIC_TKTABLE']:
36 libpath.append(env['TKTABLE_LIBPATH'])
37 libs.append(env['TKTABLE_LIB'])
38 cppdefines.append('STATIC_TKTABLE')
39
40 cpppath = ['../../../base/generic']
41 if env.has_key('TCL_CPPPATH'):
42 cpppath.append(env['TCL_CPPPATH'])
43
44 if env.has_key('TK_CPPPATH'):
45 cpppath.append(env['TK_CPPPATH'])
46
47 env.Program("ascend4",srcs+typelex+['Driver.c']
48 , CPPDEFINES = cppdefines
49 , LIBS = libs
50 , LIBPATH = libpath
51 , CPPPATH = cpppath
52 # , RPATH = ["C:\\Tcl\\lib"]
53 )

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