- add version information to the bochs binary for a banner message.

This commit is contained in:
Bryce Denney 2001-05-22 18:49:11 +00:00
parent d7d75a7bdc
commit 3f702247d2
3 changed files with 11 additions and 0 deletions

View File

@ -21,6 +21,8 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
VERSION=1.1.2
VER_STRING=1.1.2 (bugfix3)
REL_STRING=Released 5/16/2001
PREFIX=/usr/local/bochs
BINPATH=/usr/local/bin
INSTALL_LIST=bios/BIOS-* CHANGES.txt COPYING README bios/VGABIOS*
@ -143,6 +145,11 @@ bochs@EXE@: @IODEV_LIB_VAR@ @DEBUGGER_VAR@ \
$(BX_OBJS): $(BX_INCLUDES)
bxversion.h::
${RM} -f bxversion.h
echo '// This file is generated by "make bxversion.h"' > bxversion.h
echo "#define VER_STRING \"$(VER_STRING)\"" >> bxversion.h
echo "#define REL_STRING \"$(REL_STRING)\"" >> bxversion.h
iodev/libiodev.a::
cd iodev @COMMAND_SEPARATOR@

View File

@ -79,6 +79,7 @@ extern "C" {
#include "config.h" /* generated by configure script from config.h.in */
#include "osdep.h" /* platform dependent includes and defines */
#include "debug/debug.h"
#include "bxversion.h"
//
// some macros to interface the CPU and memory to external environment

3
bochs/bxversion.h Normal file
View File

@ -0,0 +1,3 @@
// This file is generated by "make bxversion.h"
#define VER_STRING "1.1.2 (bugfix3)"
#define REL_STRING "Released 5/16/2001"