t-beos revision 90075
1# We want fine grained libraries, so use the new code to build the
2# floating point emulation libraries.
3FPBIT = fp-bit.c
4DPBIT = dp-bit.c
5
6dp-bit.c: $(srcdir)/config/fp-bit.c
7	cat $(srcdir)/config/fp-bit.c > dp-bit.c
8
9fp-bit.c: $(srcdir)/config/fp-bit.c
10	echo '#define FLOAT' > fp-bit.c
11	cat $(srcdir)/config/fp-bit.c >> fp-bit.c
12
13# Build the libraries for both hard and soft floating point
14
15MULTILIB_OPTIONS = msoft-float mcpu=common
16MULTILIB_DIRNAMES = soft-float common
17
18LIBGCC = stmp-multilib
19INSTALL_LIBGCC = install-multilib
20
21# This is probably the correct define, to override the Makefile
22# default, but using it causes more problems than it solves.
23#
24# Using it will cause fixincludes to try and fix some of the
25# mwcc header files, which it seems to do a poor job of.  On
26# the other hand, not using it will only cause the gcc version
27# of limits.h to lack the header and trailer parts that are
28# tacked on to it when there is a limits.h in the system header
29# dir.
30#
31# For now it is probably better to change the rule for
32# LIMITS_H_TEST to explicitly look for the BeOS limits.h.
33# If the gcc limits.h is not set up to #include_next the
34# BeOS limits.h, then some things will go undefined, like
35# PATH_MAX.
36
37#SYSTEM_HEADER_DIR=/boot/develop/headers/posix
38# Test to see whether <limits.h> exists in the system header files.
39LIMITS_H_TEST = [ -f /boot/develop/headers/posix/limits.h ]
40
41# Aix 3.2.x needs milli.exp for -mcpu=common
42EXTRA_PARTS = milli.exp
43milli.exp: $(srcdir)/config/rs6000/milli.exp
44	rm -f milli.exp
45	cp $(srcdir)/config/rs6000/milli.exp ./milli.exp
46
47# Don't use collect.
48USE_COLLECT2 =
49