~ubuntu-branches/ubuntu/feisty/basilisk2/feisty

« back to all changes in this revision

Viewing changes to src/MacOSX/1_prepare_files.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2005-07-30 20:42:20 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050730204220-1nl1cg2jkjvy63ry
Tags: 0.9.20050730-1
* New upstream CVS snapshot.
* Build-depend on virtual libsdl-dev (not libsdl1.2-dev).
* Invoke init rules also on clean (to separate better from official
  builds).
* Update URL of upstream source in debian/copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
3
 
# $Id: 1_prepare_files.sh,v 1.8 2003/06/03 12:14:45 nigel Exp $
 
3
# $Id: 1_prepare_files.sh,v 1.11 2004/05/25 04:22:49 nigel Exp $
4
4
#
5
5
# Run this to generate all the initial makefiles, etc.
6
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 .
 
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 .
29
11
ln -sf ../Unix/user_strings_unix.h .
30
12
ln -sf ../Unix/install-sh .
31
 
cp -pr ../../README README.txt
 
13
ln -sf ../Unix/Darwin .
 
14
cp -pr ../../INSTALL INSTALL.txt
 
15
cp -pr ../../README  README.txt
32
16
 
33
17
#
34
18
# This is how I generated the button images:
50
34
#
51
35
autoheader
52
36
 
 
37
#
 
38
# Build app which configure uses:
 
39
#
 
40
 
 
41
 
53
42
if test -z "$*"; then
54
43
   echo "*************************************************"
55
44
   echo "I am going to run ./configure with no arguments -"
58
47
   echo "*************************************************"
59
48
fi
60
49
 
61
 
./configure "$@"
 
50
# This mode isn't working yet - segfaults
 
51
#./configure "$@" --enable-addressing=real
 
52
 
 
53
# The default mode, which doesn't allow Classic ROMS and has black screen prob.
 
54
#./configure "$@"
 
55
 
 
56
# Classic ROM version, seems to fix black screen problem
 
57
./configure "$@" --enable-addressing=banks