Commit | Line | Data |
8f1f23e8 |
1 | ## |
2 | # Rhapsody (Mac OS X Server) hints |
437cf188 |
3 | # Wilfredo Sanchez <wsanchez@mit.edu> |
8f1f23e8 |
4 | ## |
5 | |
f556e5b9 |
6 | ## |
7 | # Paths |
8 | ## |
8f1f23e8 |
9 | |
f556e5b9 |
10 | # BSD paths |
4e644a1e |
11 | prefix='/usr/local'; # Built-in perl uses /usr |
f556e5b9 |
12 | siteprefix='/usr/local'; |
13 | vendorprefix='/usr/local'; usevendorprefix='define'; |
8f1f23e8 |
14 | |
4e644a1e |
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"; |
f556e5b9 |
19 | |
20 | # Where to put modules. |
4e644a1e |
21 | privlib='/Local/Library/Perl'; # Built-in perl uses /System/Library/Perl |
f556e5b9 |
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'; |
8f1f23e8 |
31 | |
32 | # nm works. |
33 | usenm='true'; |
f556e5b9 |
34 | |
35 | # Libc is in libsystem. |
36 | libc='/System/Library/Frameworks/System.framework/System'; |
8f1f23e8 |
37 | |
38 | # Optimize. |
39 | optimize='-O3'; |
40 | |
41 | # We have a prototype for telldir. |
f556e5b9 |
42 | ccflags="${ccflags} -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE"; |
8f1f23e8 |
43 | |
4e644a1e |
44 | # cpp-precomp is problematic. |
45 | cppflags='-traditional-cpp'; |
46 | |
f556e5b9 |
47 | # Shared library extension is .dylib. |
48 | # Bundle extension is .bundle. |
8f1f23e8 |
49 | ld='cc'; |
50 | so='dylib'; |
51 | dlext='bundle'; |
f556e5b9 |
52 | dlsrc='dl_dyld.xs'; |
53 | usedl='define'; |
8f1f23e8 |
54 | cccdlflags=''; |
55 | lddlflags="${ldflags} -bundle -undefined suppress"; |
f556e5b9 |
56 | ldlibpthname='DYLD_LIBRARY_PATH'; |
8f1f23e8 |
57 | useshrplib='true'; |
8f1f23e8 |
58 | |
f556e5b9 |
59 | ## |
60 | # System libraries |
61 | ## |
62 | |
8f1f23e8 |
63 | # vfork works |
64 | usevfork='true'; |
65 | |
66 | # malloc works |
67 | usemymalloc='n'; |
5cf1d1f1 |
68 | |
4e644a1e |
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. |
437cf188 |
72 | firstmakefile=GNUmakefile; |