freebsd-dev/lib/csu/sparc64/Makefile

27 lines
570 B
Makefile
Raw Normal View History

# $FreeBSD$
.PATH: ${.CURDIR}/../common
SRCS= crt1.c crti.S crtn.S crtbegin.c crtend.c
2001-12-15 21:41:11 +00:00
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= gcrt1.o
SOBJS= crtbegin.So crtend.So
CFLAGS+= -I${.CURDIR}/../common -I${.CURDIR}/../../libc/include
NOMAN= true
NOPIC= true
NOPROFILE= true
INTERNALLIB= true
all: ${OBJS} ${SOBJS}
gcrt1.o: crt1.c
${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>