# Do not build libgcc1.
LIBGCC1 =
CROSS_LIBGCC1 =

EXTRA_HEADERS = $(srcdir)/ginclude/ppc-asm.h

# At present, we don't have a cross linker, so turn this off
LIBGCC1_TEST = 

# These are really part of libgcc1, but this will cause them to be
# built correctly, so... [taken from t-sparclite]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c ntstack.s

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

ntstack.s: $(srcdir)/config/rs6000/ntstack.asm
	cat $(srcdir)/config/rs6000/ntstack.asm > ntstack.s
