ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/1_prepare_files.sh
Revision: 1.14
Committed: 2006-07-31T08:47:52Z (18 years ago) by nigel
Content type: application/x-sh
Branch: MAIN
CVS Tags: nigel-build-19
Changes since 1.13: +2 -1 lines
Log Message:
ether_unix.cpp somehow pulls something in that needs mem_banks.
If it isn't compiled in this directory, the wrong config.h is used.

File Contents

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