Annotation of coherent/d/bin/cc/c/Makefile, revision 1.1

1.1     ! root        1: # /usr/src/c/Makefile 4/25/91
        !             2: # Assumes $(SRC) defines root libc source directory, e.g. /usr/src/c.
        !             3: # To build new C compiler objects, move to an empty object directory and type:
        !             4: #      export SRC=/usr/src/c           (or other pathname as appropriate)
        !             5: #      . $SRC/.profile                 (to set exported shell variables)
        !             6: #      make dirs                       (to build subdirectories)
        !             7: #      make                            (to build compiler)
        !             8: # .profile sets exported shell variables required by subdirectory Makefiles:
        !             9: #      MCH     machine type
        !            10: #      CFLAGS  to -I compiler headers
        !            11: #      CLIB    path to common library
        !            12: #      OUTPUT  output writer
        !            13: #      TABGEN  path to table generator executable
        !            14: #      TFLAGS  flags for table generator
        !            15: #      X       object file extension
        !            16: # Takes about 20 minutes from scratch on 20 MHz 386 with RAM disk cc.
        !            17: 
        !            18: # Primary target.
        !            19: # Build unstripped executables cc, cpp, cc[0123] linked to directory bin.
        !            20: # Also builds common library common/lib.a, table generator coh/tabgen,
        !            21: # code table sources n1/macros.c and m1/patern.c.
        !            22: all:
        !            23:        cd common;      make -e SRCPATH=$(SRC)/common:$(SRC)/common/$(MCH)
        !            24:        cd coh;         make -e SRCPATH=$(SRC)/coh
        !            25:        cd cpp;         make -e SRCPATH=$(SRC)/cpp
        !            26:        cd n0;          make -e SRCPATH=$(SRC)/n0:$(SRC)/n0/$(MCH)
        !            27:        cd n1;          make -e SRCPATH=$(SRC)/n1/$(MCH):$(SRC)/n1/$(MCH)/tables
        !            28:        cd n1;          make -e SRCPATH=$(SRC)/n1:$(SRC)/n1/$(MCH)
        !            29:        cd n2;          make -e SRCPATH=$(SRC)/n2:$(SRC)/n2/$(MCH)
        !            30:        cd n3;          make -e SRCPATH=$(SRC)/n3:$(SRC)/n3/$(MCH)
        !            31:        ln -f coh/cc cpp/cpp n0/cc0 n1/cc1 n2/cc2 n3/cc3 bin
        !            32:        : Done.
        !            33: 
        !            34: # Strip executables.
        !            35: strip:
        !            36:        strip bin/cc bin/cpp bin/cc0 bin/cc1 bin/cc2 bin/cc3
        !            37: 
        !            38: # Build subdirectories.
        !            39: dirs:
        !            40:        mkdir bin coh common cpp n0 n1 n2 n3
        !            41: 
        !            42: # end of /usr/src/c/Makefile

unix.superglobalmegacorp.com

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