diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-08-06 22:21:17 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-08-06 22:21:17 +0000 |
commit | db322b47296d44b4ae905d43b061d931f3b34532 (patch) | |
tree | 8ef8554cea134d1b349ed8ebef875cb1cf10bbce /lib/csu/mips64/Makefile | |
parent | daa283867805335d791d84f66be68cac05ffdc09 (diff) |
csu stuff for sgi et al
Diffstat (limited to 'lib/csu/mips64/Makefile')
-rw-r--r-- | lib/csu/mips64/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/csu/mips64/Makefile b/lib/csu/mips64/Makefile new file mode 100644 index 00000000000..7883801dfb1 --- /dev/null +++ b/lib/csu/mips64/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1 2004/08/06 22:21:16 pefo Exp $ + +#CFLAGS+= -DLIBC_SCCS -I${.CURDIR} -mips2 +CFLAGS+= -DLIBC_SCCS -I${.CURDIR} +OBJS= crt0.o gcrt0.o scrt0.o crtbegin.o crtend.o crtbeginS.o crtendS.o + +.PATH: ${.CURDIR}/../common_elf + +all: ${OBJS} + +crt0.o: crt0.c ${DEPS} + @echo "${CC} -DCRT0 -c ${.ALLSRC} -o ${.TARGET}" + @${CC} -DCRT0 -c ${.ALLSRC} -o ${.TARGET}.o + @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @rm -f ${.TARGET}.o + +gcrt0.o: crt0.c ${DEPS} + @echo "${CC} -DMCRT0 -c ${.ALLSRC} -o ${.TARGET}" + @${CC} -DMCRT0 -c ${.ALLSRC} -o ${.TARGET}.o + @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @rm -f ${.TARGET}.o + +scrt0.o: crt0.c ${DEPS} + @echo "${CC} -DSCRT0 -c ${.ALLSRC} -o ${.TARGET}" + @${CC} -DSCRT0 -c ${.ALLSRC} -o ${.TARGET}.o + @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @rm -f ${.TARGET}.o + +realinstall: + ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \ + ${DESTDIR}/usr/lib + +depend lint tags: + +.include <bsd.prog.mk> |