The instructions on doing something with src/lib/csu/powerpc.

This commit is contained in:
David E. O'Brien 2001-01-04 10:27:04 +00:00
parent 38b909640e
commit 6e88ecec2c

26
lib/csu/powerpc/Makefile Normal file
View File

@ -0,0 +1,26 @@
# $FreeBSD$
SRCS= crt1.c crti.S crtn.S
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= gcrt1.o
CFLAGS+= -Wall -Wno-unused \
-I${.CURDIR}/../common
NOMAN= true
NOPIC= true
NOPROFILE= true
INTERNALLIB= true
.PATH: ${.CURDIR}/../common
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>