- add BeOS target which builds the binary and then runs "copyattr"

to copy the resources into the binary
This commit is contained in:
Bryce Denney 2002-12-21 14:31:30 +00:00
parent c64cd2f39a
commit 8bacd82133
3 changed files with 17 additions and 3 deletions

View File

@ -238,7 +238,7 @@ $(BX_OBJS): $(BX_INCLUDES)
bxversion.h:
$(RM) -f bxversion.h
echo '/////////////////////////////////////////////////////////////////////////' > bxversion.h
echo '// $$Id: Makefile.in,v 1.137 2002-12-19 03:02:37 bdenney Exp $$' >> bxversion.h
echo '// $$Id: Makefile.in,v 1.138 2002-12-21 14:31:21 bdenney Exp $$' >> bxversion.h
echo '/////////////////////////////////////////////////////////////////////////' >> bxversion.h
echo '// This file is generated by "make bxversion.h"' >> bxversion.h
echo "#define VER_STRING \"$(VER_STRING)\"" >> bxversion.h
@ -641,6 +641,14 @@ install_macosx: all download_dlx @INSTALL_DOCBOOK_VAR@
$(CPMAC) $(SCRIPT_EXEC) $(prefix)/dlxlinux
for i in $(TEXT_FILE_LIST); do mv $(prefix)/$$i $(prefix)/$$i.txt; done
###########################################
# BeOS make target.
# Build the binary normally, then copy the resource attributes.
###########################################
.bochs_beos_target: bochs@EXE
copyattr -t ICON BeBochs.rsrc bochs
copyattr -t MICN BeBochs.rsrc bochs
###########################################
# dependencies generated by
# gcc -MM -I. -Iinstrument/stubs *.cc | sed -e 's/\.cc/.@CPP_SUFFIX@/g' -e 's,cpu/,cpu/,g'

5
bochs/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in,v 1.191 2002/12/13 22:25:52 bdenney Exp .
# From configure.in Id: configure.in,v 1.192 2002/12/14 21:26:44 bdenney Exp .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
@ -21527,6 +21527,9 @@ _ACEOF
#define BX_HAVE_DLFCN_H 0
_ACEOF
;;
*-beos*)
PRIMARY_TARGET=.bochs_beos_target
;;
esac

View File

@ -2,7 +2,7 @@ dnl // Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT(bochs.h)
AC_REVISION([[$Id: configure.in,v 1.192 2002-12-14 21:26:44 bdenney Exp $]])
AC_REVISION([[$Id: configure.in,v 1.193 2002-12-21 14:31:24 bdenney Exp $]])
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(ltdlconf.h)
@ -1944,6 +1944,9 @@ case "$target" in
AC_DEFINE(BX_HAVE_GETTIMEOFDAY, 0)
AC_DEFINE(BX_HAVE_DLFCN_H, 0)
;;
*-beos*)
PRIMARY_TARGET=.bochs_beos_target
;;
esac
case $target in