27 |
make="make" |
make="make" |
28 |
strip="strip" |
strip="strip" |
29 |
cpu=`uname -m` |
cpu=`uname -m` |
30 |
target_list="i386-user i386 i386-softmmu arm-user armeb-user sparc-user ppc-user ppc-softmmu sparc-softmmu x86_64-softmmu" |
target_list="" |
31 |
case "$cpu" in |
case "$cpu" in |
32 |
i386|i486|i586|i686|i86pc|BePC) |
i386|i486|i586|i686|i86pc|BePC) |
33 |
cpu="i386" |
cpu="i386" |
80 |
fmod="no" |
fmod="no" |
81 |
fmod_lib="" |
fmod_lib="" |
82 |
fmod_inc="" |
fmod_inc="" |
83 |
|
linux="no" |
84 |
|
|
85 |
# OS specific |
# OS specific |
86 |
targetos=`uname -s` |
targetos=`uname -s` |
106 |
;; |
;; |
107 |
*) |
*) |
108 |
oss="yes" |
oss="yes" |
109 |
|
linux="yes" |
110 |
;; |
;; |
111 |
esac |
esac |
112 |
|
|
114 |
if [ ! "$darwin" = "yes" ] ; then |
if [ ! "$darwin" = "yes" ] ; then |
115 |
make="gmake" |
make="gmake" |
116 |
fi |
fi |
|
target_list="i386-softmmu ppc-softmmu sparc-softmmu" |
|
117 |
fi |
fi |
118 |
|
|
119 |
# find source path |
# find source path |
182 |
strip="${cross_prefix}${strip}" |
strip="${cross_prefix}${strip}" |
183 |
|
|
184 |
if test "$mingw32" = "yes" ; then |
if test "$mingw32" = "yes" ; then |
185 |
target_list="i386-softmmu ppc-softmmu sparc-softmmu" |
linux="no" |
186 |
EXESUF=".exe" |
EXESUF=".exe" |
187 |
gdbstub="no" |
gdbstub="no" |
188 |
oss="no" |
oss="no" |
189 |
fi |
fi |
190 |
|
|
191 |
|
if test -z "$target_list" ; then |
192 |
|
# these targets are portable |
193 |
|
target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu" |
194 |
|
# the following are Linux specific |
195 |
|
if [ "$linux" = "yes" ] ; then |
196 |
|
target_list="i386-user i386 arm-user armeb-user sparc-user ppc-user $target_list" |
197 |
|
fi |
198 |
|
fi |
199 |
|
|
200 |
if test -z "$cross_prefix" ; then |
if test -z "$cross_prefix" ; then |
201 |
|
|
202 |
# --- |
# --- |