1 # We want fine grained libraries, so use the new code to build the
2 # floating point emulation libraries.
6 dp-bit.c: $(srcdir)/config/fp-bit.c
7 echo '#ifdef __MIPSEL__' > dp-bit.c
8 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
9 echo '#endif' >> dp-bit.c
10 echo '#define US_SOFTWARE_GOFAST' >> dp-bit.c
11 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
13 fp-bit.c: $(srcdir)/config/fp-bit.c
14 echo '#define FLOAT' > fp-bit.c
15 echo '#ifdef __MIPSEL__' >> fp-bit.c
16 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
17 echo '#endif' >> fp-bit.c
18 echo '#define US_SOFTWARE_GOFAST' >> fp-bit.c
19 cat $(srcdir)/config/fp-bit.c >> fp-bit.c