|
|
1.1 root 1: # @(#)Makefile 5.3 (Berkeley) 5/14/90
2:
3: CFLAGS= -O -DLIBC_SCCS
4: OBJS= crt0.o
5:
6: all: ${OBJS}
7:
8: crt0.o: crt0.c
9: ${CC} -S -DCRT0 ${.ALLSRC}
10: grep -v "^#[ _]" < ${.PREFIX}.s > x.s
11: ed x.s < :fix
12: mv x.s ${.PREFIX}.s
13: ${CPP} -traditional crt0.s > x.s
14: ${AS} -o x.o x.s
15: ${LD} -x -r -o crt0.o x.o
16: rm -f x.s x.o crt0.s
17:
18: install:
19: install -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
20: ${DESTDIR}/usr/lib
21:
22: cleandir clean:
23: rm -f ${OBJS} gmon.o mon.o moncrt0.o core a.out x.s x.o crt0.s
24:
25: depend lint tags:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.