Commit | Line | Data |
760ac839 |
1 | ###################################################################### |
25b26da3 |
2 | # |
3 | # IMPORTANT: before you run 'make', you need to enter one of these two |
4 | # lines (depending on your shell): |
5 | # DYLD_LIBRARY_PATH=`pwd`; export DYLD_LIBRARY_PATH |
6 | # or |
7 | # setenv DYLD_LIBRARY_PATH `pwd` |
8 | # |
760ac839 |
9 | ###################################################################### |
10 | |
11 | # Posix support has been removed from NextStep |
12 | # |
25b26da3 |
13 | useposix='undef' |
14 | |
25b26da3 |
15 | libpth='/lib /usr/lib' |
16 | libswanted=' ' |
17 | libc='/NextLibrary/Frameworks/System.framework/System' |
18 | |
25b26da3 |
19 | ldflags='-dynamic -prebind' |
20 | lddlflags='-dynamic -bundle -undefined suppress' |
760ac839 |
21 | ccflags='-dynamic -fno-common -DUSE_NEXT_CTYPE -DUSE_PERL_SBRK -DHIDEMYMALLOC' |
25b26da3 |
22 | cccdlflags='none' |
23 | ld='cc' |
760ac839 |
24 | #optimize='-g -O' |
25b26da3 |
25 | |
7bac28a0 |
26 | ###################################################################### |
27 | # MAB support |
28 | ###################################################################### |
29 | # By default we will build for all architectures your development |
30 | # environment supports. If you only want to build for the platform |
31 | # you are on, simply comment or remove the line below. |
32 | # |
33 | # If you want to build for specific architectures, change the line |
34 | # below to something like |
bf5a71f0 |
35 | # |
77172323 |
36 | # archs='m68k i386' |
bf5a71f0 |
37 | # |
64a2d3c9 |
38 | archs=`/bin/lipo -info /usr/lib/libm.a | sed -n 's/^[^:]*:[^:]*: //p'` |
bf5a71f0 |
39 | |
3c321fdc |
40 | # |
7bac28a0 |
41 | # leave the following part alone |
42 | # |
43 | archcount=`echo $archs |wc -w` |
44 | if [ $archcount -gt 1 ] |
45 | then |
46 | for d in $archs |
47 | do |
48 | mabflags="$mabflags -arch $d" |
49 | done |
50 | ccflags="$ccflags $mabflags" |
51 | ldflags="$ldflags $mabflags" |
52 | lddlflags="$lddlflags $mabflags" |
53 | fi |
54 | ###################################################################### |
55 | # END MAB support |
56 | ###################################################################### |
bf5a71f0 |
57 | |
58 | useshprlib='true' |
25b26da3 |
59 | dlext='bundle' |
60 | so='dylib' |
61 | |
760ac839 |
62 | # |
63 | # The default prefix would be '/usr/local'. But since many people are |
64 | # likely to have still 3.3 machines on their network, we do not want |
65 | # to overwrite possibly existing 3.3 binaries. |
7bac28a0 |
66 | # You can use Configure -Dprefix=/foo/bar to override this, or simply |
67 | # remove the lines below. |
760ac839 |
68 | # |
bf5a71f0 |
69 | case "$prefix" in |
70 | '') prefix='/usr/local/OPENSTEP' ;; |
71 | esac |
72 | |
25b26da3 |
73 | archname='OPENSTEP-Mach' |
74 | |
7bac28a0 |
75 | # |
76 | # At least on m68k there are situations when memcmp doesn't behave |
77 | # as expected. So we'll use perl's memcmp. |
78 | # |
79 | d_sanemcmp='undef' |
80 | |
25b26da3 |
81 | d_strcoll='undef' |
82 | i_dbm='define' |
83 | i_utime='undef' |
84 | groupstype='int' |
85 | direntrytype='struct direct' |
77172323 |
86 | netdb_host_type='const char *' |
87 | netdb_hlen_type='int' |
25b26da3 |
88 | |
760ac839 |
89 | usemymalloc='y' |
25b26da3 |
90 | clocktype='int' |
91 | |
92 | # |
93 | # On some NeXT machines, the timestamp put by ranlib is not correct, and |
94 | # this may cause useless recompiles. Fix that by adding a sleep before |
95 | # running ranlib. The '5' is an empirical number that's "long enough." |
96 | # (Thanks to Andreas Koenig <k@franz.ww.tu-berlin.de>) |
97 | ranlib='sleep 5; /bin/ranlib' |