2001-12-15 21:36:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../common
|
|
|
|
|
2002-05-10 01:36:29 +00:00
|
|
|
SRCS= crt1.c crti.S crtn.S
|
2001-12-15 21:41:11 +00:00
|
|
|
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
2009-12-02 16:34:20 +00:00
|
|
|
OBJS+= Scrt1.o gcrt1.o
|
2002-04-08 20:31:20 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../common -I${.CURDIR}/../../libc/include
|
2001-12-15 21:36:30 +00:00
|
|
|
|
2015-09-21 18:39:13 +00:00
|
|
|
FILES= ${OBJS}
|
|
|
|
FILESMODE= ${LIBMODE}
|
|
|
|
FILESOWN= ${LIBOWN}
|
|
|
|
FILESGRP= ${LIBGRP}
|
|
|
|
FILESDIR= ${LIBDIR}
|
2015-09-21 21:44:02 +00:00
|
|
|
# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY.
|
|
|
|
.undef LIBRARIES_ONLY
|
2001-12-15 21:36:30 +00:00
|
|
|
|
2002-05-13 15:28:00 +00:00
|
|
|
CLEANFILES= ${OBJS}
|
|
|
|
|
2002-03-10 23:33:49 +00:00
|
|
|
gcrt1.o: crt1.c
|
2001-12-15 21:36:30 +00:00
|
|
|
${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
|
|
|
|
|
2009-12-02 16:34:20 +00:00
|
|
|
Scrt1.o: crt1.c
|
|
|
|
${CC} ${CFLAGS} -fPIC -DPIC -c -o Scrt1.o ${.ALLSRC}
|
|
|
|
|
2001-12-15 21:36:30 +00:00
|
|
|
.include <bsd.lib.mk>
|