t-beos revision 90075
190075Sobrien# We want fine grained libraries, so use the new code to build the 290075Sobrien# floating point emulation libraries. 390075SobrienFPBIT = fp-bit.c 490075SobrienDPBIT = dp-bit.c 590075Sobrien 690075Sobriendp-bit.c: $(srcdir)/config/fp-bit.c 790075Sobrien cat $(srcdir)/config/fp-bit.c > dp-bit.c 890075Sobrien 990075Sobrienfp-bit.c: $(srcdir)/config/fp-bit.c 1090075Sobrien echo '#define FLOAT' > fp-bit.c 1190075Sobrien cat $(srcdir)/config/fp-bit.c >> fp-bit.c 1290075Sobrien 1390075Sobrien# Build the libraries for both hard and soft floating point 1490075Sobrien 1590075SobrienMULTILIB_OPTIONS = msoft-float mcpu=common 1690075SobrienMULTILIB_DIRNAMES = soft-float common 1790075Sobrien 1890075SobrienLIBGCC = stmp-multilib 1990075SobrienINSTALL_LIBGCC = install-multilib 2090075Sobrien 2190075Sobrien# This is probably the correct define, to override the Makefile 2290075Sobrien# default, but using it causes more problems than it solves. 2390075Sobrien# 2490075Sobrien# Using it will cause fixincludes to try and fix some of the 2590075Sobrien# mwcc header files, which it seems to do a poor job of. On 2690075Sobrien# the other hand, not using it will only cause the gcc version 2790075Sobrien# of limits.h to lack the header and trailer parts that are 2890075Sobrien# tacked on to it when there is a limits.h in the system header 2990075Sobrien# dir. 3090075Sobrien# 3190075Sobrien# For now it is probably better to change the rule for 3290075Sobrien# LIMITS_H_TEST to explicitly look for the BeOS limits.h. 3390075Sobrien# If the gcc limits.h is not set up to #include_next the 3490075Sobrien# BeOS limits.h, then some things will go undefined, like 3590075Sobrien# PATH_MAX. 3690075Sobrien 3790075Sobrien#SYSTEM_HEADER_DIR=/boot/develop/headers/posix 3890075Sobrien# Test to see whether <limits.h> exists in the system header files. 3990075SobrienLIMITS_H_TEST = [ -f /boot/develop/headers/posix/limits.h ] 4090075Sobrien 4190075Sobrien# Aix 3.2.x needs milli.exp for -mcpu=common 4290075SobrienEXTRA_PARTS = milli.exp 4390075Sobrienmilli.exp: $(srcdir)/config/rs6000/milli.exp 4490075Sobrien rm -f milli.exp 4590075Sobrien cp $(srcdir)/config/rs6000/milli.exp ./milli.exp 4690075Sobrien 4790075Sobrien# Don't use collect. 4890075SobrienUSE_COLLECT2 = 49