Deleted Added
full compact
Makefile (232832) Makefile (234502)
1# $FreeBSD: head/lib/csu/arm/Makefile 232832 2012-03-11 20:04:09Z kib $
1# $FreeBSD: head/lib/csu/arm/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

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

16# See the comment in lib/csu/common/crtbrand.c for the reason crt1.c is not
17# directly compiled to .o files.
18
19crt1.s: crt1.c
20 ${CC} ${CFLAGS} -S -o ${.TARGET} ${.CURDIR}/crt1.c
21 sed ${SED_FIX_NOTE} ${.TARGET}
22
23crt1.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

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

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