Commit | Line | Data |
c4f23d77 |
1 | # BeOS hints file |
2 | # $Id: beos.sh,v 1.1 1998/02/16 03:51:45 dogcow Exp $ |
3 | |
46193409 |
4 | if [ ! -f beos/nm ]; then mwcc -w all -o beos/nm beos/nm.c 2>/dev/null; fi |
5 | # If this fails, that's all right - it's only for PPC. |
c4f23d77 |
6 | |
7 | prefix="/boot/home/config" |
8 | |
46193409 |
9 | #cpp="mwcc -e" |
c4f23d77 |
10 | |
11 | libpth='/boot/beos/system/lib /boot/home/config/lib' |
12 | usrinc='/boot/develop/headers/posix' |
13 | locinc='/boot/develop/headers/ /boot/home/config/include' |
14 | |
15 | libc='/boot/beos/system/lib/libroot.so' |
16 | libs=' ' |
17 | |
18 | d_bcmp='define' |
19 | d_bcopy='define' |
20 | d_bzero='define' |
21 | d_index='define' |
22 | #d_htonl='define' # It exists, but much hackery would be required to support. |
23 | # a bunch of extra includes would have to be added, and it's only used at |
24 | # one place in the non-socket perl code. |
25 | |
26 | #these are all in libdll.a, which my version of nm doesn't know how to parse. |
27 | #if I can get it to both do that, and scan multiple library files, perhaps |
28 | #these can be gotten rid of. |
29 | |
30 | usemymalloc='n' |
31 | # Hopefully, Be's malloc knows better than perl's. |
32 | |
33 | d_link='undef' |
34 | dont_use_nlink='define' |
35 | # no posix (aka hard) links for us! |
36 | |
37 | d_syserrlst='undef' |
38 | # the array syserrlst[] is useless for the most part. |
39 | # large negative numbers really kind of suck in arrays. |
40 | |
4804698d |
41 | # Sockets didn't use to be real sockets but BONE changes this. |
42 | # How does one test for BONEness? |
43 | if [ ! -f /some/bone/file.h ]; then |
44 | d_socket='undef' |
45 | d_gethbyaddr='undef' |
46 | d_gethbyname='undef' |
47 | d_getsbyname='undef' |
48 | fi |
46193409 |
49 | |
50 | ld='gcc' |
51 | |
c4f23d77 |
52 | export PATH="$PATH:$PWD/beos" |
5cf1d1f1 |
53 | |
54 | case "$ldlibpthname" in |
55 | '') ldlibpthname=LIBRARY_PATH ;; |
56 | esac |
ddeecc1f |
57 | |
efca5cc6 |
58 | # the waitpid() wrapper |
8c747ec4 |
59 | archobjs="beos.o" |
60 | test -f beos.c || cp beos/beos.c . |
61 | |
62 | |