37 |
if env.has_key('TK_LIBPATH'): |
if env.has_key('TK_LIBPATH'): |
38 |
libpath.append(env['TK_LIBPATH']) |
libpath.append(env['TK_LIBPATH']) |
39 |
|
|
40 |
|
cppdefines = [] |
41 |
|
if env.has_key('STATIC_TKTABLE'): |
42 |
|
libpath.append(env['TKTABLE_LIBPATH']) |
43 |
|
libs.append(env['TKTABLE_LIB']) |
44 |
|
cppdefines.append('STATIC_TKTABLE') |
45 |
|
|
46 |
cpppath = ['../../../base/generic'] |
cpppath = ['../../../base/generic'] |
47 |
if env.has_key('TCL_CPPPATH'): |
if env.has_key('TCL_CPPPATH'): |
48 |
cpppath.append(env['TCL_CPPPATH']) |
cpppath.append(env['TCL_CPPPATH']) |
51 |
cpppath.append(env['TK_CPPPATH']) |
cpppath.append(env['TK_CPPPATH']) |
52 |
|
|
53 |
env.Program("ascend4",srcs+typelex+['Driver.c'] |
env.Program("ascend4",srcs+typelex+['Driver.c'] |
54 |
|
, CPPDEFINES = cppdefines |
55 |
, LIBS = libs |
, LIBS = libs |
56 |
, LIBPATH = libpath |
, LIBPATH = libpath |
57 |
, CPPPATH = cpppath |
, CPPPATH = cpppath |