diff options
Diffstat (limited to 'lib/csu/sparc64')
-rw-r--r-- | lib/csu/sparc64/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/csu/sparc64/Makefile b/lib/csu/sparc64/Makefile new file mode 100644 index 0000000..a2d6890 --- /dev/null +++ b/lib/csu/sparc64/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../common + +SRCS= crt1.c crtbegin.c crtend.c +OBJS= crt1.o crtbegin.o crtend.o +OBJS+= gcrt1.o +SOBJS= crtbegin.So crtend.So +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> |