Commit | Line | Data |
f556e5b9 |
1 | ## |
2 | # Darwin (Mac OS) hints |
3 | # Wilfredo Sanchez <wsanchez@apple.com> |
4 | ## |
5 | |
6 | ## |
7 | # Paths |
8 | ## |
9 | |
10 | # BSD paths |
11 | prefix='/usr'; |
12 | siteprefix='/usr/local'; |
13 | vendorprefix='/usr/local'; usevendorprefix='define'; |
14 | |
15 | # 4BSD uses /usr/share/man, not /usr/man. |
16 | # Don't put man pages in /usr/lib; that's goofy. |
17 | man1dir='/usr/share/man/man1'; |
18 | man3dir='/usr/share/man/man3'; |
19 | |
20 | # Where to put modules. |
21 | privlib='/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='darwin'; |
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 | |
2ece6c11 |
44 | # For Errno. |
45 | cppflags='-traditional-cpp'; |
46 | |
f556e5b9 |
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'; usedl='define'; |
c374061b |
53 | cccdlflags=' '; # space, not empty, because otherwise we get -fpic |
f556e5b9 |
54 | lddlflags="${ldflags} -bundle -undefined suppress"; |
55 | ldlibpthname='DYLD_LIBRARY_PATH'; |
56 | useshrplib='true'; |
57 | |
58 | ## |
59 | # System libraries |
60 | ## |
61 | |
62 | # vfork works |
63 | usevfork='true'; |
64 | |
65 | # malloc works |
66 | usemymalloc='n'; |
2ece6c11 |
67 | |