Deleted Added
sdiff udiff text old ( 96463 ) new ( 96512 )
full compact
1# $FreeBSD: head/lib/csu/amd64/Makefile 96512 2002-05-13 10:53:24Z 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+= -elf -Wall \
9 -I${.CURDIR}/../common \
10 -I${.CURDIR}/../../libc/include
11LDFLAGS+= -elf
12
13all: ${OBJS} ${SOBJS}
14
15gcrt1.o: crt1.c
16 ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c
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>