Makefile revision 217375
170658Sobrien# $FreeBSD: head/lib/csu/powerpc/Makefile 217375 2011-01-13 20:44:31Z dim $ 270658Sobrien 385595Sobrien.PATH: ${.CURDIR}/../common 485595Sobrien 570658SobrienSRCS= crt1.c crti.S crtn.S 670658SobrienOBJS= ${SRCS:N*.h:R:S/$/.o/g} 7200038SkibOBJS+= Scrt1.o gcrt1.o 8204757SuqsCFLAGS+= -I${.CURDIR}/../common \ 993399Smarkm -I${.CURDIR}/../../libc/include 1070658Sobrien 1196516Sruall: ${OBJS} 1270658Sobrien 1396530SruCLEANFILES= ${OBJS} 14217375SdimCLEANFILES+= crt1.s gcrt1.s Scrt1.s 1596530Sru 16217375Sdim# See the comment in lib/csu/common/crtbrand.c for the reason crt1.c is not 17217375Sdim# directly compiled to .o files. 1870658Sobrien 19217375Sdimcrt1.s: crt1.c 20217375Sdim ${CC} ${CFLAGS} -S -o ${.TARGET} ${.CURDIR}/crt1.c 21217375Sdim sed -i "" -e '/\.note\.ABI-tag/s/progbits/note/' ${.TARGET} 22200038Skib 23217375Sdimcrt1.o: crt1.s 24217375Sdim ${CC} ${CFLAGS} -c -o ${.TARGET} crt1.s 25217375Sdim 26217375Sdimgcrt1.s: crt1.c 27217375Sdim ${CC} ${CFLAGS} -DGCRT -S -o ${.TARGET} ${.CURDIR}/crt1.c 28217375Sdim sed -i "" -e '/\.note\.ABI-tag/s/progbits/note/' ${.TARGET} 29217375Sdim 30217375Sdimgcrt1.o: gcrt1.s 31217375Sdim ${CC} ${CFLAGS} -c -o ${.TARGET} gcrt1.s 32217375Sdim 33217375SdimScrt1.s: crt1.c 34217375Sdim ${CC} ${CFLAGS} -fPIC -DPIC -S -o ${.TARGET} ${.CURDIR}/crt1.c 35217375Sdim sed -i "" -e '/\.note\.ABI-tag/s/progbits/note/' ${.TARGET} 36217375Sdim 37217375SdimScrt1.o: Scrt1.s 38217375Sdim ${CC} ${CFLAGS} -c -o ${.TARGET} Scrt1.s 39217375Sdim 4070658Sobrienrealinstall: 41100872Sru ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 4296516Sru ${OBJS} ${DESTDIR}${LIBDIR} 4370658Sobrien 4470658Sobrien.include <bsd.lib.mk> 45