Makefile revision 96411
1# $FreeBSD: head/lib/csu/ia64/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+=	-Wall -Wno-unused \
9		-I${.CURDIR}/../common \
10		-I${.CURDIR}/../../libc/include
11NOLIB=		true
12
13all: ${OBJS} ${SOBJS}
14
15gcrt1.o: crt1.c
16	${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
17
18realinstall:
19.for file in ${OBJS} ${SOBJS}
20	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
21	    ${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/}
22.endfor
23
24.include <bsd.lib.mk>
25