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

1.1     ! root        1: # Makefile for Tertiary boot code for COHERENT
        !             2: # Targets are stand-alone bootable programs.
        !             3: #
        !             4: # La Monte H. Yarroll <[email protected]>, September 1991
        !             5: 
        !             6: LD=ld
        !             7: AR=ar
        !             8: RANLIB=ranlib
        !             9: CP=cp
        !            10: 
        !            11: DESTDIR=/interim/
        !            12: 
        !            13: LIBOBJECTS=bootlib.o cbootlib.o diskio.o indirect.o intcall.o monitor.o \
        !            14:        l.out.o coff.o bio.o gift.o objects.o \
        !            15:        fifo_b.o fifo_k.o sys.o fdisk.o arg_exist.o
        !            16: 
        !            17: LIBSOURCES=bootlib.m cbootlib.c diskio.c indirect.c intcall.m monitor.c \
        !            18:        l.out.c coff.c bio.c gift.c objects.c \
        !            19:        fifo_b.c fifo_k.c sys.c fdisk.c arg_exist.c
        !            20: 
        !            21: OBJECTS=Startup.o $(LIBOBJECTS)
        !            22: 
        !            23: SOURCES=Startup.s $(LIBSOURCES)
        !            24: 
        !            25: LIBS=libtboot.a -lc
        !            26: INCLUDE=-I/usr/include/coff -I.
        !            27: CFLAGS=$(INCLUDE)
        !            28: 
        !            29: # NB: Startup.o must come first in the link line, so the entry
        !            30: # point in Startup lines up correctly.
        !            31: tboot: sys/typed.h sys/ptypes.h tboot.o builtin.o libtboot.a
        !            32:        $(LD) -o tboot Startup.o tboot.o builtin.o $(LIBS)
        !            33: 
        !            34: libtboot.a: $(LIBOBJECTS)
        !            35:        rm -f $@
        !            36:        $(AR) rku $@ $(LIBOBJECTS)
        !            37:        $(RANLIB) $@
        !            38: 
        !            39: sys/typed.h: typed.h
        !            40:        $(CP) typed.h sys/typed.h
        !            41: 
        !            42: sys/ptypes.h: ptypes.h
        !            43:        $(CP) ptypes.h sys/ptypes.h
        !            44: 
        !            45: hello: hello.o $(OBJECTS)
        !            46:        $(LD) -o hello $(OBJECTS) hello.o $(LIBS)
        !            47: 
        !            48: hello.o: Examples/hello.c
        !            49: 
        !            50: dir: dir.o $(OBJECTS) 
        !            51:        $(LD) -o dir $(OBJECTS) dir.o $(LIBS)
        !            52: 
        !            53: dir.o: Examples/dir.c
        !            54: 
        !            55: newdir: newdir.o libtboot.a
        !            56:        $(LD) -o newdir Startup.o newdir.o $(LIBS)
        !            57: 
        !            58: newdir.o: Examples/newdir.c
        !            59: 
        !            60: tags:
        !            61:        ctags -r *.[ch]
        !            62: 
        !            63: clean:
        !            64:        rm -f l.out *.o *.a
        !            65: 
        !            66: install:
        !            67:        cp tboot $(DESTDIR)
        !            68:        chown root $(DESTDIR)/tboot
        !            69:        chgrp daemon $(DESTDIR)/tboot
        !            70:        chmod ugo=r $(DESTDIR)/tboot

unix.superglobalmegacorp.com

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