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