1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
2001-10-27 08:30:36 +00:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../common
|
1998-03-07 20:27:11 +00:00
|
|
|
|
2000-10-28 21:26:48 +00:00
|
|
|
SRCS= crt1.c crti.S crtn.S
|
1998-03-07 20:27:11 +00:00
|
|
|
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
1998-09-07 23:32:00 +00:00
|
|
|
OBJS+= gcrt1.o
|
2003-05-04 18:34:00 +00:00
|
|
|
WARNS?= 6
|
2003-06-04 11:21:18 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../common \
|
2002-03-29 22:43:43 +00:00
|
|
|
-I${.CURDIR}/../../libc/include
|
2000-05-20 17:47:29 +00:00
|
|
|
|
2002-05-13 11:51:11 +00:00
|
|
|
all: ${OBJS}
|
1998-03-07 20:27:11 +00:00
|
|
|
|
2002-05-13 15:28:00 +00:00
|
|
|
CLEANFILES= ${OBJS}
|
|
|
|
|
2001-10-27 08:30:36 +00:00
|
|
|
gcrt1.o: crt1.c
|
1998-09-07 23:32:00 +00:00
|
|
|
${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c
|
|
|
|
|
1998-03-07 20:27:11 +00:00
|
|
|
realinstall:
|
2002-07-29 09:40:17 +00:00
|
|
|
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
2002-05-13 11:51:11 +00:00
|
|
|
${OBJS} ${DESTDIR}${LIBDIR}
|
1998-03-07 20:27:11 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|