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