54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
enable_threads="no"
enable_sockets="no"
enable_files="yes" # Required for reading ENV:
supports_amiga_lib="yes"
ac_cv_snprintf_useful_ret="yes"
AS_IF([test x"$enable_amiga_lib" != x"no"], [
AC_SUBST(OBJFWRT_AMIGA_LIB,
'objfwrt68k.library')
AC_SUBST(SFDC_TARGET, m68k-amigaos)
AC_SUBST(SFD_FILE, amigaos3.sfd)
AC_SUBST(SFDC_INLINE_H, inline.h)
dnl For 68000, GCC emits calls to helper functions that
dnl do not work properly in a library.
AC_SUBST(AMIGA_LIB_CFLAGS,
"-mcpu=68020 -fbaserel -ffreestanding")
AC_SUBST(AMIGA_LIB_LDFLAGS,
"-mcpu=68020 -fbaserel -resident -nostartfiles")
])
;;
powerpc-*-amigaos*)
enable_shared="no"
enable_threads="no"
;;
*-morphos*)
AS_IF([test x"$with_ixemul" != x"yes"], [
AS_IF([test x"$OBJCFLAGS" = x""], [
OBJCFLAGS="-O2 -g"
])
OBJCFLAGS="$OBJCFLAGS -noixemul"
OBJFW_OBJCFLAGS="$OBJFW_OBJCFLAGS -noixemul"
LDFLAGS="$LDFLAGS -noixemul"
enable_files="yes" # Required for reading ENV:
supports_amiga_lib="yes"
check_pedantic="no" # Breaks generated inlines
AS_IF([test x"$enable_amiga_lib" != x"no"], [
t='objfwrt.library'
AC_SUBST(OBJFWRT_AMIGA_LIB, $t)
AC_SUBST(CVINCLUDE_INLINE_H, inline.h)
t="-mresident32 -ffreestanding"
AC_SUBST(AMIGA_LIB_CFLAGS, $t)
t="-mresident32 -nostartfiles -nodefaultlibs"
t="$t -lc"
AC_SUBST(AMIGA_LIB_LDFLAGS, $t)
])
|
|
<
>
<
|
|
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
enable_threads="no"
enable_sockets="no"
enable_files="yes" # Required for reading ENV:
supports_amiga_lib="yes"
ac_cv_snprintf_useful_ret="yes"
AS_IF([test x"$enable_amiga_lib" != x"no"], [
AC_SUBST(OBJFWRT_AMIGA_LIB, objfwrt68k.library)
AC_SUBST(SFDC_TARGET, m68k-amigaos)
AC_SUBST(SFD_FILE, amigaos3.sfd)
AC_SUBST(SFDC_INLINE_H, inline.h)
dnl For 68000, GCC emits calls to helper functions that
dnl do not work properly in a library.
AC_SUBST(AMIGA_LIB_CFLAGS,
"-mcpu=68020 -fbaserel -ffreestanding")
AC_SUBST(AMIGA_LIB_LDFLAGS,
"-mcpu=68020 -fbaserel -resident -nostartfiles")
])
;;
powerpc-*-amigaos*)
enable_shared="no"
enable_threads="no"
enable_files="yes" # Required for reading ENV:
;;
*-morphos*)
AS_IF([test x"$with_ixemul" != x"yes"], [
AS_IF([test x"$OBJCFLAGS" = x""], [
OBJCFLAGS="-O2 -g"
])
OBJCFLAGS="$OBJCFLAGS -noixemul"
OBJFW_OBJCFLAGS="$OBJFW_OBJCFLAGS -noixemul"
LDFLAGS="$LDFLAGS -noixemul"
enable_files="yes" # Required for reading ENV:
supports_amiga_lib="yes"
check_pedantic="no" # Breaks generated inlines
AS_IF([test x"$enable_amiga_lib" != x"no"], [
AC_SUBST(OBJFWRT_AMIGA_LIB, objfwrt.library)
AC_SUBST(CVINCLUDE_INLINE_H, inline.h)
t="-mresident32 -ffreestanding"
AC_SUBST(AMIGA_LIB_CFLAGS, $t)
t="-mresident32 -nostartfiles -nodefaultlibs"
t="$t -lc"
AC_SUBST(AMIGA_LIB_LDFLAGS, $t)
])
|