1
from wb import preprocess, autogen, mod_fn, home_fn, build_config_h, build_configure_h, build_version_m4_vars, build_autodefs, make_headers_objs, dict_def
5
build_configure_h(config, mod_fn(home_fn('configure.h')), head_comment='/* %s */\n\n' % autogen)
6
build_version_m4_vars(mod_fn(mod_fn('version_m4_vars.tmp')), head_comment='/* %s */\n\n' % autogen)
7
build_autodefs(config, mod_fn('autodefs.h.in'), home_fn('autodefs.h'))
8
ho = make_headers_objs(home_fn('Makefile.am'))
10
preprocess(dict_def(config, [('HEADERS_OBJS', ho)]),
11
in_fn=mod_fn('msvc.mak.in'),
12
out_fn=home_fn('msvc.mak'),
16
head_comment='# %s\n\n' % autogen)
18
# if we are run directly, and not loaded as a module
19
if __name__ == "__main__":