Bochs/bochs/Makefile.in
Bryce Denney 7f8b965243 ----------------------------------------------------------------------
Patch name: patch.macosx-console-launch-script
Author: Jeremy Parsons <brefin@mac.com>
Date: Wed Oct 16 2002

Detailed description:

Since the Carbon gui does not yet have a console window of its own, then it
can't be configured from the gui (only the command line) and stdout/stderr both
go to the console. As a shortcut, I offer this patch consisting of this file and

build/macosx/script.data
build/macosx/script.r
build/macosx/bochs.applescript

script.data and script.r are taken from a script compiled into an application.
Flattened out to be checked in. (osacompile can produce runnable scripts, but
wants to create them for the classic environment, so I use these files as part
of a workaround)

When bochs.app is built, it also builds bochs.scpt. To use bochs.scpt you put
both bochs.app and bochs.scpt into the directory with your bochsrc.txt.

bochs.scpt is an applescript that when run notes the current directory, then
tells the terminal application to open a window, cd to the current directory,
and run bochs from the commandline.
----------------------------------------------------------------------

Modified Files:
  Makefile.in
Added Files:
  build/macosx/bochs.applescript build/macosx/script.data
  build/macosx/script.r
2002-10-21 11:38:38 +00:00

562 lines
19 KiB
Makefile

# Copyright (C) 2002 MandrakeSoft S.A.
#
# MandrakeSoft S.A.
# 43, rue d'Aboukir
# 75002 Paris - France
# http://www.linux-mandrake.com/
# http://www.mandrakesoft.com/
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
####################################################
# NOTE: To be compatibile with nmake (microsoft vc++) please follow
# the following rules:
# use $(VAR) not ${VAR}
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@
man1dir = $(mandir)/man1
man5dir = $(mandir)/man5
docdir = $(prefix)/share/doc/bochs
sharedir = $(prefix)/share/bochs
DESTDIR =
VERSION=@VERSION@
VER_STRING=@VER_STRING@
REL_STRING=@REL_STRING@
MAN_PAGE_1_LIST=bochs bximage bochs-dlx
MAN_PAGE_5_LIST=bochsrc
INSTALL_LIST_SHARE=bios/BIOS-* bios/VGABIOS* @INSTALL_LIST_FOR_PLATFORM@
INSTALL_LIST_DOC=CHANGES COPYING README
INSTALL_LIST_BIN=bochs bximage $(srcdir)/build/linux/bochs-docs
INSTALL_LIST_BIN_OPTIONAL=bochsdbg
INSTALL_LIST=$(INSTALL_LIST_SHARE) $(INSTALL_LIST_DOC) $(INSTALL_LIST_BIN)
INSTALL_LIST_X11=install-x11-fonts test-x11-fonts
INSTALL_LIST_SED=DOC-linux.html
CP=cp
CAT=cat
RM=rm
MV=mv
LN_S=ln -sf
DLXLINUX_TAR=dlxlinux3.tar.gz
DLXLINUX_TAR_URL=http://bochs.sourceforge.net/guestos/$(DLXLINUX_TAR)
DLXLINUX_ROMFILE=BIOS-bochs-latest
GUNZIP=gunzip
WGET=wget
SED=sed
MKDIR=mkdir
RMDIR=rmdir
TAR=tar
CHMOD=chmod
GZIP=gzip -9
GUNZIP=gunzip
ZIP=zip
UNIX2DOS=unix2dos
@SUFFIX_LINE@
srcdir = @srcdir@
VPATH = @srcdir@
SHELL = /bin/sh
@SET_MAKE@
CC = @CC@
CXX = @CXX@
CFLAGS = @CFLAGS@ @GUI_CFLAGS@ $(MCH_CFLAGS) $(FLA_FLAGS)
CXXFLAGS = @CXXFLAGS@ @GUI_CXXFLAGS@ $(MCH_CFLAGS) $(FLA_FLAGS)
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
# To compile with readline:
# linux needs just -lreadline
# solaris needs -lreadline -lcurses
X_LIBS = @X_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
GUI_LINK_OPTS_X = $(X_LIBS) $(X_PRE_LIBS) -lX11
GUI_LINK_OPTS_SDL = `sdl-config --cflags --libs`
GUI_LINK_OPTS_BEOS = -lbe
GUI_LINK_OPTS_RFB = @RFB_LIBS@
GUI_LINK_OPTS_AMIGAOS =
GUI_LINK_OPTS_WIN32 = -luser32 -lgdi32 -lcomdlg32 -lcomctl32
GUI_LINK_OPTS_WIN32_VCPP = user32.lib gdi32.lib winmm.lib \
comdlg32.lib comctl32.lib wsock32.lib
GUI_LINK_OPTS_MACOS =
GUI_LINK_OPTS_CARBON = -framework Carbon
GUI_LINK_OPTS_NOGUI =
GUI_LINK_OPTS_TERM = @GUI_LINK_OPTS_TERM@
GUI_LINK_OPTS_WX = @GUI_LINK_OPTS_WX@
GUI_LINK_OPTS = @GUI_LINK_OPTS@ @DEVICE_LINK_OPTS@
RANLIB = @RANLIB@
CFLAGS_CONSOLE = @CFLAGS@ $(MCH_CFLAGS) $(FLA_FLAGS)
CXXFLAGS_CONSOLE = @CXXFLAGS@ $(MCH_CFLAGS) $(FLA_FLAGS)
BX_INCDIRS = -I. -I$(srcdir)/. -I@INSTRUMENT_DIR@ -I$(srcdir)/@INSTRUMENT_DIR@
MDEFINES = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" \
X_LIBS="$(X_LIBS)" X_PRE_LIBS="$(X_PRE_LIBS)" \
prefix="$(prefix)" exec_prefix="$(exec_prefix)" \
bindir="$(bindir)" infodir="$(infodir)"
#SUBDIRS = iodev debug
#all install uninstall: config.h#
# for subdir in $(SUBDIRS); do #
# echo making $@ in $$subdir; #
# (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; #
# done#
# gnu flags for clean up
#CFLAGS = -ansi -O -g -Wunused -Wuninitialized
NONINLINE_OBJS = \
logio.o \
main.o \
load32bitOShack.o \
state_file.o \
pc_system.o \
osdep.o \
@EXTRA_BX_OBJS@
EXTERN_ENVIRONMENT_OBJS = \
main.o \
load32bitOShack.o \
state_file.o \
pc_system.o
DEBUGGER_LIB = debug/libdebug.a
DISASM_LIB = disasm/libdisasm.a
INSTRUMENT_LIB = @INSTRUMENT_DIR@/libinstrument.a
FPU_LIB = fpu/libfpu.a
READLINE_LIB = @READLINE_LIB@
EXTRA_LINK_OPTS = @EXTRA_LINK_OPTS@
GDBSTUB_OBJS = gdbstub.o
BX_OBJS = @NONINLINE_VAR@
BX_INCLUDES = bochs.h config.h osdep.h
.@CPP_SUFFIX@.o:
$(CXX) @DASH@c $(CXXFLAGS) $(BX_INCDIRS) @CXXFP@$< @OFP@$@
.c.o:
$(CC) @DASH@c $(CFLAGS) $(FPU_FLAGS) $(BX_INCDIRS) $< @OFP@$@
all: @PRIMARY_TARGET@ bximage@EXE@
@EXTERNAL_DEPENDENCY@
bochs@EXE@: @IODEV_LIB_VAR@ @DEBUGGER_VAR@ \
cpu/libcpu.a memory/libmemory.a gui/libgui.a \
@DISASM_VAR@ @INSTRUMENT_VAR@ $(BX_OBJS) \
$(SIMX86_OBJS) \
$(FPU_LIB) \
@GDBSTUB_VAR@
@LINK@ $(BX_OBJS) \
$(SIMX86_OBJS) \
iodev/libiodev.a \
cpu/libcpu.a \
memory/libmemory.a gui/libgui.a \
@DEBUGGER_VAR@ @DISASM_VAR@ @INSTRUMENT_VAR@ \
@GDBSTUB_VAR@ \
$(FPU_LIB) \
$(GUI_LINK_OPTS) \
$(MCH_LINK_FLAGS) \
$(SIMX86_LINK_FLAGS) \
$(READLINE_LIB) \
$(EXTRA_LINK_OPTS)
bximage@EXE@: misc/bximage.o
@LINK_CONSOLE@ misc/bximage.o
# compile with console CXXFLAGS, not gui CXXFLAGS
misc/bximage.o: misc/bximage.c
$(CXX) @DASH@c $(CXXFLAGS_CONSOLE) $(BX_INCDIRS) @CXXFP@$< @OFP@$@
niclist@EXE@: misc/niclist.o
@LINK@ misc/niclist.o
$(BX_OBJS): $(BX_INCLUDES)
bxversion.h:
$(RM) -f bxversion.h
echo '/////////////////////////////////////////////////////////////////////////' > bxversion.h
echo '// $$Id: Makefile.in,v 1.95 2002-10-21 11:38:38 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
echo "#define REL_STRING \"$(REL_STRING)\"" >> bxversion.h
iodev/libiodev.a::
cd iodev @COMMAND_SEPARATOR@
$(MAKE) $(MDEFINES) libiodev.a
@CD_UP_ONE@
debug/libdebug.a::
cd debug @COMMAND_SEPARATOR@
$(MAKE) $(MDEFINES) libdebug.a
@CD_UP_ONE@
cpu/libcpu.a::
cd cpu @COMMAND_SEPARATOR@
$(MAKE) $(MDEFINES) libcpu.a
@CD_UP_ONE@
memory/libmemory.a::
cd memory @COMMAND_SEPARATOR@
$(MAKE) $(MDEFINES) libmemory.a
@CD_UP_ONE@
gui/libgui.a::
cd gui @COMMAND_SEPARATOR@
$(MAKE) $(MDEFINES) libgui.a
@CD_UP_ONE@
disasm/libdisasm.a::
cd disasm @COMMAND_SEPARATOR@
$(MAKE) $(MDEFINES) libdisasm.a
@CD_UP_ONE@
@INSTRUMENT_DIR@/libinstrument.a::
cd @INSTRUMENT_DIR@ @COMMAND_SEPARATOR@
$(MAKE) $(MDEFINES) libinstrument.a
@CD_UP_TWO@
fpu/libfpu.a::
cd fpu @COMMAND_SEPARATOR@
$(MAKE) $(MDEFINES) libfpu.a
@CD_UP_ONE@
libbochs.a:
-rm -f libbochs.a
ar rv libbochs.a $(EXTERN_ENVIRONMENT_OBJS)
$(RANLIB) libbochs.a
libbochs_cpu.a: @DEBUGGER_VAR@ $(BX_OBJS)
-rm -f libbochs_cpu.a
ar rv libbochs_cpu.a $(BX_OBJS)
$(RANLIB) libbochs_cpu.a
# for wxWindows port, on win32 platform
wxbochs_resources.o: wxbochs.rc
windres $(srcdir)/wxbochs.rc -o $@ --include-dir=`@WX_CONFIG@ --prefix`/include
#####################################################################
# Install target for all platforms.
#####################################################################
install: all @INSTALL_TARGET@
#####################################################################
# Install target for win32
#
# This is intended to be run in cygwin, since it has better scripting
# tools.
#####################################################################
install_win32: download_dlx
-mkdir -p $(prefix)
cp obj-debug/*.exe .
for i in $(INSTALL_LIST) niclist; do if test -f $$i; then cp $$i $(prefix); else cp $(srcdir)/$$i $(prefix); fi; done
cp $(srcdir)/misc/sb16/sb16ctrl.example $(prefix)/sb16ctrl.txt
cp $(srcdir)/misc/sb16/sb16ctrl.exe $(prefix)
cat $(srcdir)/build/win32/DOC-win32.htm | $(SED) -e 's/@VERSION@/$(VERSION)/g' > $(prefix)/DOC-win32.htm
cp $(srcdir)/.bochsrc $(prefix)/bochsrc-sample.txt
cp -r $(srcdir)/docs-html $(prefix)
-mkdir $(prefix)/keymaps
cp $(srcdir)/gui/keymaps/*.map $(prefix)/keymaps
cat $(DLXLINUX_TAR) | (cd $(prefix) && tar xzvf -)
echo '..\bochs' > $(prefix)/dlxlinux/start.bat
dlxrc=$(prefix)/dlxlinux/bochsrc.txt; mv $$dlxrc $$dlxrc.orig && sed < $$dlxrc.orig 's/\/usr\/local\/bochs\/latest/../' > $$dlxrc && rm -f $$dlxrc.orig
mv $(prefix)/README $(prefix)/README.orig
cat $(srcdir)/build/win32/README.win32-binary $(prefix)/README.orig > $(prefix)/README
rm -f $(prefix)/README.orig
for i in README CHANGES COPYING VGABIOS-elpin-LICENSE dlxlinux/README; do mv $(prefix)/$$i $(prefix)/$$i.txt; done
cd $(prefix); $(UNIX2DOS) *.txt */*.txt
cd $(prefix); NAME=`pwd|$(SED) 's/.*\///'`; (cd ..; $(ZIP) $$NAME.zip -r $$NAME); ls -l ../$$NAME.zip
#####################################################################
# install target for unix
#####################################################################
install_unix: install_bin install_man install_share install_doc
install_bin::
for i in $(DESTDIR)$(bindir); do mkdir -p $$i && test -d $$i && test -w $$i; done
$(CHMOD) a+x install-x11-fonts test-x11-fonts
for i in $(INSTALL_LIST_BIN); do if test -f $$i; then cp $$i $(DESTDIR)$(bindir); else cp $(srcdir)/$$i $(DESTDIR)$(bindir); fi; done
-for i in $(INSTALL_LIST_BIN_OPTIONAL); do if test -f $$i; then cp $$i $(DESTDIR)$(bindir); else cp $(srcdir)/$$i $(DESTDIR)$(bindir); fi; done
install_share::
for i in $(DESTDIR)$(sharedir); do mkdir -p $$i && test -d $$i && test -w $$i; done
for i in $(INSTALL_LIST_SHARE); do if test -f $$i; then cp $$i $(DESTDIR)$(sharedir); else cp $(srcdir)/$$i $(DESTDIR)$(sharedir); fi; done
$(CP) -r $(srcdir)/gui/keymaps $(DESTDIR)$(sharedir)
$(CP) $(srcdir)/font/vga.pcf $(DESTDIR)$(sharedir)/vga.pcf
install_doc::
for i in $(DESTDIR)$(docdir); do mkdir -p $$i && test -d $$i && test -w $$i; done
for i in $(INSTALL_LIST_SED); do install -m644 $(srcdir)/build/linux/$$i $(DESTDIR)$(docdir)/$$i; done
for i in $(INSTALL_LIST_DOC); do if test -f $$i; then cp $$i $(DESTDIR)$(docdir); else cp $(srcdir)/$$i $(DESTDIR)$(docdir); fi; done
$(CP) -r $(srcdir)/docs-html $(DESTDIR)$(docdir)
$(RM) -f $(DESTDIR)$(docdir)/README
$(CAT) $(srcdir)/build/linux/README.linux-binary $(srcdir)/README > $(DESTDIR)$(docdir)/README
$(CP) $(srcdir)/.bochsrc $(DESTDIR)$(docdir)/bochsrc-sample.txt
install_man::
-mkdir -p $(DESTDIR)$(man1dir)
-mkdir -p $(DESTDIR)$(man5dir)
for i in $(MAN_PAGE_1_LIST); do cat $(srcdir)/doc/man/$$i.1 | $(SED) 's/@version@/$(VERSION)/g' | $(GZIP) -c > $(DESTDIR)$(man1dir)/$$i.1.gz; chmod 644 $(DESTDIR)$(man1dir)/$$i.1.gz; done
for i in $(MAN_PAGE_5_LIST); do cat $(srcdir)/doc/man/$$i.5 | $(GZIP) -c > $(DESTDIR)$(man5dir)/$$i.5.gz; chmod 644 $(DESTDIR)$(man5dir)/$$i.5.gz; done
download_dlx: $(DLXLINUX_TAR)
$(DLXLINUX_TAR):
$(RM) -f $(DLXLINUX_TAR)
$(WGET) $(DLXLINUX_TAR_URL)
test -f $(DLXLINUX_TAR)
unpack_dlx: $(DLXLINUX_TAR)
rm -rf dlxlinux
$(GUNZIP) -c $(DLXLINUX_TAR) | $(TAR) -xvf -
test -d dlxlinux
(cd dlxlinux; $(MV) bochsrc.txt bochsrc.txt.orig; $(SED) -e "s/1\.1\.2/$(VERSION)/g" -e 's,/usr/local/bochs/latest,$(prefix)/share/bochs,g' < bochsrc.txt.orig > bochsrc.txt; rm -f bochsrc.txt.orig)
install_dlx:
$(RM) -rf $(DESTDIR)$(sharedir)/dlxlinux
cp -r dlxlinux $(DESTDIR)$(sharedir)/dlxlinux
$(CHMOD) 755 $(DESTDIR)$(sharedir)/dlxlinux
$(GZIP) $(DESTDIR)$(sharedir)/dlxlinux/hd10meg.img
$(CHMOD) 644 $(DESTDIR)$(sharedir)/dlxlinux/*
for i in bochs-dlx; do cp $(srcdir)/build/linux/$$i $(bindir)/$$i; $(CHMOD) 755 $(DESTDIR)$(bindir)/$$i; done
uninstall::
$(RM) -rf $(DESTDIR)$(sharedir)
$(RM) -rf $(DESTDIR)$(docdir)
for i in bochs bximage bochs-dlx bochs-docs; do rm -f $(DESTDIR)$(bindir)/$$i; done
for i in $(MAN_PAGE_1_LIST); do $(RM) -f $(man1dir)/$$i.1.gz; done
for i in $(MAN_PAGE_5_LIST); do $(RM) -f $(man5dir)/$$i.5.gz; done
V6WORKSPACE_ZIP=build/win32/workspace.zip
V6WORKSPACE_FILES=bochs.dsw bochs.dsp bochs.opt cpu/cpu.dsp \
memory/memory.dsp iodev/iodev.dsp instrument/stubs/stubs.dsp \
gui/gui.dsp fpu/fpu.dsp disasm/disasm.dsp debug/debug.dsp \
misc/niclist.dsp bximage.dsp
v6workspace:
zip $(V6WORKSPACE_ZIP) $(V6WORKSPACE_FILES)
########
# the win32_snap target is used to create a ZIP of bochs sources configured
# for VC++. This ZIP is stuck on the website every once in a while to make
# it easier for VC++ users to compile bochs. First, you should
# run "sh .conf.win32-vcpp" to configure the source code, then do
# "make win32_snap" to unzip the workspace files and create the ZIP.
########
win32_snap:
unzip $(V6WORKSPACE_ZIP)
make zip
tar:
NAME=`pwd|$(SED) 's/.*\///'`; (cd ..; tar cf - $$NAME | $(GZIP) > $$NAME.tar.gz); ls -l ../$$NAME.tar.gz
zip:
NAME=`pwd|$(SED) 's/.*\///'`; (cd ..; $(ZIP) $$NAME.zip -r $$NAME); ls -l ../$$NAME.zip
clean:
@RMCOMMAND@ *.o
@RMCOMMAND@ */*.o
@RMCOMMAND@ *.a
@RMCOMMAND@ */*.a
@RMCOMMAND@ bochs@EXE@
@RMCOMMAND@ bximage@EXE@
@RMCOMMAND@ bochs.out
@RMCOMMAND@ bochsout.txt
local-dist-clean: clean
@RMCOMMAND@ config.h config.status config.log config.cache
@RMCOMMAND@ .dummy `find . -name '*.dsp' -o -name '*.dsw' -o -name '*.opt'`
@RMCOMMAND@ bxversion.h install-x11-fonts build/linux/bochs-dlx build/linux/bochs-docs build/linux/DOC-linux.html _rpm_top *.rpm
all-clean: clean
cd iodev @COMMAND_SEPARATOR@
$(MAKE) clean
@CD_UP_ONE@
cd debug @COMMAND_SEPARATOR@
$(MAKE) clean
@CD_UP_ONE@
cd cpu @COMMAND_SEPARATOR@
$(MAKE) clean
@CD_UP_ONE@
cd memory @COMMAND_SEPARATOR@
$(MAKE) clean
@CD_UP_ONE@
cd gui @COMMAND_SEPARATOR@
$(MAKE) clean
@CD_UP_ONE@
cd disasm @COMMAND_SEPARATOR@
$(MAKE) clean
@CD_UP_ONE@
cd @INSTRUMENT_DIR@ @COMMAND_SEPARATOR@
$(MAKE) clean
@CD_UP_TWO@
cd misc @COMMAND_SEPARATOR@
$(MAKE) clean
@CD_UP_ONE@
cd fpu @COMMAND_SEPARATOR@
$(MAKE) clean
@CD_UP_ONE@
dist-clean: local-dist-clean
cd iodev @COMMAND_SEPARATOR@
$(MAKE) dist-clean
@CD_UP_ONE@
cd debug @COMMAND_SEPARATOR@
$(MAKE) dist-clean
@CD_UP_ONE@
cd bios @COMMAND_SEPARATOR@
$(MAKE) dist-clean
@CD_UP_ONE@
cd cpu @COMMAND_SEPARATOR@
$(MAKE) dist-clean
@CD_UP_ONE@
cd memory @COMMAND_SEPARATOR@
$(MAKE) dist-clean
@CD_UP_ONE@
cd gui @COMMAND_SEPARATOR@
$(MAKE) dist-clean
@CD_UP_ONE@
cd disasm @COMMAND_SEPARATOR@
$(MAKE) dist-clean
@CD_UP_ONE@
cd @INSTRUMENT_DIR@ @COMMAND_SEPARATOR@
$(MAKE) dist-clean
@CD_UP_TWO@
cd misc @COMMAND_SEPARATOR@
$(MAKE) dist-clean
@CD_UP_ONE@
cd fpu @COMMAND_SEPARATOR@
$(MAKE) dist-clean
@CD_UP_ONE@
@RMCOMMAND@ Makefile
###########################################
# Build app on MacOS X
###########################################
APP=bochs.app
SCRIPT=bochs.scpt
MACOSX_STUFF=build/macosx
MACOSX_STUFF_SRCDIR=$(srcdir)/$(MACOSX_STUFF)
REZ=/Developer/Tools/Rez
RINCLUDES=/System/Library/Frameworks/Carbon.framework/Libraries/RIncludes
REZ_ARGS=-append -i $RINCLUDES -d SystemSevenOrLater=1 -useDF
REZ_ARGS_SCRIPT=-append
OSACOMPILE=/usr/bin/osacompile
SETFILE=/Developer/Tools/Setfile
$(APP)/.build: bochs
rm -f $(APP)/.build
$(MKDIR) -p $(APP)
$(MKDIR) -p $(APP)/Contents
$(CP) -f $(MACOSX_STUFF)/Info.plist $(APP)/Contents
$(CP) -f $(MACOSX_STUFF_SRCDIR)/pbdevelopment.plist $(APP)/Contents
echo -n "APPL????" > $(APP)/Contents/PkgInfo
$(MKDIR) -p $(APP)/Contents/MacOS
$(CP) bochs $(APP)/Contents/MacOS
$(MKDIR) -p $(APP)/Contents/Resources
$(REZ) $(REZ_ARGS) $(MACOSX_STUFF_SRCDIR)/bochs.r -o $(APP)/Contents/Resources/bochs.rsrc
$(CP) -f $(MACOSX_STUFF_SRCDIR)/bochs-icn.icns $(APP)/Contents/Resources
rm -f $(SCRIPT)
$(CP) -f $(MACOSX_STUFF_SRCDIR)/script.data $(SCRIPT)
$(REZ) $(REZ_ARGS_SCRIPT) $(MACOSX_STUFF_SRCDIR)/script.r -o $(SCRIPT)
$(OSACOMPILE) -o $(SCRIPT) $(MACOSX_STUFF_SRCDIR)/bochs.applescript
$(SETFILE) -t "APPL" -c "aplt" $(SCRIPT)
ls -ld $(APP)
touch $(APP)/.build
###########################################
# dependencies generated by
# gcc -MM -I. -Iinstrument/stubs *.cc | sed -e 's/\.cc/.@CPP_SUFFIX@/g' -e 's,cpu/,cpu/,g'
###########################################
load32bitOShack.o: load32bitOShack.@CPP_SUFFIX@ bochs.h config.h osdep.h \
debug/debug.h bxversion.h gui/siminterface.h state_file.h cpu/cpu.h \
cpu/lazy_flags.h cpu/i387.h memory/memory.h pc_system.h gui/gui.h \
gui/control.h gui/keymap.h iodev/iodev.h iodev/pci.h iodev/vga.h \
iodev/biosdev.h iodev/cmos.h iodev/dma.h iodev/floppy.h \
iodev/harddrv.h iodev/cdrom.h iodev/keyboard.h iodev/parallel.h \
iodev/pic.h iodev/pit.h iodev/pit_wrap.h iodev/pit82c54.h \
iodev/serial.h iodev/unmapped.h iodev/eth.h iodev/ne2k.h \
iodev/guest2host.h iodev/slowdown_timer.h \
instrument/stubs/instrument.h
logio.o: logio.@CPP_SUFFIX@ bochs.h config.h osdep.h debug/debug.h bxversion.h \
gui/siminterface.h state_file.h cpu/cpu.h cpu/lazy_flags.h cpu/i387.h \
memory/memory.h pc_system.h gui/gui.h gui/control.h gui/keymap.h \
iodev/iodev.h iodev/pci.h iodev/vga.h iodev/biosdev.h iodev/cmos.h \
iodev/dma.h iodev/floppy.h iodev/harddrv.h iodev/cdrom.h \
iodev/keyboard.h iodev/parallel.h iodev/pic.h iodev/pit.h \
iodev/pit_wrap.h iodev/pit82c54.h iodev/serial.h iodev/unmapped.h \
iodev/eth.h iodev/ne2k.h iodev/guest2host.h iodev/slowdown_timer.h \
instrument/stubs/instrument.h
main.o: main.@CPP_SUFFIX@ bochs.h config.h osdep.h debug/debug.h bxversion.h \
gui/siminterface.h state_file.h cpu/cpu.h cpu/lazy_flags.h cpu/i387.h \
memory/memory.h pc_system.h gui/gui.h gui/control.h gui/keymap.h \
iodev/iodev.h iodev/pci.h iodev/vga.h iodev/biosdev.h iodev/cmos.h \
iodev/dma.h iodev/floppy.h iodev/harddrv.h iodev/cdrom.h \
iodev/keyboard.h iodev/parallel.h iodev/pic.h iodev/pit.h \
iodev/pit_wrap.h iodev/pit82c54.h iodev/serial.h iodev/unmapped.h \
iodev/eth.h iodev/ne2k.h iodev/guest2host.h iodev/slowdown_timer.h \
instrument/stubs/instrument.h
osdep.o: osdep.@CPP_SUFFIX@ bochs.h config.h osdep.h debug/debug.h bxversion.h \
gui/siminterface.h state_file.h cpu/cpu.h cpu/lazy_flags.h cpu/i387.h \
memory/memory.h pc_system.h gui/gui.h gui/control.h gui/keymap.h \
iodev/iodev.h iodev/pci.h iodev/vga.h iodev/biosdev.h iodev/cmos.h \
iodev/dma.h iodev/floppy.h iodev/harddrv.h iodev/cdrom.h \
iodev/keyboard.h iodev/parallel.h iodev/pic.h iodev/pit.h \
iodev/pit_wrap.h iodev/pit82c54.h iodev/serial.h iodev/unmapped.h \
iodev/eth.h iodev/ne2k.h iodev/guest2host.h iodev/slowdown_timer.h \
instrument/stubs/instrument.h
pc_system.o: pc_system.@CPP_SUFFIX@ bochs.h config.h osdep.h debug/debug.h \
bxversion.h gui/siminterface.h state_file.h cpu/cpu.h \
cpu/lazy_flags.h cpu/i387.h memory/memory.h pc_system.h gui/gui.h \
gui/control.h gui/keymap.h iodev/iodev.h iodev/pci.h iodev/vga.h \
iodev/biosdev.h iodev/cmos.h iodev/dma.h iodev/floppy.h \
iodev/harddrv.h iodev/cdrom.h iodev/keyboard.h iodev/parallel.h \
iodev/pic.h iodev/pit.h iodev/pit_wrap.h iodev/pit82c54.h \
iodev/serial.h iodev/unmapped.h iodev/eth.h iodev/ne2k.h \
iodev/guest2host.h iodev/slowdown_timer.h \
instrument/stubs/instrument.h
state_file.o: state_file.@CPP_SUFFIX@ bochs.h config.h osdep.h debug/debug.h \
bxversion.h gui/siminterface.h state_file.h cpu/cpu.h \
cpu/lazy_flags.h cpu/i387.h memory/memory.h pc_system.h gui/gui.h \
gui/control.h gui/keymap.h iodev/iodev.h iodev/pci.h iodev/vga.h \
iodev/biosdev.h iodev/cmos.h iodev/dma.h iodev/floppy.h \
iodev/harddrv.h iodev/cdrom.h iodev/keyboard.h iodev/parallel.h \
iodev/pic.h iodev/pit.h iodev/pit_wrap.h iodev/pit82c54.h \
iodev/serial.h iodev/unmapped.h iodev/eth.h iodev/ne2k.h \
iodev/guest2host.h iodev/slowdown_timer.h \
instrument/stubs/instrument.h