1# $FreeBSD$ 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 11 12all: ${OBJS} 13 14CLEANFILES= ${OBJS} 15 16gcrt1.o: crt1.c 17 ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC} 18 19realinstall: 20 ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 21 ${OBJS} ${DESTDIR}${LIBDIR} 22 23.include <bsd.lib.mk> 24