NetBSD/lib/libc/arch/arm32/fplib/Makefile.inc

24 lines
814 B
Makefile

# $NetBSD: Makefile.inc,v 1.5 1998/01/22 20:05:20 cgd Exp $
.PATH: ${.CURDIR}/arch/arm32/fplib
SRCS+=fplib_glue.S fplib_libc.c softfloat.c
softfloat.o: softfloat.c
@echo ${COMPILE.c:Q} -freg-struct-return ${.IMPSRC}
@${COMPILE.c} -freg-struct-return ${.IMPSRC} -o ${.TARGET}.o
@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
softfloat.po: softfloat.c
@echo ${COMPILE.c:Q} -pg -freg-struct-return ${.IMPSRC} -o ${.TARGET}
@${COMPILE.c} -pg -freg-struct-return ${.IMPSRC} -o ${.TARGET}.o
@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
softfloat.so: softfloat.c
@echo ${COMPILE.c:Q} ${CPICFLAGS} -freg-struct-return ${.IMPSRC} -o ${.TARGET}
@${COMPILE.c} ${CPICFLAGS} -freg-struct-return ${.IMPSRC} -o ${.TARGET}.o
@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o