aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-darwin
blob: d2e211f11edafd142f602258aa79a9248fdb48de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c

dp-bit.c: $(srcdir)/config/fp-bit.c
	cat $(srcdir)/config/fp-bit.c > dp-bit.c

fp-bit.c: $(srcdir)/config/fp-bit.c
	echo '#define FLOAT' > fp-bit.c
	cat $(srcdir)/config/fp-bit.c >> fp-bit.c

darwin.o: $(srcdir)/config/darwin.c
	$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/darwin.c

# Build the libraries for both hard and soft floating point

MULTILIB_OPTIONS = msoft-float
MULTILIB_DIRNAMES = soft-float

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib