Re: Patch for hints/darwin.sh
[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 prefix='/usr/local'; # Built-in perl uses /usr
12 siteprefix='/usr/local';
13 vendorprefix='/usr/local'; usevendorprefix='define';
14
15 # 4BSD uses ${prefix}/share/man, not ${prefix}/man.
16 # Don't put man pages in ${prefix}/lib; that's goofy.
17 man1dir="${prefix}/share/man/man1";
18 man3dir="${prefix}/share/man/man3";
19
20 # Where to put modules.
21 privlib='/Local/Library/Perl'; # Built-in perl uses /System/Library/Perl
22 sitelib='/Local/Library/Perl';
23 vendorlib='/Network/Library/Perl';
24
25 ##
26 # Tool chain settings
27 ##
28
29 # Since we can build fat, the archname doesn't need the processor type
30 archname='rhapsody';
31
32 # nm works.
33 usenm='true';
34   
35 # Libc is in libsystem.
36 libc='/System/Library/Frameworks/System.framework/System';
37
38 # Optimize.
39 optimize='-O3';
40
41 # We have a prototype for telldir.
42 ccflags="${ccflags} -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE";
43
44 # cpp-precomp is problematic.
45 cppflags='-traditional-cpp';
46
47 # Shared library extension is .dylib.
48 # Bundle extension is .bundle.
49 ld='cc';
50 so='dylib';
51 dlext='bundle';
52 dlsrc='dl_dyld.xs';
53 usedl='define';
54 cccdlflags='';
55 lddlflags="${ldflags} -bundle -undefined suppress";
56 ldlibpthname='DYLD_LIBRARY_PATH';
57 useshrplib='true';
58
59 ##
60 # System libraries
61 ##
62   
63 # vfork works
64 usevfork='true';
65
66 # malloc works
67 usemymalloc='n';
68
69 # Case-insensitive filesystems don't get along with Makefile and
70 # makefile in the same place.  Since Darwin uses GNU make, this dodges
71 # the problem.
72 firstmakefile=GNUmakefile;