1 |
nigel |
1.2 |
#!/bin/sh |
2 |
nigel |
1.3 |
# |
3 |
nigel |
1.14 |
# $Id: 1_prepare_files.sh,v 1.13 2005/12/29 13:06:12 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.14 |
cp -pf ../Unix/ether_unix.cpp . |
10 |
nigel |
1.13 |
ln -sf ../Unix/semaphore.h . |
11 |
nigel |
1.10 |
cp -pf ../Unix/sys_unix.cpp . |
12 |
|
|
cp -pf ../Unix/timer_unix.cpp . |
13 |
nigel |
1.3 |
ln -sf ../Unix/user_strings_unix.h . |
14 |
|
|
ln -sf ../Unix/install-sh . |
15 |
nigel |
1.10 |
ln -sf ../Unix/Darwin . |
16 |
nigel |
1.9 |
cp -pr ../../INSTALL INSTALL.txt |
17 |
|
|
cp -pr ../../README README.txt |
18 |
nigel |
1.2 |
|
19 |
nigel |
1.5 |
# |
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 |
nigel |
1.4 |
|
29 |
|
|
# |
30 |
|
|
# Generate ./configure from configure.in |
31 |
|
|
# |
32 |
nigel |
1.1 |
autoconf |
33 |
nigel |
1.2 |
|
34 |
nigel |
1.4 |
# |
35 |
|
|
# Generate config.h.in from configure.in |
36 |
|
|
# |
37 |
nigel |
1.3 |
autoheader |
38 |
|
|
|
39 |
nigel |
1.10 |
# |
40 |
|
|
# Build app which configure uses: |
41 |
|
|
# |
42 |
|
|
|
43 |
|
|
|
44 |
nigel |
1.2 |
if test -z "$*"; then |
45 |
nigel |
1.3 |
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 |
nigel |
1.2 |
fi |
51 |
|
|
|
52 |
nigel |
1.11 |
# This mode isn't working yet - segfaults |
53 |
nigel |
1.10 |
#./configure "$@" --enable-addressing=real |
54 |
nigel |
1.11 |
|
55 |
nigel |
1.12 |
./configure "$@" |