Deleted Added
full compact
Makefile (232932) Makefile (234502)
1# $FreeBSD: head/lib/csu/powerpc64/Makefile 232932 2012-03-13 18:59:19Z nwhitehorn $
1# $FreeBSD: head/lib/csu/powerpc64/Makefile 234502 2012-04-20 21:00:39Z dim $
2
3.PATH: ${.CURDIR}/../common
4
5SRCS= crt1.c crti.S crtn.S
6OBJS= ${SRCS:N*.h:R:S/$/.o/g}
7OBJS+= Scrt1.o gcrt1.o
8CFLAGS+= -I${.CURDIR}/../common \
9 -I${.CURDIR}/../../libc/include \

--- 7 unchanged lines hidden (view full) ---

17# See the comment in lib/csu/common/crtbrand.c for the reason crt1.c is not
18# directly compiled to .o files.
19
20crt1.s: crt1.c
21 ${CC} ${CFLAGS} -S -o ${.TARGET} ${.CURDIR}/crt1.c
22 sed ${SED_FIX_NOTE} ${.TARGET}
23
24crt1.o: crt1.s
2
3.PATH: ${.CURDIR}/../common
4
5SRCS= crt1.c crti.S crtn.S
6OBJS= ${SRCS:N*.h:R:S/$/.o/g}
7OBJS+= Scrt1.o gcrt1.o
8CFLAGS+= -I${.CURDIR}/../common \
9 -I${.CURDIR}/../../libc/include \

--- 7 unchanged lines hidden (view full) ---

17# See the comment in lib/csu/common/crtbrand.c for the reason crt1.c is not
18# directly compiled to .o files.
19
20crt1.s: crt1.c
21 ${CC} ${CFLAGS} -S -o ${.TARGET} ${.CURDIR}/crt1.c
22 sed ${SED_FIX_NOTE} ${.TARGET}
23
24crt1.o: crt1.s
25 ${CC} ${CFLAGS} -c -o ${.TARGET} crt1.s
25 ${CC} ${ACFLAGS} -c -o ${.TARGET} crt1.s
26
27gcrt1.s: crt1.c
28 ${CC} ${CFLAGS} -DGCRT -S -o ${.TARGET} ${.CURDIR}/crt1.c
29 sed ${SED_FIX_NOTE} ${.TARGET}
30
31gcrt1.o: gcrt1.s
26
27gcrt1.s: crt1.c
28 ${CC} ${CFLAGS} -DGCRT -S -o ${.TARGET} ${.CURDIR}/crt1.c
29 sed ${SED_FIX_NOTE} ${.TARGET}
30
31gcrt1.o: gcrt1.s
32 ${CC} ${CFLAGS} -c -o ${.TARGET} gcrt1.s
32 ${CC} ${ACFLAGS} -c -o ${.TARGET} gcrt1.s
33
34Scrt1.s: crt1.c
35 ${CC} ${CFLAGS} -fPIC -DPIC -S -o ${.TARGET} ${.CURDIR}/crt1.c
36 sed ${SED_FIX_NOTE} ${.TARGET}
37
38Scrt1.o: Scrt1.s
33
34Scrt1.s: crt1.c
35 ${CC} ${CFLAGS} -fPIC -DPIC -S -o ${.TARGET} ${.CURDIR}/crt1.c
36 sed ${SED_FIX_NOTE} ${.TARGET}
37
38Scrt1.o: Scrt1.s
39 ${CC} ${CFLAGS} -c -o ${.TARGET} Scrt1.s
39 ${CC} ${ACFLAGS} -c -o ${.TARGET} Scrt1.s
40
41realinstall:
42 ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
43 ${OBJS} ${DESTDIR}${LIBDIR}
44
45.include <bsd.lib.mk>
40
41realinstall:
42 ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
43 ${OBJS} ${DESTDIR}${LIBDIR}
44
45.include <bsd.lib.mk>