1 |
nigel |
1.2 |
#!/bin/sh |
2 |
nigel |
1.3 |
# |
3 |
nigel |
1.11 |
# $Id: 1_prepare_files.sh,v 1.10 2004/01/27 01:18:02 nigel Exp $ |
4 |
nigel |
1.3 |
# |
5 |
nigel |
1.2 |
# Run this to generate all the initial makefiles, etc. |
6 |
|
|
|
7 |
nigel |
1.9 |
ln -sf ../Unix/config.guess . |
8 |
|
|
ln -sf ../Unix/config.sub . |
9 |
nigel |
1.10 |
cp -pf ../Unix/sys_unix.cpp . |
10 |
|
|
cp -pf ../Unix/timer_unix.cpp . |
11 |
nigel |
1.3 |
ln -sf ../Unix/user_strings_unix.h . |
12 |
|
|
ln -sf ../Unix/install-sh . |
13 |
nigel |
1.10 |
ln -sf ../Unix/Darwin . |
14 |
nigel |
1.9 |
cp -pr ../../INSTALL INSTALL.txt |
15 |
|
|
cp -pr ../../README README.txt |
16 |
nigel |
1.2 |
|
17 |
nigel |
1.5 |
# |
18 |
|
|
# This is how I generated the button images: |
19 |
|
|
# |
20 |
|
|
#T=/System/Library/CoreServices/loginwindow.app/Resources |
21 |
|
|
#tiffutil -cat $T/resetH.tif -out English.lproj/MainMenu.nib/resetH.tiff |
22 |
|
|
#tiffutil -cat $T/resetN.tif -out English.lproj/MainMenu.nib/resetN.tiff |
23 |
|
|
#tiffutil -cat $T/shutdownH.tif -out English.lproj/MainMenu.nib/shutdownH.tiff |
24 |
|
|
#tiffutil -cat $T/shutdownN.tif -out English.lproj/MainMenu.nib/shutdownN.tiff |
25 |
|
|
#unset T |
26 |
nigel |
1.4 |
|
27 |
|
|
# |
28 |
|
|
# Generate ./configure from configure.in |
29 |
|
|
# |
30 |
nigel |
1.1 |
autoconf |
31 |
nigel |
1.2 |
|
32 |
nigel |
1.4 |
# |
33 |
|
|
# Generate config.h.in from configure.in |
34 |
|
|
# |
35 |
nigel |
1.3 |
autoheader |
36 |
|
|
|
37 |
nigel |
1.10 |
# |
38 |
|
|
# Build app which configure uses: |
39 |
|
|
# |
40 |
|
|
|
41 |
|
|
|
42 |
nigel |
1.2 |
if test -z "$*"; then |
43 |
nigel |
1.3 |
echo "*************************************************" |
44 |
|
|
echo "I am going to run ./configure with no arguments -" |
45 |
|
|
echo " if you wish to pass any to it, please specify" |
46 |
|
|
echo " them on the $0 command line." |
47 |
|
|
echo "*************************************************" |
48 |
nigel |
1.2 |
fi |
49 |
|
|
|
50 |
nigel |
1.11 |
# This mode isn't working yet - segfaults |
51 |
nigel |
1.10 |
#./configure "$@" --enable-addressing=real |
52 |
nigel |
1.11 |
|
53 |
|
|
# The default mode, which doesn't allow Classic ROMS and has black screen prob. |
54 |
|
|
#./configure "$@" |
55 |
|
|
|
56 |
|
|
# Classic ROM version, seems to fix black screen problem |
57 |
|
|
./configure "$@" --enable-addressing=banks |