Makefile revision 217375
170658Sobrien# $FreeBSD: head/lib/csu/powerpc64/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} 7209869SnwhitehornOBJS+= gcrt1.o 8209869SnwhitehornCFLAGS+= -Wall -Wno-unused \ 9209869Snwhitehorn -I${.CURDIR}/../common \ 1093399Smarkm -I${.CURDIR}/../../libc/include 1170658Sobrien 1296516Sruall: ${OBJS} 1370658Sobrien 1496530SruCLEANFILES= ${OBJS} 15217375SdimCLEANFILES+= crt1.s gcrt1.s 1696530Sru 17217375Sdim# See the comment in lib/csu/common/crtbrand.c for the reason crt1.c is not 18217375Sdim# directly compiled to .o files. 1970658Sobrien 20217375Sdimcrt1.s: crt1.c 21217375Sdim ${CC} ${CFLAGS} -S -o ${.TARGET} ${.CURDIR}/crt1.c 22217375Sdim sed -i "" -e '/\.note\.ABI-tag/s/progbits/note/' ${.TARGET} 23217375Sdim 24217375Sdimcrt1.o: crt1.s 25217375Sdim ${CC} ${CFLAGS} -c -o ${.TARGET} crt1.s 26217375Sdim 27217375Sdimgcrt1.s: crt1.c 28217375Sdim ${CC} ${CFLAGS} -DGCRT -S -o ${.TARGET} ${.CURDIR}/crt1.c 29217375Sdim sed -i "" -e '/\.note\.ABI-tag/s/progbits/note/' ${.TARGET} 30217375Sdim 31217375Sdimgcrt1.o: gcrt1.s 32217375Sdim ${CC} ${CFLAGS} -c -o ${.TARGET} gcrt1.s 33217375Sdim 3470658Sobrienrealinstall: 35100872Sru ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 3696516Sru ${OBJS} ${DESTDIR}${LIBDIR} 3770658Sobrien 3870658Sobrien.include <bsd.lib.mk> 39