Annotation of 43BSDTahoe/lib/libc/compat-sys5/Makefile, revision 1.1

1.1     ! root        1: #
        !             2: # Copyright (c) 1988 Regents of the University of California.
        !             3: # All rights reserved.
        !             4: #
        !             5: # Redistribution and use in source and binary forms are permitted
        !             6: # provided that this notice is preserved and that due credit is given
        !             7: # to the University of California at Berkeley. The name of the University
        !             8: # may not be used to endorse or promote products derived from this
        !             9: # software without specific prior written permission. This software
        !            10: # is provided ``as is'' without express or implied warranty.
        !            11: #
        !            12: #      @(#)Makefile    5.10.1.1 (Berkeley) 6/9/88
        !            13: #
        !            14: # Many of these routines have been rewritten in assembly.  The assembly
        !            15: # source can be found in the directory stdio.${MACHINE}.  The macro
        !            16: # ${STDSRC} lists the files needed by all current implementations.  The
        !            17: # macros ${VAXSRC} and ${TAHOESRC} are the supplemental files needed by
        !            18: # the VAX and the TAHOE.  ${PORTSRC} is a list of all of the supplemental
        !            19: # files.
        !            20: DEFS=  -DLIBC_SCCS
        !            21: CFLAGS=        -O ${DEFS}
        !            22: STDSRC=        getopt.c memccpy.c memchr.c memcmp.c memcpy.c memset.c strcspn.c \
        !            23:        strpbrk.c strspn.c strtok.c tmpnam.c strcatn.c strcmpn.c strcpyn.c
        !            24: STDOBJ=        getopt.o memccpy.o memchr.o memcmp.o memcpy.o memset.o strcspn.o \
        !            25:        strpbrk.o strspn.o strtok.o tmpnam.o strcatn.o strcmpn.o strcpyn.o
        !            26: VAXSRC=
        !            27: VAXOBJ=
        !            28: TAHOESRC=      strchr.c strrchr.c
        !            29: TAHOEOBJ=      strchr.o strrchr.o
        !            30: PORTSRC=       strchr.c strrchr.c
        !            31: PORTOBJ=       strchr.o strrchr.o
        !            32: TAGSFILE=tags
        !            33: 
        !            34: .c.o:
        !            35:        @${CC} -p ${CFLAGS} -c $*.c
        !            36:        @-ld -X -o profiled/$*.o -r $*.o
        !            37:        ${CC} ${CFLAGS} -c $*.c
        !            38:        @-ld -x -r $*.o
        !            39:        @mv a.out $*.o
        !            40: 
        !            41: all: lib.${MACHINE}
        !            42: 
        !            43: link: lib.${MACHINE} link.${MACHINE}
        !            44: 
        !            45: link.vax:
        !            46:        (cd ../library; rm -f ${STDOBJ} ${VAXOBJ})
        !            47:        (cd ../profiled; rm -f ${STDOBJ} ${VAXOBJ})
        !            48:        ln ${STDOBJ} ${VAXOBJ} ../library
        !            49:        (cd profiled; ln ${STDOBJ} ${VAXOBJ} ../../profiled)
        !            50: 
        !            51: link.tahoe:
        !            52:        (cd ../library; rm -f ${STDOBJ} ${TAHOEOBJ})
        !            53:        (cd ../profiled; rm -f ${STDOBJ} ${TAHOEOBJ})
        !            54:        ln ${STDOBJ} ${TAHOEOBJ} ../library
        !            55:        (cd profiled; ln ${STDOBJ} ${TAHOEOBJ} ../../profiled)
        !            56: 
        !            57: lib.vax: ${STDOBJ} ${VAXOBJ}
        !            58: 
        !            59: lib.tahoe: ${STDOBJ} ${TAHOEOBJ}
        !            60: 
        !            61: tags: tags.${MACHINE}
        !            62: 
        !            63: tags.vax:
        !            64:        cwd=`pwd`; \
        !            65:        for i in ${STDSRC} ${VAXSRC}; do \
        !            66:                ctags -a -f ${TAGSFILE} $$cwd/$$i; \
        !            67:        done
        !            68: 
        !            69: tags.tahoe:
        !            70:        cwd=`pwd`; \
        !            71:        for i in ${STDSRC} ${TAHOESRC}; do \
        !            72:                ctags -a -f ${TAGSFILE} $$cwd/$$i; \
        !            73:        done
        !            74: 
        !            75: clean:
        !            76:        rm -f *.o profiled/* a.out core ${TAGSFILE}
        !            77: 
        !            78: depend: depend.${MACHINE}
        !            79: 
        !            80: depend.vax: ${STDSRC} ${VAXSRC}
        !            81:        mkdep ${CFLAGS} ${STDSRC} ${VAXSRC}
        !            82: 
        !            83: depend.tahoe: ${STDSRC} ${TAHOESRC}
        !            84:        mkdep ${CFLAGS} ${STDSRC} ${TAHOESRC}
        !            85: 
        !            86: # DO NOT DELETE THIS LINE -- mkdep uses it.
        !            87: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
        !            88: 
        !            89: getopt.o: getopt.c /usr/include/stdio.h
        !            90: memccpy.o: memccpy.c
        !            91: memchr.o: memchr.c
        !            92: memcmp.o: memcmp.c
        !            93: memcpy.o: memcpy.c
        !            94: memset.o: memset.c
        !            95: strcspn.o: strcspn.c
        !            96: strpbrk.o: strpbrk.c
        !            97: strspn.o: strspn.c
        !            98: strtok.o: strtok.c
        !            99: tmpnam.o: tmpnam.c /usr/include/sys/param.h /usr/include/sys/types.h
        !           100: tmpnam.o: /usr/include/signal.h /usr/include/machine/trap.h
        !           101: tmpnam.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
        !           102: tmpnam.o: /usr/include/sys/stat.h /usr/include/sys/file.h /usr/include/stdio.h
        !           103: strcatn.o: strcatn.c
        !           104: strcmpn.o: strcmpn.c
        !           105: strcpyn.o: strcpyn.c
        !           106: strchr.o: strchr.c /usr/include/stdio.h
        !           107: strrchr.o: strrchr.c /usr/include/stdio.h
        !           108: 
        !           109: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY

unix.superglobalmegacorp.com

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