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
|
|
|
|
2001-10-27 08:29:03 +00:00
|
|
|
SRCS= crt1.c crti.S crtn.S
|
|
|
|
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
2000-04-19 23:46:21 +00:00
|
|
|
OBJS+= gcrt1.o
|
2001-10-27 08:29:03 +00:00
|
|
|
CFLAGS+= -Wall -Wno-unused \
|
2002-03-29 22:43:43 +00:00
|
|
|
-I${.CURDIR}/../common \
|
|
|
|
-I${.CURDIR}/../../libc/include
|
2000-04-19 23:46:21 +00:00
|
|
|
|
2002-05-13 11:51:11 +00:00
|
|
|
all: ${OBJS}
|
2000-04-19 23:46:21 +00:00
|
|
|
|
2002-05-13 15:28:00 +00:00
|
|
|
CLEANFILES= ${OBJS}
|
|
|
|
|
2001-10-27 08:29:03 +00:00
|
|
|
gcrt1.o: crt1.c
|
2000-04-19 23:46:21 +00:00
|
|
|
${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
|
|
|
|
|
|
|
|
realinstall:
|
|
|
|
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
2002-05-13 11:51:11 +00:00
|
|
|
${OBJS} ${DESTDIR}${LIBDIR}
|
2000-04-19 23:46:21 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|