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