ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/1_prepare_files.sh
Revision: 1.7
Committed: 2003-03-24T10:18:23Z (21 years, 4 months ago) by nigel
Content type: application/x-sh
Branch: MAIN
CVS Tags: nigel-build-12, nigel-build-13
Changes since 1.6: +2 -1 lines
Log Message:
Unix/timer_unix.cpp was also being compiled with the wrong sysdeps.h
(the one from the Unix directory)

File Contents

# Content
1 #!/bin/sh
2 #
3 # $Id: 1_prepare_files.sh,v 1.6 2003/03/24 06:18:20 nigel Exp $
4 #
5 # Run this to generate all the initial makefiles, etc.
6
7 #
8 # Note that we actually don't need a config.guess
9 # We could instead do something like:
10 # ./configure --build=powerpc-apple-darwin6.1
11 #
12 if [ -e /usr/libexec/config.guess ]
13 then
14 #
15 # MacOS X 10.1
16 #
17 ln -sf /usr/libexec/config.guess .
18 ln -sf /usr/libexec/config.sub .
19 else
20 #
21 # MacOS X 10.2 (and later?)
22 #
23 ln -sf /usr/share/libtool/config.guess .
24 ln -sf /usr/share/libtool/config.sub .
25 fi
26
27 ln -sf ../Unix/sys_unix.cpp .
28 ln -sf ../Unix/timer_unix.cpp .
29 ln -sf ../Unix/user_strings_unix.h .
30 ln -sf ../Unix/install-sh .
31 ln -sf ../../README README.txt
32
33 #
34 # This is how I generated the button images:
35 #
36 #T=/System/Library/CoreServices/loginwindow.app/Resources
37 #tiffutil -cat $T/resetH.tif -out English.lproj/MainMenu.nib/resetH.tiff
38 #tiffutil -cat $T/resetN.tif -out English.lproj/MainMenu.nib/resetN.tiff
39 #tiffutil -cat $T/shutdownH.tif -out English.lproj/MainMenu.nib/shutdownH.tiff
40 #tiffutil -cat $T/shutdownN.tif -out English.lproj/MainMenu.nib/shutdownN.tiff
41 #unset T
42
43 #
44 # Generate ./configure from configure.in
45 #
46 autoconf
47
48 #
49 # Generate config.h.in from configure.in
50 #
51 autoheader
52
53 if test -z "$*"; then
54 echo "*************************************************"
55 echo "I am going to run ./configure with no arguments -"
56 echo " if you wish to pass any to it, please specify"
57 echo " them on the $0 command line."
58 echo "*************************************************"
59 fi
60
61 ./configure "$@"