Makefile revision 70658
1# $FreeBSD: head/lib/csu/powerpc/Makefile 70658 2001-01-04 10:27:04Z obrien $
2
3SRCS=		crt1.c crti.S crtn.S
4OBJS=		${SRCS:N*.h:R:S/$/.o/g}
5OBJS+=		gcrt1.o
6CFLAGS+=	-Wall -Wno-unused \
7		-I${.CURDIR}/../common
8NOMAN=		true
9NOPIC=		true
10NOPROFILE=	true
11INTERNALLIB=	true
12
13.PATH:		${.CURDIR}/../common
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