Chip noticed that the intended optionality of the 'IV' was
[p5sagit/p5-mst-13.2.git] / hints / rhapsody.sh
1 ##
2 # Rhapsody (Mac OS X Server) hints
3 # Wilfredo Sanchez <wsanchez@mit.edu>
4 ##
5
6 ##
7 # Paths
8 ##
9
10 # BSD paths
11 case "$prefix" in
12 '')     
13         prefix='/usr/local'; # Built-in perl uses /usr
14         siteprefix='/usr/local';
15         vendorprefix='/usr/local'; usevendorprefix='define';
16
17         # 4BSD uses ${prefix}/share/man, not ${prefix}/man.
18         # Don't put man pages in ${prefix}/lib; that's goofy.
19         man1dir="${prefix}/share/man/man1";
20         man3dir="${prefix}/share/man/man3";
21
22         # Where to put modules.
23         # Built-in perl uses /System/Library/Perl
24         privlib='/Local/Library/Perl';
25         sitelib='/Local/Library/Perl';
26         vendorlib='/Network/Library/Perl';
27         ;;
28 esac
29
30 ##
31 # Tool chain settings
32 ##
33
34 # Since we can build fat, the archname doesn't need the processor type
35 archname='rhapsody';
36
37 # nm works.
38 usenm='true';
39   
40 # Libc is in libsystem.
41 libc='/System/Library/Frameworks/System.framework/System';
42
43 # Optimize.
44 optimize='-O3';
45
46 # XXX Unclear why we require -pipe and -fno-common here.
47 ccflags="${ccflags} -pipe -fno-common"
48
49 # cpp-precomp is problematic.
50 cppflags='-traditional-cpp';
51
52 # Shared library extension is .dylib.
53 # Bundle extension is .bundle.
54 ld='cc';
55 so='dylib';
56 dlext='bundle';
57 dlsrc='dl_dyld.xs';
58 usedl='define';
59 cccdlflags='';
60 lddlflags="${ldflags} -bundle -undefined suppress";
61 ldlibpthname='DYLD_LIBRARY_PATH';
62 useshrplib='true';
63
64 ##
65 # System libraries
66 ##
67   
68 # vfork works
69 usevfork='true';
70
71 # malloc works
72 usemymalloc='n';
73
74 # Case-insensitive filesystems don't get along with Makefile and
75 # makefile in the same place.  Since Darwin uses GNU make, this dodges
76 # the problem.
77 firstmakefile=GNUmakefile;