Add workaround for Darwin's (Mac OS X's) INT32_MIN
[p5sagit/p5-mst-13.2.git] / hints / rhapsody.sh
CommitLineData
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
11prefix='/usr';
12siteprefix='/usr/local';
13vendorprefix='/usr/local'; usevendorprefix='define';
8f1f23e8 14
f556e5b9 15# 4BSD uses /usr/share/man, not /usr/man.
16# Don't put man pages in /usr/lib; that's goofy.
17man1dir='/usr/share/man/man1';
18man3dir='/usr/share/man/man3';
19
20# Where to put modules.
21privlib='/System/Library/Perl';
22sitelib='/Local/Library/Perl';
23vendorlib='/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
30archname='rhapsody';
8f1f23e8 31
32# nm works.
33usenm='true';
f556e5b9 34
35# Libc is in libsystem.
36libc='/System/Library/Frameworks/System.framework/System';
8f1f23e8 37
38# Optimize.
39optimize='-O3';
40
41# We have a prototype for telldir.
f556e5b9 42ccflags="${ccflags} -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE";
8f1f23e8 43
f556e5b9 44# Shared library extension is .dylib.
45# Bundle extension is .bundle.
8f1f23e8 46ld='cc';
47so='dylib';
48dlext='bundle';
f556e5b9 49dlsrc='dl_dyld.xs';
50usedl='define';
8f1f23e8 51cccdlflags='';
52lddlflags="${ldflags} -bundle -undefined suppress";
f556e5b9 53ldlibpthname='DYLD_LIBRARY_PATH';
8f1f23e8 54useshrplib='true';
8f1f23e8 55
f556e5b9 56##
57# System libraries
58##
59
8f1f23e8 60# vfork works
61usevfork='true';
62
63# malloc works
64usemymalloc='n';
5cf1d1f1 65
437cf188 66# HFS+ will throw "make depend" into confusion since
67# Makefile and makefile are the same.
68firstmakefile=GNUmakefile;
5cf1d1f1 69