|
|
1.1 root 1: # @(#)Makefile 5.2 (Berkeley) 6/29/90
2:
3: CFLAGS= -O -DLIBC_SCCS
4: OBJS= crt0.o mcrt0.o gcrt0.o
5: CLEANFILES+= gmon.o mon.o moncrt0.o core a.out
6:
7: all: ${OBJS}
8:
9: crt0.o: crt0.c
10: ${CC} -S -DCRT0 ${.ALLSRC}
11: ${CPP} crt0.s > x.s
12: ${AS} -o x.o x.s
13: ${LD} -x -r -o ${.TARGET} x.o
14: rm -f x.s x.o crt0.s
15:
16: moncrt0.o: crt0.c
17: ${CC} -S -DMCRT0 ${.ALLSRC}
18: ${CPP} crt0.s > x.s
19: ${AS} -o x.o x.s
20: ${LD} -x -r -o ${.TARGET} x.o
21: rm -f x.s x.o crt0.s
22:
23: mcrt0.o: moncrt0.o mon.o
24: ${LD} -x -r -o ${.TARGET} moncrt0.o mon.o
25:
26: gcrt0.o: moncrt0.o gmon.o
27: ${LD} -x -r -o ${.TARGET} moncrt0.o gmon.o
28:
29: mon.o: mon.c mon.ex
30: ${CC} -S ${DEFS} ${.IMPSRC}
31: ex - mon.s < ${.CURDIR}/mon.ex
32: ${AS} -o x.o mon.s
33: ${LD} -x -r -o ${.TARGET} x.o
34: rm -f x.o mon.s
35:
36: gmon.o: gmon.c gmon.h gmon.ex
37: ${CC} -S ${DEFS} ${.IMPSRC}
38: ex - gmon.s < ${.CURDIR}/gmon.ex
39: ${AS} -o x.o gmon.s
40: ${LD} -x -r -o ${.TARGET} x.o
41: rm -f x.o gmon.s
42:
43: install:
44: install -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
45: ${DESTDIR}/usr/lib
46:
47: depend lint tags:
48:
49: .include <bsd.prog.mk>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.