Makefile revision 67811
1# $FreeBSD: head/lib/csu/ia64/Makefile 67811 2000-10-28 21:26:48Z obrien $
2
3.PATH: ${.CURDIR}/../common
4
5SRCS=		crt1.c crtbegin.c crtend.c
6OBJS=		crt1.o crtbegin.o crtend.o
7OBJS+=		gcrt1.o
8SOBJS=		crtbegin.So crtend.So
9CFLAGS+=	-Wall -Wno-unused
10CFLAGS+=	-I${.CURDIR}/../common
11NOMAN=		true
12NOPIC=		true
13NOPROFILE=	true
14INTERNALLIB=	true
15
16all: ${OBJS} ${SOBJS}
17
18gcrt1.o:  crt1.c
19	${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
20
21realinstall:
22.for file in ${OBJS} ${SOBJS}
23	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
24	    ${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/}
25.endfor
26
27.include <bsd.lib.mk>
28