Annotation of coherent/d/conf/boot/Makefile, revision 1.1

1.1     ! root        1: # boot/Makefile 8 Nov 1991
        !             2: # COHERENT boot strap Makefile.
        !             3: 
        !             4: DESTDIR=/interim/conf/
        !             5: TMP=boot.o
        !             6: ALL=\
        !             7:        boot \
        !             8:        boot.at \
        !             9:        boot.atx \
        !            10:        boot.f9a \
        !            11:        boot.f9d \
        !            12:        boot.fha \
        !            13:        boot.fqa \
        !            14:        boot.fva \
        !            15:        mboot
        !            16: 
        !            17: # Primary target.
        !            18: all:   $(ALL)
        !            19:        : Done.
        !            20: 
        !            21: # Install this code
        !            22: install:
        !            23:        Write me.  Put chmogs and cps here.
        !            24: 
        !            25: # Secondary targets.
        !            26: boot: boot.at
        !            27:        ln -f $(DESTDIR)boot.at $(DESTDIR)$@
        !            28: 
        !            29: # Hard disk secondary bootstrap.
        !            30: boot.at:       boot.m
        !            31:        cc -c -DNSPT=9 -DNTRK=40 -o $(TMP) $<
        !            32:        dd if=$(TMP) of=$(DESTDIR)$@ ibs=1 skip=44 count=512
        !            33:        rm $(TMP)
        !            34: 
        !            35: # Hard disk master boot block.
        !            36: boot.atx:      mboot.s
        !            37:        cc -c -o $(TMP) $<
        !            38:        dd if=$(TMP) of=$(DESTDIR)$@ ibs=1 skip=44 count=512
        !            39:        rm $(TMP)
        !            40: 
        !            41: # 720 block 9 sector per track floppy, alternating heads.
        !            42: boot.f9a:      boot.m
        !            43:        cc -c -DNHD=2 -DNSPT=9 -DNTRK=80 -o $(TMP) $<
        !            44:        dd if=$(TMP) of=$(DESTDIR)$@ ibs=1 skip=44 count=512
        !            45:        rm $(TMP)
        !            46: 
        !            47: # 720 block 9 sector per track floppy, not alternating heads.
        !            48: boot.f9d:      boot.m
        !            49:        cc -c -DNSPT=9 -DNTRK=80 -o $(TMP) $<
        !            50:        dd if=$(TMP) of=$(DESTDIR)$@ ibs=1 skip=44 count=512
        !            51:        rm $(TMP)
        !            52: 
        !            53: # 2400 block 15 sector per track 5.25" floppy, alternating heads.
        !            54: boot.fha:      boot.m
        !            55:        cc -c -DNHD=2 -DNSPT=15 -DNTRK=80 -o $(TMP) $<
        !            56:        dd if=$(TMP) of=$(DESTDIR)$@ ibs=1 skip=44 count=512
        !            57:        rm $(TMP)
        !            58: 
        !            59: # 1440 block 9 sector per track 3.5" floppy, alternating heads.
        !            60: boot.fqa:      boot.m
        !            61:        cc -c -DNHD=2 -DNSPT=9 -DNTRK=80 -o $(TMP) $<
        !            62:        dd if=$(TMP) of=$(DESTDIR)$@ ibs=1 skip=44 count=512
        !            63:        rm $(TMP)
        !            64: 
        !            65: # 2880 block 18 sector per track 3.5" HD floppy, alternating heads.
        !            66: boot.fva:      boot.m
        !            67:        cc -c -DNHD=2 -DNSPT=18 -DNTRK=80 -o $(TMP) $<
        !            68:        dd if=$(TMP) of=$(DESTDIR)$@ ibs=1 skip=44 count=512
        !            69:        rm $(TMP)
        !            70: 
        !            71: # Master boot block.
        !            72: mboot: boot.atx
        !            73:        ln -f $(DESTDIR)boot.atx $(DESTDIR)$@
        !            74: 
        !            75: # Patchable bootstrap.
        !            76: # The patchable secondary boot does NOT work!  More work needs doing.
        !            77: # The od is to check that the signature lands at the end.
        !            78: # If pboot changes, the code which patches it from /etc/fdisk must change too.
        !            79: pboot: boot.m
        !            80:        cc -c -DPBOOT -DNHD=9 -DNSPT=26 -DNTRK=1024 -DWPCC=0xFFFF -DCNTRL=8 -o $(TMP) $<
        !            81:        dd if=$(TMP) of=$(DESTDIR)$@ ibs=1 skip=44 count=512
        !            82:        od -b $(DESTDIR)pboot | tail -1
        !            83:        rm $(TMP)
        !            84: 
        !            85: # end of boot/Makefile

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.