Bochs/bochs/.conf.win32-vcpp
Bryce Denney ca7914e7c7 - remove all curly brackets from makefiles! Before, I had done this by
just being careful what I wrote in the Makefile.in.  But now configure
  itself is substituting values for prefix and exec-prefix that include
  curly brackets, so being careful was no longer good enough.  If you
  run .conf.win32-vcpp it will remove them.
2001-06-12 17:26:17 +00:00

38 lines
1015 B
Bash
Executable File

#!/bin/sh
# This configure file should be used for Win32 systems using MS Visual C++ 5.0
# I first untar/gzip the source on a unix machine. Run this script
# to generate the Makefile's and config.h file. Then copy everything
# over to your Win32/Visual C++ system.
set echo
# These really just make ./configure happy on your Unix machine.
# They are not the options passed to Visual C++
CC="egcs"
CFLAGS=""
CXX="$CC"
CXXFLAGS="$CFLAGS"
export CC
export CXX
export CFLAGS
export CXXFLAGS
#./configure --with-win32-vcpp --enable-port-e9-hack
#./configure --with-win32-vcpp --enable-debugger --enable-disasm --enable-instrumentation="instrument/example0"
#./configure --with-win32-vcpp --enable-debugger --enable-disasm
#./configure --with-win32-vcpp --enable-disasm
./configure --with-win32-vcpp --enable-cdrom --enable-sb16=win
unset echo
for i in `find . -name Makefile`; do
echo Removing curly brackets in $i for NMAKE.
mv $i $i.tmp
sed -e 's/{/(/g' -e 's/}/)/g' < $i.tmp > $i
rm -f $i.tmp
done