1MULTILIB_OPTIONS=mabi=n32/mabi=32/mabi=64
2MULTILIB_DIRNAMES=n32 32 64
3MULTILIB_MATCHES=
4MULTILIB_OSDIRNAMES=../lib32 ../lib ../lib64
5
6LIBGCC = stmp-multilib
7INSTALL_LIBGCC = install-multilib
8
9LIB2FUNCS_EXTRA = $(srcdir)/config/fixtfdi.c $(srcdir)/config/fixunstfdi.c $(srcdir)/config/floatditf.c $(srcdir)/config/floatunditf.c
10
11TPBIT = tp-bit.c
12
13tp-bit.c: $(srcdir)/config/fp-bit.c
14	echo '#ifdef __MIPSEL__' > tp-bit.c
15	echo '# define FLOAT_BIT_ORDER_MISMATCH' >> tp-bit.c
16	echo '#endif' >> tp-bit.c
17	echo '#define QUIET_NAN_NEGATED' >> tp-bit.c
18	echo '#if __LDBL_MANT_DIG__ == 106' >> tp-bit.c
19	echo '# define TFLOAT' >> tp-bit.c
20	cat $(srcdir)/config/fp-bit.c >> tp-bit.c
21	echo '#endif' >> tp-bit.c
22