| 38 |
|
|
| 39 |
|
# display drivers |
| 40 |
|
if env.has_key('X11INCLUDE'): |
| 41 |
< |
xenv = env.Copy(CPPPATH=[env['X11INCLUDE']] + env['CPPPATH'], |
| 41 |
> |
xenv = env.Clone(CPPPATH=[env['X11INCLUDE']] + env['CPPPATH'], |
| 42 |
|
LIBPATH=[env['X11LIB']] + env['LIBPATH'],) |
| 43 |
|
# common objects |
| 44 |
|
rhdisp = xenv.Object(source='rhdisp.c') |
| 53 |
|
# XXX the .hdi extension will cause problems on Windows |
| 54 |
|
xenv['PROGSUFFIX'] = '.hdi' |
| 55 |
|
|
| 56 |
< |
dlibs = ['rtpic','rtmath','rtcont','rtmem','rtargs','rtio','rterror'] |
| 56 |
> |
dlibs = ['rtpic','rtmath','rtcont','rtmem','rtargs','rtio','rterror','rtdummy'] |
| 57 |
|
def make_hdi(p): # build them |
| 58 |
|
obj = xenv.Object(target=p[3], source=p[4], CPPFLAGS=ocppflags + p[5]) |
| 59 |
|
prog = xenv.Program(target=os.path.join(devdir, p[0]), |