diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-11-05 11:24:06 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-11-05 11:24:06 -0500 |
commit | 486561a886fa791df3059972df5d50d473f6c0bc (patch) | |
tree | 58f154c7f15b18d629d78f1fe5b424b543bbb106 | |
parent | 3ce39cc410713c6793a694e5fb484b2cd3104fd4 (diff) |
remove exportvis changes from autowaf.py
-rw-r--r-- | tools/autowaf.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/autowaf.py b/tools/autowaf.py index 87e19d5aea..46c563519f 100644 --- a/tools/autowaf.py +++ b/tools/autowaf.py @@ -526,7 +526,7 @@ def build_dox(bld, name, version, srcdir, blddir, outdir=''): excl='**/_*')) # Version code file generation -def build_version_files(header_path, source_path, domain, major, minor, micro, exportname, visheader): +def build_version_files(header_path, source_path, domain, major, minor, micro): header_path = os.path.abspath(header_path) source_path = os.path.abspath(source_path) text = "int " + domain + "_major_version = " + str(major) + ";\n" @@ -542,12 +542,10 @@ def build_version_files(header_path, source_path, domain, major, minor, micro, e text = "#ifndef __" + domain + "_version_h__\n" text += "#define __" + domain + "_version_h__\n" - if visheader != '': - text += "#include \"" + visheader + "\"\n" - text += exportname + " extern const char* " + domain + "_revision;\n" - text += exportname + " extern int " + domain + "_major_version;\n" - text += exportname + " extern int " + domain + "_minor_version;\n" - text += exportname + " extern int " + domain + "_micro_version;\n" + text += " extern const char* " + domain + "_revision;\n" + text += " extern int " + domain + "_major_version;\n" + text += " extern int " + domain + "_minor_version;\n" + text += " extern int " + domain + "_micro_version;\n" text += "#endif /* __" + domain + "_version_h__ */\n" try: o = open(header_path, 'w') |