Makefile revision 96411
1# $FreeBSD: head/lib/csu/sparc64/Makefile 96411 2002-05-11 17:45:03Z obrien $
2
3.PATH: ${.CURDIR}/../common
4
5SRCS=		crt1.c crti.S crtn.S
6OBJS=		${SRCS:N*.h:R:S/$/.o/g}
7OBJS+=		gcrt1.o
8CFLAGS+=	-I${.CURDIR}/../common -I${.CURDIR}/../../libc/include
9NOLIB=		true
10
11all: ${OBJS} ${SOBJS}
12
13gcrt1.o: crt1.c
14	${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
15
16realinstall:
17.for file in ${OBJS} ${SOBJS}
18	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
19	    ${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/}
20.endfor
21
22.include <bsd.lib.mk>
23