83 |
linux="no" |
linux="no" |
84 |
kqemu="no" |
kqemu="no" |
85 |
kernel_path="" |
kernel_path="" |
86 |
|
cocoa="no" |
87 |
|
|
88 |
# OS specific |
# OS specific |
89 |
targetos=`uname -s` |
targetos=`uname -s` |
179 |
;; |
;; |
180 |
--kernel-path=*) kernel_path=${opt#--kernel-path=} |
--kernel-path=*) kernel_path=${opt#--kernel-path=} |
181 |
;; |
;; |
182 |
|
--enable-cocoa) cocoa="yes" ; sdl="no" |
183 |
|
;; |
184 |
esac |
esac |
185 |
done |
done |
186 |
|
|
406 |
echo "target list $target_list" |
echo "target list $target_list" |
407 |
echo "gprof enabled $gprof" |
echo "gprof enabled $gprof" |
408 |
echo "static build $static" |
echo "static build $static" |
409 |
|
if test "$darwin" = "yes" ; then |
410 |
|
echo "Cocoa support $cocoa" |
411 |
|
fi |
412 |
echo "SDL support $sdl" |
echo "SDL support $sdl" |
413 |
echo "SDL static link $sdl_static" |
echo "SDL static link $sdl_static" |
414 |
echo "mingw32 support $mingw32" |
echo "mingw32 support $mingw32" |
682 |
fi |
fi |
683 |
fi |
fi |
684 |
|
|
685 |
|
if test "$cocoa" = "yes" ; then |
686 |
|
echo "#define CONFIG_COCOA 1" >> $config_h |
687 |
|
echo "CONFIG_COCOA=yes" >> $config_mak |
688 |
|
fi |
689 |
|
|
690 |
done # for target in $targets |
done # for target in $targets |
691 |
|
|
692 |
# build tree in object directory if source path is different from current one |
# build tree in object directory if source path is different from current one |