1# 2# $FreeBSD: head/lib/csu/i386-elf/Makefile 67811 2000-10-28 21:26:48Z obrien $ 3#
| 1# $FreeBSD: head/lib/csu/i386-elf/Makefile 85594 2001-10-27 08:30:36Z obrien $
|
4
| 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 -fkeep-inline-functions \ 9 -I${.CURDIR}/../common 10LDFLAGS+= -elf 11NOMAN= true 12NOPIC= true 13NOPROFILE= true 14INTERNALLIB= true 15
| 5SRCS= crt1.c crti.S crtn.S 6OBJS= ${SRCS:N*.h:R:S/$/.o/g} 7OBJS+= gcrt1.o 8CFLAGS+= -elf -Wall -fkeep-inline-functions \ 9 -I${.CURDIR}/../common 10LDFLAGS+= -elf 11NOMAN= true 12NOPIC= true 13NOPROFILE= true 14INTERNALLIB= true 15
|
16.PATH: ${.CURDIR}/../common
| |
17 18all: ${OBJS} ${SOBJS} 19
| 16 17all: ${OBJS} ${SOBJS} 18
|
20gcrt1.o: crt1.c
| 19gcrt1.o: crt1.c
|
21 ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c 22 23realinstall: 24.for file in ${OBJS} ${SOBJS} 25 ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 26 ${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/} 27.endfor 28 29.include <bsd.lib.mk>
| 20 ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c 21 22realinstall: 23.for file in ${OBJS} ${SOBJS} 24 ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 25 ${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/} 26.endfor 27 28.include <bsd.lib.mk>
|