diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-06-12 14:58:17 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-06-12 14:58:17 +0000 |
commit | 48231afadc40013e6bfda56b04a11ee3a602598f (patch) | |
tree | b8f2aee67be896f894d5be6f5e144303f3ecccd2 /lib/csu/i386/Makefile | |
download | FreeBSD-src-48231afadc40013e6bfda56b04a11ee3a602598f.zip FreeBSD-src-48231afadc40013e6bfda56b04a11ee3a602598f.tar.gz |
Initial import, 0.1 + pk 0.2.4-B1
Diffstat (limited to 'lib/csu/i386/Makefile')
-rw-r--r-- | lib/csu/i386/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/csu/i386/Makefile b/lib/csu/i386/Makefile new file mode 100644 index 0000000..bb1c66e --- /dev/null +++ b/lib/csu/i386/Makefile @@ -0,0 +1,33 @@ +# @(#)Makefile 5.6 (Berkeley) 5/22/91 + +CFLAGS= -O -DLIBC_SCCS +OBJS= crt0.o gcrt0.o +CLEANFILES+= gmon.o moncrt0.o core a.out + +all: ${OBJS} + +crt0.o: crt0.c + ${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC} + ${LD} -x -r ${.TARGET} + mv a.out ${.TARGET} + +moncrt0.o: crt0.c + ${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET} + ${LD} -x -r ${.TARGET} + mv a.out ${.TARGET} + +gcrt0.o: moncrt0.o gmon.o + ${LD} -x -r -o ${.TARGET} moncrt0.o gmon.o + +gmon.o: gmon.c gmon.h + ${CC} -c ${DEFS} ${.IMPSRC} + ${LD} -x -r ${.TARGET} + mv a.out ${.TARGET} + +install: + install -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \ + ${DESTDIR}/usr/lib + +depend lint tags: + +.include <bsd.prog.mk> |