1998-03-10 07:04:18 +00:00
|
|
|
#
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1998-03-10 07:04:18 +00:00
|
|
|
#
|
|
|
|
|
1998-03-11 20:41:55 +00:00
|
|
|
SRCS= crt1.c crtbegin.c crtend.c
|
|
|
|
OBJS= crt1.o crtbegin.o crtend.o
|
1999-07-16 06:59:27 +00:00
|
|
|
OBJS+= gcrt1.o
|
1999-01-09 21:51:00 +00:00
|
|
|
SOBJS= crtbegin.So crtend.So
|
1999-04-24 02:07:17 +00:00
|
|
|
CFLAGS+= -Wall -Wno-unused
|
1998-03-10 07:04:18 +00:00
|
|
|
NOMAN= true
|
|
|
|
NOPIC= true
|
|
|
|
NOPROFILE= true
|
|
|
|
INTERNALLIB= true
|
1998-03-11 20:41:55 +00:00
|
|
|
|
2000-05-23 04:53:24 +00:00
|
|
|
.PATH: ${.CURDIR}/../common
|
|
|
|
|
1998-03-10 07:04:18 +00:00
|
|
|
all: ${OBJS} ${SOBJS}
|
|
|
|
|
1999-07-16 06:59:27 +00:00
|
|
|
gcrt1.o: crt1.c
|
2000-04-19 23:45:43 +00:00
|
|
|
${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
|
1999-07-16 06:59:27 +00:00
|
|
|
|
1998-03-10 07:04:18 +00:00
|
|
|
realinstall:
|
|
|
|
.for file in ${OBJS} ${SOBJS}
|
|
|
|
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
1999-01-09 21:51:00 +00:00
|
|
|
${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/}
|
1998-03-10 07:04:18 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|