71 |
|
if grep mon_init $mon_srcdir/mon.h >/dev/null 2>/dev/null; then |
72 |
|
AC_MSG_RESULT(yes) |
73 |
|
AC_DEFINE(ENABLE_MON) |
74 |
< |
MONSRCS="$mon_srcdir/mon.cpp $mon_srcdir/mon_6502.cpp $mon_srcdir/mon_8080.cpp $mon_srcdir/mon_cmd.cpp $mon_srcdir/mon_disass.cpp $mon_srcdir/mon_ppc.cpp $mon_srcdir/disass/floatformat.c $mon_srcdir/disass/i386-dis.c $mon_srcdir/disass/m68k-dis.c $mon_srcdir/disass/m68k-opc.c" |
74 |
> |
MONSRCS="$mon_srcdir/mon.cpp $mon_srcdir/mon_6502.cpp $mon_srcdir/mon_z80.cpp $mon_srcdir/mon_cmd.cpp $mon_srcdir/mon_disass.cpp $mon_srcdir/mon_ppc.cpp $mon_srcdir/disass/floatformat.c $mon_srcdir/disass/i386-dis.c $mon_srcdir/disass/m68k-dis.c $mon_srcdir/disass/m68k-opc.c" |
75 |
|
CXXFLAGS="$CXXFLAGS -I$mon_srcdir -I$mon_srcdir/disass" |
76 |
|
AC_CHECK_LIB(readline, readline) |
77 |
|
AC_CHECK_LIB(termcap, tputs) |
259 |
|
DEFINES="$DEFINES -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS" |
260 |
|
;; |
261 |
|
irix*) |
262 |
+ |
AUDIOSRC=Irix/audio_irix.cpp |
263 |
|
EXTRASYSSRCS=Irix/unaligned.c |
264 |
|
dnl IRIX headers work fine, but somehow don't define or use "STDC_HEADERS" |
265 |
|
DEFINES="$DEFINES -DCRTSCTS=CNEW_RTSCTS -DB230400=B115200 -DSTDC_HEADERS" |
266 |
< |
LIBS="$LIBS -lm" |
266 |
> |
LIBS="$LIBS -laudio" |
267 |
|
;; |
268 |
|
esac |
269 |
|
|
546 |
|
DEFINES="$DEFINES -DREGPARAM=\"__attribute__((regparm(3)))\"" |
547 |
|
if [[ "x$HAVE_GAS" = "xyes" ]]; then |
548 |
|
ASM_OPTIMIZATIONS=i386 |
549 |
< |
DEFINES="$DEFINES -DX86_ASSEMBLY -DOPTFLAGS" |
549 |
> |
DEFINES="$DEFINES -DX86_ASSEMBLY -DUNALIGNED_PROFITABLE -DOPTIMIZED_FLAGS" |
550 |
|
CPUSRCS="../uae_cpu/compiler.cpp cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s" |
551 |
|
FPUSRCS="../uae_cpu/fpu_x86.cpp" |
552 |
|
fi |
560 |
|
case "$SPARC_TYPE" in |
561 |
|
SPARC_V8) |
562 |
|
ASM_OPTIMIZATIONS="SPARC V8 architecture" |
563 |
< |
DEFINES="$DEFINES -DSPARC_V8_ASSEMBLY" dnl -DOPTFLAGS" |
563 |
> |
DEFINES="$DEFINES -DSPARC_V8_ASSEMBLY" dnl -DOPTIMIZED_FLAGS" |
564 |
|
CFLAGS="$CFLAGS -Wa,-Av8" |
565 |
|
CXXFLAGS="$CXXFLAGS -Wa,-Av8" |
566 |
|
;; |
567 |
|
SPARC_V9) |
568 |
|
ASM_OPTIMIZATIONS="SPARC V9 architecture" |
569 |
< |
DEFINES="$DEFINES -DSPARC_V9_ASSEMBLY" dnl -DOPTFLAGS" |
569 |
> |
DEFINES="$DEFINES -DSPARC_V9_ASSEMBLY" dnl -DOPTIMIZED_FLAGS" |
570 |
|
CFLAGS="$CFLAGS -Wa,-Av9" |
571 |
|
CXXFLAGS="$CXXFLAGS -Wa,-Av9" |
572 |
|
;; |