1# hints/amigaos.sh 2# 3# talk to pueschel@imsdd.meb.uni-bonn.de if you want to change this file. 4# 5# misc stuff 6archname='m68k-amigaos' 7cc='gcc' 8firstmakefile='GNUmakefile' 9usenm='true' 10d_fork='undef' # available but ENOSYS 11 12usemymalloc='n' 13useperlio='true' 14d_eofnblk='define' 15groupstype='int' 16 17# libs 18 19libpth="$prefix/lib /local/lib" 20glibpth="$libpth" 21xlibpth="$libpth" 22 23# This should remove unwanted libraries instead of limiting the set 24# to just these few. E.g. what about Berkeley DB? 25libswanted='gdbm m' 26so=' ' 27libs='-lm' 28 29# compiler & linker flags 30# Respect command-line values. 31 32ccflags="$ccflags -DAMIGAOS" 33case "$optimize" in 34'') optimize='-O2 -fomit-frame-pointer';; 35esac 36dlext='o' 37# Are these two different from the defaults? 38cccdlflags='none' 39ccdlflags='none' 40lddlflags='-oformat a.out-amiga -r' 41 42# uncomment the following settings if you are compiling for an 68020+ system 43# and want a residentable executable instead of dynamic loading 44 45# usedl='n' 46# ccflags='-DAMIGAOS -mstackextend -m68020 -resident32' 47# ldflags='-m68020 -resident32' 48 49# AmigaOS always reports only two links to directories, even if they 50# contain subdirectories. Consequently, we use this variable to stop 51# File::Find using the link count to determine whether there are 52# subdirectories to be searched. This will generate a harmless message: 53# Hmm...You had some extra variables I don't know about...I'll try to keep 'em. 54# Propagating recommended variable dont_use_nlink 55dont_use_nlink='define' 56