dep = string.join(deps + [bake], ' ')
add(bake, makedirs, 'Makefile.in', dep, 'autoconf', args)
+ add(bake, makedirs, 'makefile.bcc', dep, 'borland', args)
# main makefile:
addMakefile('wx.bkl', {'all':'..','autoconf':'../..'},
['common.bkl', 'config.bkl', 'files.bkl', 'monolithic.bkl',
- 'wxwin.py'])
+ 'multilib.bkl', 'wxwin.py'])
# samples main makefile:
addMakefile('../../samples/samples.bkl', {'all':'../../samples'})
prefix = ''.join(['../' for i in range(0,depth)])
args = {
- 'all':'-DWXTOPDIR=/%s..' % prefix,
+ 'all':'-DWXTOPDIR=%s../' % prefix,
'autoconf':'-DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4',
}
for bake in bakes:
if type==CONTRIB_DIR:
acdir = '../../contrib/src/%s' % dirname.split('/')[-1]
+ ruledep = 'common_contrib.bkl'
else:
acdir = dirname
+ ruledep = 'common_samples.bkl'
addMakefile('%s/%s' % (dirname, bake),
{'all':dirname,'autoconf':acdir},
- deps=['common.bkl','common_samples.bkl','config.bkl'],
+ deps=['common.bkl',ruledep,'config.bkl'],
args=args)
os.path.walk('../../samples', onSubmakefile, None)