Annotation of coherent/b/kernel/us/Makefile, revision 1.1

1.1     ! root        1: # $Header: /kernel/kersrc/us/RCS/Makefile,v 1.1 92/07/17 15:29:45 bin Exp Locker: bin $
        !             2: #
        !             3: # Makefile for ibm specific coherent sources and coherent images.
        !             4: #
        !             5: # Requires environment variables
        !             6: #      USRSYS (e.g. /usr/sys)
        !             7: #      KS (e.g. /usr/src/sys)
        !             8: #      KOBJ (e.g. /usr/kobj)
        !             9: #
        !            10: # $Log:        Makefile,v $
        !            11: # Revision 1.1  92/07/17  15:29:45  bin
        !            12: # Initial revision
        !            13: # 
        !            14: # Revision 1.1  91/11/14  14:36:50  hal
        !            15: # Last before going to i286/coh/io tree.
        !            16: # 
        !            17: # Revision 1.3 89/06/30  16:26:39      src
        !            18: # Bug: Lack of DMA lock resulted in failed transfers between SCSI drive
        !            19: #      and floppy disk.
        !            20: # Fix: Added dma lock routines to insure single DMA transfer. (JHB)
        !            21: # 
        !            22: # Revision 1.1 88/03/24  17:33:15      src
        !            23: # Initial revision
        !            24: # 
        !            25: 
        !            26: # Include directories
        !            27: USRINC=/usr/include
        !            28: SYSINC=/usr/include/sys
        !            29: 
        !            30: # Source directories
        !            31: COHSRC=$(KS)/coh.286
        !            32: DRVSRC=$(KS)/io.286
        !            33: I86SRC=$(KS)/i286
        !            34: COH386=$(KS)/coh.386
        !            35: DRV386=$(KS)/io.386
        !            36: 
        !            37: # Library directory
        !            38: DRVLIB=$(USRSYS)/lib
        !            39: 
        !            40: # Compiler stuff
        !            41: CC=exec /bin/cc
        !            42: CFLAGS=
        !            43: 
        !            44: HERE=  $(KOBJ)/md2.o \
        !            45:        $(KOBJ)/albaud.o \
        !            46:        $(KOBJ)/dmac.o \
        !            47:        $(KOBJ)/pccon.o \
        !            48:        $(KOBJ)/console.o \
        !            49:        $(KOBJ)/dmareq.o \
        !            50:        $(KOBJ)/mmu.o \
        !            51:        $(KOBJ)/support.o
        !            52: 
        !            53: FIFO=  $(KOBJ)/fifo_open.o \
        !            54:        $(KOBJ)/fifo_close.o \
        !            55:        $(KOBJ)/fifo_read.o \
        !            56:        $(KOBJ)/fifo_write.o \
        !            57:        $(KOBJ)/fifo_len.o \
        !            58:        $(KOBJ)/fifo_rewind.o
        !            59: 
        !            60: DOTDOT=        $(KOBJ)/alloc.o \
        !            61:        $(KOBJ)/as1.o \
        !            62:        $(KOBJ)/bio.o \
        !            63:        $(KOBJ)/clist.o \
        !            64:        $(KOBJ)/clock.o \
        !            65:        $(KOBJ)/ct.o \
        !            66:        $(KOBJ)/defer.o \
        !            67:        $(KOBJ)/dmalock.o       \
        !            68:        $(KOBJ)/exec.o \
        !            69:        $(KOBJ)/fd.o \
        !            70:        $(KOBJ)/fs1.o $(KOBJ)/fs2.o $(KOBJ)/fs3.o \
        !            71:        $(KOBJ)/krunch.o \
        !            72:        $(KOBJ)/ld.o $(KOBJ)/ldas.o \
        !            73:        $(KOBJ)/main.o \
        !            74:        $(KOBJ)/md1.o \
        !            75:        $(KOBJ)/misc.o \
        !            76:        $(KOBJ)/mmain.o \
        !            77:        $(KOBJ)/null.o \
        !            78:        $(KOBJ)/pipe.o \
        !            79:        $(KOBJ)/poll.o \
        !            80:        $(KOBJ)/printf.o \
        !            81:        $(KOBJ)/proc.o \
        !            82:        $(KOBJ)/seg.o \
        !            83:        $(KOBJ)/sig.o \
        !            84:        $(KOBJ)/sys1.o $(KOBJ)/sys2.o $(KOBJ)/sys3.o \
        !            85:        $(KOBJ)/tab.o \
        !            86:        $(KOBJ)/timeout.o \
        !            87:        $(KOBJ)/trap.o \
        !            88:        $(KOBJ)/var.o
        !            89: 
        !            90: kernel:        $(KOBJ) $(USRSYS)/atkernel.o $(DRVLIB)/support.a $(DRVLIB)/tty.a
        !            91:        @exec /bin/sync
        !            92: 
        !            93: shrink:
        !            94:        rm -f $(KOBJ)/* $(KOBJ)/* $(KOBJ)/*
        !            95: 
        !            96: $(KOBJ)/pccon.o: \
        !            97:        $(SYSINC)/coherent.h    $(SYSINC)/types.h $(SYSINC)/timeout.h \
        !            98:                                $(SYSINC)/machine.h $(SYSINC)/param.h \
        !            99:                                $(SYSINC)/fun.h \
        !           100:        $(SYSINC)/con.h         \
        !           101:        $(USRINC)/mtype.h       \
        !           102:        $(SYSINC)/stat.h        \
        !           103:        $(DRVSRC)/pccon.c
        !           104:        $(CC) $(CFLAGS) -c -o $@ $(DRVSRC)/pccon.c
        !           105: 
        !           106: $(KOBJ)/console.o:     \
        !           107:        $(SYSINC)/coherent.h    $(SYSINC)/types.h $(SYSINC)/timeout.h \
        !           108:                                $(SYSINC)/machine.h $(SYSINC)/param.h \
        !           109:                                $(SYSINC)/fun.h \
        !           110:        $(SYSINC)/con.h         \
        !           111:        $(SYSINC)/inode.h       \
        !           112:        $(SYSINC)/io.h          \
        !           113:        $(SYSINC)/stat.h        \
        !           114:        $(DRVSRC)/console.c
        !           115:        $(CC) $(CFLAGS) -c -o $@ $(DRVSRC)/console.c
        !           116: 
        !           117: $(KOBJ)/dmareq.o:      \
        !           118:        $(SYSINC)/buf.h         \
        !           119:        $(SYSINC)/coherent.h    $(SYSINC)/types.h $(SYSINC)/timeout.h \
        !           120:                                $(SYSINC)/machine.h $(SYSINC)/param.h \
        !           121:                                $(SYSINC)/fun.h \
        !           122:        $(SYSINC)/con.h         \
        !           123:        $(SYSINC)/dmac.h        \
        !           124:        $(USRINC)/errno.h       \
        !           125:        $(SYSINC)/io.h          \
        !           126:        $(SYSINC)/proc.h        $(SYSINC)/types.h $(SYSINC)/poll.h \
        !           127:        $(SYSINC)/sched.h       \
        !           128:        $(SYSINC)/seg.h         \
        !           129:        $(SYSINC)/stat.h        \
        !           130:        $(SYSINC)/uproc.h       \
        !           131:        $(DRVSRC)/dmareq.c
        !           132:        $(CC) $(CFLAGS) -c -o $@ $(DRVSRC)/dmareq.c
        !           133: 
        !           134: $(USRSYS)/atkernel.o: $(KOBJ)/as2.obj $(HERE) $(DOTDOT)
        !           135:        exec /bin/ld -r -o $@ $<
        !           136: 
        !           137: $(KOBJ)/as2.obj: $(I86SRC)/as2.s
        !           138:        exec as -go $@ $<
        !           139: 
        !           140: $(KOBJ)/dmac.o: $(I86SRC)/dmac.c
        !           141:        $(CC) $(CFLAGS) -c -o $@ $<
        !           142: 
        !           143: $(KOBJ)/dump.o: $(I86SRC)/dump.c
        !           144:        $(CC) $(CFLAGS) -c -o $@ $<
        !           145: 
        !           146: $(KOBJ)/md2.o: $(I86SRC)/md2.c
        !           147:        $(CC) $(CFLAGS) -c -o $@ $<
        !           148: 
        !           149: $(KOBJ)/albaud.o: $(DRV386)/albaud.c
        !           150:        $(CC) $(CFLAGS) -c -o $@ $<
        !           151: 
        !           152: # Define REAL_MODE if real mode is also required
        !           153: $(KOBJ)/mmu.o: $(I86SRC)/mmu.c
        !           154:        $(CC) $(CFLAGS) -DREAL_MODE -c -o $@ $<
        !           155: 
        !           156: $(KOBJ)/support.o:             \
        !           157:        $(SYSINC)/al.h $(SYSINC)/timeout.h $(SYSINC)/ktty.h \
        !           158:                        $(SYSINC)/poll_clk.h \
        !           159:        $(COH386)/support.c
        !           160:        $(CC) $(CFLAGS) -c -o $@ $(COH386)/support.c
        !           161: 
        !           162: # this stuff was in the /usr/src/sys/i8086 Makefile before 90/08/08
        !           163: C86FLAGS=-c -DNOMONITOR=1
        !           164: #
        !           165: $(KOBJ):
        !           166:        mkdir $(KOBJ)
        !           167: 
        !           168: $(KOBJ)/alloc.o: $(COHSRC)/alloc.c
        !           169:        $(CC) $(C86FLAGS) -o $@ $<
        !           170: 
        !           171: $(KOBJ)/as1.o: $(I86SRC)/as1.s
        !           172:        $(CC) $(C86FLAGS) -o $@ $<
        !           173: 
        !           174: $(KOBJ)/bio.o: $(COHSRC)/bio.c
        !           175:        $(CC) $(C86FLAGS) -DREADAHEAD=0 -o $@ $<
        !           176: 
        !           177: # Clists are assembly source on i8086
        !           178: $(KOBJ)/clist.o: $(I86SRC)/clist.s $(SYSINC)/const.h
        !           179:        /lib/cpp -E -Isys -o clist.i $(I86SRC)/clist.s
        !           180:        as -go $@ clist.i
        !           181:        rm clist.i
        !           182: 
        !           183: $(KOBJ)/clock.o: $(COH386)/clock.c
        !           184:        $(CC) $(C86FLAGS) -o $@ $<
        !           185: 
        !           186: $(KOBJ)/ct.o: $(COHSRC)/ct.c
        !           187:        $(CC) $(C86FLAGS) -o $@ $<
        !           188: 
        !           189: $(KOBJ)/defer.o: $(I86SRC)/defer.s
        !           190:        $(CC) $(C86FLAGS) -o $@ $<
        !           191: 
        !           192: $(KOBJ)/dmalock.o: $(I86SRC)/dmalock.c
        !           193:        $(CC) $(C86FLAGS) -o $@ $<
        !           194: 
        !           195: $(KOBJ)/exec.o: $(I86SRC)/exec.c
        !           196:        $(CC) $(C86FLAGS) -o $@ $<
        !           197: 
        !           198: $(KOBJ)/fd.o: $(COHSRC)/fd.c
        !           199:        $(CC) $(C86FLAGS) -o $@ $<
        !           200: 
        !           201: $(KOBJ)/fifo_open.o: $(COHSRC)/fifo_open.c $(SYSINC)/typed.h
        !           202:        $(CC) $(C86FLAGS) -o $@ $(COHSRC)/fifo_open.c
        !           203: 
        !           204: $(KOBJ)/fifo_close.o: $(COHSRC)/fifo_close.c $(SYSINC)/typed.h
        !           205:        $(CC) $(C86FLAGS) -o $@ $(COHSRC)/fifo_close.c
        !           206: 
        !           207: $(KOBJ)/fifo_read.o: $(COHSRC)/fifo_read.c $(SYSINC)/typed.h
        !           208:        $(CC) $(C86FLAGS) -o $@ $(COHSRC)/fifo_read.c
        !           209: 
        !           210: $(KOBJ)/fifo_write.o: $(COHSRC)/fifo_write.c $(SYSINC)/typed.h
        !           211:        $(CC) $(C86FLAGS) -o $@  $(COHSRC)/fifo_write.c
        !           212: 
        !           213: $(KOBJ)/fifo_len.o: $(COHSRC)/fifo_len.c $(SYSINC)/typed.h
        !           214:        $(CC) $(C86FLAGS) -o $@  $(COHSRC)/fifo_len.c
        !           215: 
        !           216: $(KOBJ)/fifo_rewind.o: $(COHSRC)/fifo_rewind.c $(SYSINC)/typed.h
        !           217:        $(CC) $(C86FLAGS) -o $@ $(COHSRC)/fifo_rewind.c
        !           218: 
        !           219: $(KOBJ)/fs1.o: $(COHSRC)/fs1.c
        !           220:        $(CC) $(C86FLAGS) -o $@ $<
        !           221: 
        !           222: $(KOBJ)/fs2.o: $(COHSRC)/fs2.c
        !           223:        $(CC) $(C86FLAGS) -o $@ $<
        !           224: 
        !           225: $(KOBJ)/fs3.o: $(COHSRC)/fs3.c
        !           226:        $(CC) $(C86FLAGS) -DTINY=1 -o $@ $<
        !           227: 
        !           228: $(KOBJ)/krunch.o: $(I86SRC)/krunch.c
        !           229:        $(CC) $(C86FLAGS) -o $@ $<
        !           230: 
        !           231: $(KOBJ)/ld.o: $(I86SRC)/ld.c
        !           232:        $(CC) $(C86FLAGS) -o $@ $<
        !           233: 
        !           234: $(KOBJ)/ldas.o: $(I86SRC)/ldas.s
        !           235:        as -gxo $@ $<
        !           236: 
        !           237: $(KOBJ)/main.o: \
        !           238:        $(USRSYS)/version \
        !           239:        $(SYSINC)/coherent.h    $(SYSINC)/types.h $(SYSINC)/timeout.h \
        !           240:                                $(SYSINC)/machine.h $(SYSINC)/param.h \
        !           241:                                $(SYSINC)/fun.h $(SYSINC)/mmu.h \
        !           242:        $(SYSINC)/proc.h        $(SYSINC)/types.h $(SYSINC)/poll.h \
        !           243:        $(SYSINC)/seg.h \
        !           244:        $(SYSINC)/uproc.h \
        !           245:        $(COH386)/main.c
        !           246:        $(CC) $(C86FLAGS) `$(USRSYS)/version` -o $@ $(COH386)/main.c
        !           247: 
        !           248: $(KOBJ)/md1.o: $(I86SRC)/md1.c
        !           249:        $(CC) $(C86FLAGS) -o $@ $<
        !           250: 
        !           251: $(KOBJ)/misc.o: $(COHSRC)/misc.c
        !           252:        $(CC) $(C86FLAGS) -o $@ $<
        !           253: 
        !           254: $(KOBJ)/mmain.o: $(I86SRC)/mmain.c $(SYSINC)/const.h
        !           255:        $(CC) $(C86FLAGS) -o $@ $(I86SRC)/mmain.c
        !           256: 
        !           257: $(KOBJ)/null.o: $(COHSRC)/null.c
        !           258:        $(CC) $(C86FLAGS) -o $@ $<
        !           259: 
        !           260: $(KOBJ)/pipe.o: $(COH386)/pipe.c
        !           261:        $(CC) $(C86FLAGS) -o $@ $<
        !           262: 
        !           263: $(KOBJ)/poll.o: $(COHSRC)/poll.c
        !           264:        $(CC) $(C86FLAGS) -o $@ $<
        !           265: 
        !           266: $(KOBJ)/printf.o: $(COHSRC)/printf.c
        !           267:        $(CC) $(C86FLAGS) -o $@ $<
        !           268: 
        !           269: $(KOBJ)/proc.o: $(COH386)/proc.c
        !           270:        $(CC) $(C86FLAGS) -o $@ $<
        !           271: 
        !           272: $(KOBJ)/seg.o: $(COHSRC)/seg.c
        !           273:        $(CC) $(C86FLAGS) -o $@ $<
        !           274: 
        !           275: $(KOBJ)/sig.o: $(COHSRC)/sig.c
        !           276:        $(CC) $(C86FLAGS) -o $@ $<
        !           277: 
        !           278: $(KOBJ)/swap.o: $(COHSRC)/swap.c
        !           279:        $(CC) $(C86FLAGS) -o $@ $<
        !           280: 
        !           281: $(KOBJ)/elog.o: $(COHSRC)/elog.c
        !           282:        $(CC) $(C86FLAGS) -o $@ $<
        !           283: 
        !           284: $(KOBJ)/sys1.o: $(COHSRC)/sys1.c
        !           285:        $(CC) $(C86FLAGS) -o $@ $<
        !           286: 
        !           287: $(KOBJ)/sys2.o: $(COHSRC)/sys2.c
        !           288:        $(CC) $(C86FLAGS) -o $@ $<
        !           289: 
        !           290: $(KOBJ)/sys3.o: $(COHSRC)/sys3.c
        !           291:        $(CC) $(C86FLAGS) -o $@ $<
        !           292: 
        !           293: $(KOBJ)/tab.o: $(I86SRC)/tab.c
        !           294:        $(CC) $(C86FLAGS) -o $@ $<
        !           295: 
        !           296: $(KOBJ)/timeout.o: $(COHSRC)/timeout.c
        !           297:        $(CC) $(C86FLAGS) -o $@ $<
        !           298: 
        !           299: $(KOBJ)/trap.o: $(I86SRC)/trap.c
        !           300:        $(CC) $(C86FLAGS) -o $@ $<
        !           301: 
        !           302: $(KOBJ)/var.o: $(COHSRC)/var.c
        !           303:        $(CC) $(C86FLAGS) -o $@ $<
        !           304: 
        !           305: # Additional libraries searched when "config" runs.
        !           306: 
        !           307: $(DRVLIB)/support.a:   $(KOBJ)/cs_sel.o $(KOBJ)/clocked.o \
        !           308:        $(FIFO) $(KOBJ)/albaud.o
        !           309:        rm -f $@
        !           310:        ar rc $@ $<
        !           311: 
        !           312: $(KOBJ)/cs_sel.o: $(I86SRC)/cs_sel.s
        !           313:        as -gxo $@ $<
        !           314: 
        !           315: $(KOBJ)/clocked.o: $(COH386)/clocked.c
        !           316:        $(CC) $(CFLAGS) -c -o $@ $<
        !           317: 
        !           318: $(DRVLIB)/tty.a:       $(KOBJ)/tty.o
        !           319:        rm -f $@
        !           320:        ar rc $@ $<
        !           321: 
        !           322: $(KOBJ)/tty.o: $(DRV386)/tty.c
        !           323:        $(CC) $(CFLAGS) -c -o $@ $<

unix.superglobalmegacorp.com

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