|
|
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 veiu.h mtpr.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: .x.s: ! 27: cat $*.x | sed 's/^#\([^id]\)/ #\1/' | /lib/cpp > $*.s ! 28: ! 29: .s.o: ! 30: cat INCLUDE $*.s | $(AS) -o $*.o ! 31: ! 32: .c.s: ! 33: $(CC) -S $*.c ! 34: .c.o: ! 35: $(CC) -c $*.c ! 36: ! 37: SYS = init.o sys.o buser.o bio.o cp.o spl.o ! 38: PROC0 = veiu.o ! 39: LISTS = init.lst sys.lst buser.lst bio.lst cp.lst multi.lst veiu.lst spl.lst ! 40: TESTS = $(SYS) $(PROC0) ! 41: ! 42: all : ether ! 43: ! 44: object : ether.st ether a.sym ether.sf ! 45: ! 46: clean : ! 47: -rm *.o *.lst a.sym *.st *.sf ether a.out ! 48: ! 49: cleansrc: ! 50: rm -f *.[csh] *.def init.x definitions INCLUDE makefile ! 51: ! 52: ether.st : $(TESTS) ! 53: $(LD) $(LD_FLG) -N -x -o ether.st $(TESTS) ! 54: ! 55: ether : ether.st ! 56: cp ether.st $$ether.st ! 57: strip $$ether.st ! 58: dd if=ether.st of=ether skip=1 bs=2080 ! 59: rm -rf $$ether.st ! 60: ! 61: install: all ! 62: install -c ether $(DESTDIR)/d/ether ! 63: ! 64: #End of makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.