|
|
1.1 root 1:
2: #
3: # HDRS included files
4: #
5: # SRCS source files
6: #
7: DESTDIR=
8: AS=/bin/as
9: CC=/bin/cc
10: LCC=/bin/cc
11: LD=/bin/ld
12: INCLDIR=${DESTDIR}/usr/include
13: LIBDIR=${DESTDIR}/lib
14: ULIBDIR=${DESTDIR}/usr/lib
15:
16: HDRS1 = prvreg.h psl.h pte.h pcboffset.h const.h scboffset.h \
17: sptoffset.h trap.h
18:
19: LD_FLG = -T 0
20:
21: .SUFFIXES:
22: .SUFFIXES: .x .s .o .c .lst
23:
24: .x.o:
25: cat $*.x | sed 's/^#\([^id]\)/ #\1/' | /lib/cpp | $(AS) -o $*.o
26:
27: .s.o:
28: cat INCLUDE $*.s | $(AS) -o $*.o
29:
30: .c.o:
31: $(CC) -c $*.c
32:
33:
34: SYS = init.o sys.o buser.o bio.o cp.o
35: PROC0 = tape.o tm_ex.o vioc.o v_ex.o vddc.o vddc_ex.o
36: LISTS = init.lst sys.lst buser.lst bio.lst cp.lst tape.lst tm_ex.lst vioc.lst v_ex.lst vddc.lst vddc_ex.lst
37: TESTS = $(SYS) $(PROC0)
38:
39: all : pits
40:
41: pits.st : $(TESTS)
42: ld $(LD_FLG) -N -x -o pits.st $(TESTS)
43:
44: pits : pits.st
45: cp pits.st $$pits.st
46: strip $$pits.st
47: dd if=$$pits.st of=pits skip=1 bs=2080
48: rm -rf $$pits.st
49:
50: clean:
51: rm -f *.o *.lst *.sf *.sp *.st pits
52:
53: cleansrc:
54: rm -f *.[csh] *.def init.x definitions INCLUDE makefile
55:
56: install: all
57: install -c pits $(DESTDIR)/d/pits
58: #End of makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.