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 |
e32f0149 |
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 |
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 |
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 |
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 |
36 | |
37 | # nm works. |
38 | usenm='true'; |
f556e5b9 |
39 | |
40 | # Libc is in libsystem. |
41 | libc='/System/Library/Frameworks/System.framework/System'; |
8f1f23e8 |
42 | |
43 | # Optimize. |
44 | optimize='-O3'; |
45 | |
0ac8ade1 |
46 | # XXX Unclear why we require -pipe and -fno-common here. |
47 | ccflags="${ccflags} -pipe -fno-common" |
8f1f23e8 |
48 | |
4e644a1e |
49 | # cpp-precomp is problematic. |
50 | cppflags='-traditional-cpp'; |
51 | |
f556e5b9 |
52 | # Shared library extension is .dylib. |
53 | # Bundle extension is .bundle. |
8f1f23e8 |
54 | ld='cc'; |
55 | so='dylib'; |
56 | dlext='bundle'; |
f556e5b9 |
57 | dlsrc='dl_dyld.xs'; |
58 | usedl='define'; |
8f1f23e8 |
59 | cccdlflags=''; |
60 | lddlflags="${ldflags} -bundle -undefined suppress"; |
f556e5b9 |
61 | ldlibpthname='DYLD_LIBRARY_PATH'; |
8f1f23e8 |
62 | useshrplib='true'; |
8f1f23e8 |
63 | |
f556e5b9 |
64 | ## |
65 | # System libraries |
66 | ## |
67 | |
8f1f23e8 |
68 | # vfork works |
69 | usevfork='true'; |
70 | |
71 | # malloc works |
72 | usemymalloc='n'; |
5cf1d1f1 |
73 | |
4e644a1e |
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; |