Annotation of coherent/b/lib/libc/Makefile, revision 1.1

1.1     ! root        1: # /usr/src/libc/Makefile 1/13/93
        !             2: # Assumes $(SRCPATH) defines root libc source directory, e.g. /usr/src/libc.
        !             3: # Assumes $(MCH) defines target machine, e.g. i8086 or i386.
        !             4: # Assumes $(AR), $(AS), $(AFLAGS), $(CC), $(CFLAGS) defined appropriately.
        !             5: # To build a new libc.a, move to an empty object directory and
        !             6: # type "make -e SRCPATH=/usr/src/libc MCH=i8086" (or other pathname as appropriate).
        !             7: # This takes about 20 minutes from scratch on 20 MHz 386.
        !             8: 
        !             9: # Copyright module is first entry in the archive.
        !            10: OBJ=\
        !            11:        copyright.o
        !            12: 
        !            13: # Primary target.
        !            14: # The order of targets here is significant.
        !            15: # dstdio must be the last target, because it plays tricks to reduce size
        !            16: # of executable if stdio is not required.
        !            17: # dgen is next to last because e.g. perror() references stdio.
        !            18: all:   ROOT dcrt dndir dstring dsys dstdlib dgen dstdio
        !            19:        : libc done.
        !            20: 
        !            21: # Primary target for NDP library.
        !            22: ndp:   ROOT dcrtndp dndir dstring dsys dstdlib dgen dstdio
        !            23:        : NDP libc done.
        !            24: 
        !            25: # Pseudotargets.
        !            26: # The lower case pseudotargets are made every time to check each subdirectory.
        !            27: # The upper case pseudotargets indicate when the objects in a given directory
        !            28: # were last made, allowing replacement of only the stale object files.
        !            29: ROOT:  $(OBJ)
        !            30:        $(AR) rckus libc.a $?
        !            31:        touch $@
        !            32: dcrt:  
        !            33:        SRCPATH=$(SRCPATH)/crt make -e
        !            34: dcrtndp:       
        !            35:        SRCPATH=$(SRCPATH)/crt make -e ndp
        !            36: dgen:
        !            37:        SRCPATH=$(SRCPATH)/gen make -e
        !            38: dndir:
        !            39:        SRCPATH=$(SRCPATH)/ndir make -e
        !            40: dstdio:
        !            41:        SRCPATH=$(SRCPATH)/stdio make -e
        !            42: dstdlib:
        !            43:        SRCPATH=$(SRCPATH)/stdlib make -e
        !            44: dstring:
        !            45:        SRCPATH=$(SRCPATH)/string make -e
        !            46: dsys:
        !            47:        SRCPATH=$(SRCPATH)/sys make -e
        !            48: 
        !            49: # Secondary targets.
        !            50: copyright.o:   $(SRCPATH)/gen/copyright.c
        !            51: 
        !            52: clean:
        !            53:        rm *.o
        !            54: 
        !            55: # end of /usr/src/libc/Makefile

unix.superglobalmegacorp.com

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