xref: /openbsd/gnu/usr.bin/gcc/gcc/config/i960/t-960bare (revision c87b03e5)
1LIB2FUNCS_EXTRA = xp-bit.c
2
3# We want fine grained libraries, so use the new code to build the
4# floating point emulation libraries.
5FPBIT = fp-bit.c
6DPBIT = dp-bit.c
7
8dp-bit.c: $(srcdir)/config/fp-bit.c
9	echo '#define FLOAT_BIT_ORDER_MISMATCH' > dp-bit.c
10	cat $(srcdir)/config/fp-bit.c >> dp-bit.c
11
12fp-bit.c: $(srcdir)/config/fp-bit.c
13	echo '#define FLOAT' > fp-bit.c
14	echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
15	cat $(srcdir)/config/fp-bit.c >> fp-bit.c
16
17xp-bit.c: $(srcdir)/config/fp-bit.c
18	echo '#define EXTENDED_FLOAT_STUBS' > xp-bit.c
19	cat $(srcdir)/config/fp-bit.c >> xp-bit.c
20
21i960-c.o: $(srcdir)/config/i960/i960-c.c $(CONFIG_H) $(SYSTEM_H) cpplib.h \
22    $(TREE_H) c-pragma.h toplev.h $(GGC_H) $(TM_P_H)
23	$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
24
25MULTILIB_OPTIONS=mnumerics/msoft-float mlong-double-64
26MULTILIB_DIRNAMES=float soft-float ld64
27MULTILIB_MATCHES=mnumerics=msb mnumerics=msc mnumerics=mkb mnumerics=mkc mnumerics=mmc mnumerics=mcb mnumerics=mcc mnumerics=mjf msoft-float=msa msoft-float=mka msoft-float=mca msoft-float=mcf
28
29LIBGCC = stmp-multilib
30INSTALL_LIBGCC = install-multilib
31