30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
mkdir macbuild
mkdir macbuild/Panther
mkdir macbuild/Tiger
mkdir macbuild/Leopard
mkdir macbuild/SnowLeopard
mkdir macbuild/pkg
fi
}
# Build function for Panther
panther() {
makedir
HEADERS=/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/PCSC.framework/Versions/A/Headers/
LIBRARY=/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/PCSC.framework/PCSC
|
>
>
>
>
>
>
>
>
>
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
mkdir macbuild
mkdir macbuild/Panther
mkdir macbuild/Tiger
mkdir macbuild/Leopard
mkdir macbuild/SnowLeopard
mkdir macbuild/pkg
fi
if [ ! -f config.guess ]; then
cp /Developer/usr/share/libtool/config.guess .
fi
if [ ! -f config.sub ]; then
cp /Developer/usr/share/libtool/config.sub .
fi
if [ ! -f install-sh ]; then
cp /Developer/usr/share/libtool/install-sh .
fi
}
# Build function for Panther
panther() {
makedir
HEADERS=/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/PCSC.framework/Versions/A/Headers/
LIBRARY=/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/PCSC.framework/PCSC
|
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
|
case "$1" in
"")
usage
exit $?
;;
"panther")
panther
exit $?
;;
"tiger")
tiger
exit $?
;;
"leopard")
leopard
exit $?
;;
"snowleopard")
snowleopard
exit $?
;;
"all")
panther
tiger
leopard
snowleopard
exit $?
;;
|
>
>
>
>
>
|
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
|
case "$1" in
"")
usage
exit $?
;;
"panther")
./autogen.sh
panther
exit $?
;;
"tiger")
./autogen.sh
tiger
exit $?
;;
"leopard")
./autogen.sh
leopard
exit $?
;;
"snowleopard")
./autogen.sh
snowleopard
exit $?
;;
"all")
./autogen.sh
panther
tiger
leopard
snowleopard
exit $?
;;
|