Mercurial > sdl-ios-xcode
annotate build-scripts/fatbuild.sh @ 1646:7c53bb4b1db4
I think this is it...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 19 Apr 2006 03:49:57 +0000 |
parents | 2a55580b767b |
children | 9f59d4c5aaea |
rev | line source |
---|---|
1636
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 #!/bin/sh |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 # Build a fat binary on Mac OS X, thanks Ryan! |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 # PowerPC compiler flags (10.2 runtime compatibility) |
1639
0f466fb614a9
Whoops, need the actual flags here
Sam Lantinga <slouken@libsdl.org>
parents:
1636
diff
changeset
|
6 CFLAGS_PPC="-arch ppc \ |
1636
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 -I/Developer/SDKs/MacOSX10.2.8.sdk/Developer/Headers/FlatCarbon \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 -DMAC_OS_X_VERSION_MIN_REQUIRED=1020 \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3 \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3/c++ \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3/c++/ppc-darwin \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 -isystem /Developer/SDKs/MacOSX10.2.8.sdk/usr/include" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 # PowerPC linker flags |
1639
0f466fb614a9
Whoops, need the actual flags here
Sam Lantinga <slouken@libsdl.org>
parents:
1636
diff
changeset
|
16 LFLAGS_PPC="-arch ppc -mmacosx-version-min=10.2 \ |
1636
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
17 -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
18 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
19 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
20 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
21 # Intel compiler flags (10.4 runtime compatibility) |
1639
0f466fb614a9
Whoops, need the actual flags here
Sam Lantinga <slouken@libsdl.org>
parents:
1636
diff
changeset
|
22 CFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \ |
1636
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
23 -DMAC_OS_X_VERSION_MIN_REQUIRED=1040 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
24 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
25 # Intel linker flags |
1639
0f466fb614a9
Whoops, need the actual flags here
Sam Lantinga <slouken@libsdl.org>
parents:
1636
diff
changeset
|
26 LFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \ |
1636
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
27 -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.0 \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
28 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
29 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
30 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
31 # Find the configure script |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
32 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
33 cd `dirname $0`/.. |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
34 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
35 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
36 # Figure out which phase to build: |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
37 # all, |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
38 # configure, configure-ppc, configure-x86, |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
39 # make, make-ppc, make-x86, merge |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
40 # install |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
41 if test x"$1" = x; then |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
42 phase=all |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
43 else |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
44 phase="$1" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
45 fi |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
46 case $phase in |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
47 all) |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
48 configure_ppc="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
49 configure_x86="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
50 make_ppc="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
51 make_x86="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
52 merge="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
53 ;; |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
54 configure) |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
55 configure_ppc="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
56 configure_x86="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
57 ;; |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
58 configure-ppc) |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
59 configure_ppc="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
60 ;; |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
61 configure-x86) |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
62 configure_x86="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
63 ;; |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
64 make) |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
65 make_ppc="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
66 make_x86="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
67 merge="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
68 ;; |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
69 make-ppc) |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
70 make_ppc="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
71 ;; |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
72 make-x86) |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
73 make_x86="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
74 ;; |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
75 merge) |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
76 merge="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
77 ;; |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
78 install) |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
79 make_x86="yes" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
80 ;; |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
81 esac |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
82 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
83 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
84 # Create the build directories |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
85 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
86 for dir in build build/ppc build/x86; do |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
87 if test -d $dir; then |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
88 : |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
89 else |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
90 mkdir $dir || exit 1 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
91 fi |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
92 done |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
93 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
94 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
95 # Build the PowerPC binary |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
96 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
97 if test x$configure_ppc = xyes; then |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
98 (cd build/ppc && \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
99 sh ../../configure CFLAGS="$CFLAGS_PPC" LDFLAGS="$LFLAGS_PPC") || exit 2 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
100 fi |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
101 if test x$make_ppc = xyes; then |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
102 (cd build/ppc && make) || exit 3 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
103 fi |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
104 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
105 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
106 # Build the Intel binary |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
107 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
108 if test x$configure_x86 = xyes; then |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
109 (cd build/x86 && \ |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
110 sh ../../configure CFLAGS="$CFLAGS_X86" LDFLAGS="$LFLAGS_X86") || exit 2 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
111 fi |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
112 if test x$make_x86 = xyes; then |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
113 (cd build/x86 && make) || exit 3 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
114 fi |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
115 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
116 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
117 # Combine into fat binary |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
118 # |
1646 | 119 target=`find x86 -type f -name '*.dylib' | sed 's|.*/||'` |
1636
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
120 if test x$merge = xyes; then |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
121 (cd build && \ |
1646 | 122 lipo -create -o $target `find ppc x86 -type f -name "*.dylib"` && |
123 ln -s $target libSDL-1.2.0.dylib | |
124 ln -s $target libSDL.dylib | |
1636
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
125 lipo -create -o SDLMain.o */build/SDLMain.o && |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
126 ar cru libSDLmain.a SDLMain.o && ranlib libSDLmain.a && |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
127 echo "Build complete!" && |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
128 echo "Files can be found in the build directory.") || exit 4 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
129 fi |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
130 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
131 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
132 # Install |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
133 # |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
134 if test x$install = xyes; then |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
135 echo "Install not implemented" |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
136 exit 1 |
3d0dec74ad01
A script to build a fat version of the SDL library... completely untested!
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
137 fi |