Makefile revision 96463
1# $FreeBSD: head/lib/csu/sparc64/Makefile 96463 2002-05-12 16:21:23Z ru $
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
9NOMAN=		true
10NOPIC=		true
11NOPROFILE=	true
12INTERNALLIB=	true
13
14all: ${OBJS} ${SOBJS}
15
16gcrt1.o: crt1.c
17	${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
18
19realinstall:
20.for file in ${OBJS} ${SOBJS}
21	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
22	    ${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/}
23.endfor
24
25.include <bsd.lib.mk>
26