Changeset View
Changeset View
Standalone View
Standalone View
head/lib/csu/powerpc/Makefile
Show All 21 Lines | |||||
# See the comment in lib/csu/common/crtbrand.c for the reason crt1.c is not | # See the comment in lib/csu/common/crtbrand.c for the reason crt1.c is not | ||||
# directly compiled to .o files. | # directly compiled to .o files. | ||||
crt1.s: crt1.c | crt1.s: crt1.c | ||||
${CC} ${CFLAGS} -S -o ${.TARGET} ${.CURDIR}/crt1.c | ${CC} ${CFLAGS} -S -o ${.TARGET} ${.CURDIR}/crt1.c | ||||
sed ${SED_FIX_NOTE} ${.TARGET} | sed ${SED_FIX_NOTE} ${.TARGET} | ||||
crt1.o: crt1.s | crt1.o: crt1.s | ||||
${CC} ${ACFLAGS} -c -o ${.TARGET} crt1.s | ${CC} ${CFLAGS:N-g} ${ACFLAGS} -c -o ${.TARGET} crt1.s | ||||
gcrt1.s: crt1.c | gcrt1.s: crt1.c | ||||
${CC} ${CFLAGS} -DGCRT -S -o ${.TARGET} ${.CURDIR}/crt1.c | ${CC} ${CFLAGS} -DGCRT -S -o ${.TARGET} ${.CURDIR}/crt1.c | ||||
sed ${SED_FIX_NOTE} ${.TARGET} | sed ${SED_FIX_NOTE} ${.TARGET} | ||||
gcrt1.o: gcrt1.s | gcrt1.o: gcrt1.s | ||||
${CC} ${ACFLAGS} -c -o ${.TARGET} gcrt1.s | ${CC} ${CFLAGS:N-g} ${ACFLAGS} -c -o ${.TARGET} gcrt1.s | ||||
Scrt1.s: crt1.c | Scrt1.s: crt1.c | ||||
${CC} ${CFLAGS} -fPIC -DPIC -S -o ${.TARGET} ${.CURDIR}/crt1.c | ${CC} ${CFLAGS} -fPIC -DPIC -S -o ${.TARGET} ${.CURDIR}/crt1.c | ||||
sed ${SED_FIX_NOTE} ${.TARGET} | sed ${SED_FIX_NOTE} ${.TARGET} | ||||
Scrt1.o: Scrt1.s | Scrt1.o: Scrt1.s | ||||
${CC} ${ACFLAGS} -c -o ${.TARGET} Scrt1.s | ${CC} ${CFLAGS:N-g} ${ACFLAGS} -c -o ${.TARGET} Scrt1.s | ||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> |