2000-04-19 23:46:21 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-05-24 02:17:12 +00:00
|
|
|
.PATH: ${.CURDIR}/../common
|
2000-04-19 23:46:21 +00:00
|
|
|
|
|
|
|
SRCS= crt1.c crtbegin.c crtend.c
|
|
|
|
OBJS= crt1.o crtbegin.o crtend.o
|
|
|
|
OBJS+= gcrt1.o
|
|
|
|
SOBJS= crtbegin.So crtend.So
|
|
|
|
CFLAGS+= -Wall -Wno-unused
|
2000-10-28 21:26:48 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../common
|
2000-04-19 23:46:21 +00:00
|
|
|
NOMAN= true
|
|
|
|
NOPIC= true
|
|
|
|
NOPROFILE= true
|
|
|
|
INTERNALLIB= true
|
|
|
|
|
|
|
|
all: ${OBJS} ${SOBJS}
|
|
|
|
|
2000-05-24 02:17:12 +00:00
|
|
|
gcrt1.o: crt1.c
|
2000-04-19 23:46:21 +00:00
|
|
|
${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
|
|
|
|
|
|
|
|
realinstall:
|
|
|
|
.for file in ${OBJS} ${SOBJS}
|
|
|
|
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
|
|
${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|