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