diff options
author | obrien <obrien@FreeBSD.org> | 2001-01-04 10:27:04 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-01-04 10:27:04 +0000 |
commit | 2466856decdb623d76600e546cc7e37b86c30d4c (patch) | |
tree | a89811f7b1a659fbcc81281e9ad9a85ab29d5c3d /lib/csu | |
parent | 5520f7324953aa82dbef7305f1f2a1a438a97ad1 (diff) | |
download | FreeBSD-src-2466856decdb623d76600e546cc7e37b86c30d4c.zip FreeBSD-src-2466856decdb623d76600e546cc7e37b86c30d4c.tar.gz |
The instructions on doing something with src/lib/csu/powerpc.
Diffstat (limited to 'lib/csu')
-rw-r--r-- | lib/csu/powerpc/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/csu/powerpc/Makefile b/lib/csu/powerpc/Makefile new file mode 100644 index 0000000..5d69e5b --- /dev/null +++ b/lib/csu/powerpc/Makefile @@ -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> |