ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/1_prepare_files.sh
Revision: 1.15
Committed: 2007-06-15T09:16:58Z (17 years, 3 months ago) by gbeauche
Content type: application/x-sh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
State: FILE REMOVED
Log Message:
Build MacOS X binaries only from the command line. Prepare the configure
scripts as follows: [NO_CONFIGURE=1] ../Unix/autogen.sh

Second round will be to build FAT binaries.

File Contents

# Content
1 #!/bin/sh
2 #
3 # $Id: 1_prepare_files.sh,v 1.14 2006/07/31 08:47:52 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 "$@"