1 |
#!/bin/sh |
2 |
# |
3 |
# $Id: 1_prepare_files.sh,v 1.9 2003/08/02 08:19:48 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/sys_unix.cpp . |
10 |
cp -pf ../Unix/timer_unix.cpp . |
11 |
ln -sf ../Unix/user_strings_unix.h . |
12 |
ln -sf ../Unix/install-sh . |
13 |
ln -sf ../Unix/Darwin . |
14 |
cp -pr ../../INSTALL INSTALL.txt |
15 |
cp -pr ../../README README.txt |
16 |
|
17 |
# |
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 |
|
27 |
# |
28 |
# Generate ./configure from configure.in |
29 |
# |
30 |
autoconf |
31 |
|
32 |
# |
33 |
# Generate config.h.in from configure.in |
34 |
# |
35 |
autoheader |
36 |
|
37 |
# |
38 |
# Build app which configure uses: |
39 |
# |
40 |
|
41 |
|
42 |
if test -z "$*"; then |
43 |
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 |
fi |
49 |
|
50 |
#./configure "$@" --enable-addressing=real |
51 |
./configure "$@" |