diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-10-31 16:53:49 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-31 16:53:49 -0700 |
commit | 4b9358928b114caaf34a69d6fdfd3b285b7a72cc (patch) | |
tree | b531697231b1ac88943dd32c4fa434c746a40f66 /ver.c | |
parent | dcd3a21145ef08583c1e242594777bf1625bf989 (diff) | |
download | nasm-4b9358928b114caaf34a69d6fdfd3b285b7a72cc.tar.gz nasm-4b9358928b114caaf34a69d6fdfd3b285b7a72cc.tar.bz2 nasm-4b9358928b114caaf34a69d6fdfd3b285b7a72cc.zip |
Move all version strings to a single compilation unit (ver.c)
Move all the version strings to a single compilation unit, ver.c; this
does not include the version macros, which are fed into macros.c.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'ver.c')
-rw-r--r-- | ver.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +#include "nasm.h" +#include "version.h" + +/* This is printed when entering nasm -v */ +const char nasm_version[] = NASM_VER; +const char nasm_date[] = __DATE__; +const char nasm_compile_options[] = "" +#ifdef DEBUG + " with -DDEBUG" +#endif + ; + +/* These are used by some backends. */ +const char nasm_comment[] = + "The Netwide Assembler " NASM_VER; + +const char nasm_signature[] = + "NASM " NASM_VER; |