Annotation of 43BSDTahoe/usr.bin/learn/Makefile, revision 1.1

1.1     ! root        1: #
        !             2: # Copyright (c) 1987 Regents of the University of California.
        !             3: # All rights reserved.  The Berkeley software License Agreement
        !             4: # specifies the terms and conditions for redistribution.
        !             5: #
        !             6: #      @(#)Makefile    4.9     (Berkeley)      6/10/88
        !             7: #
        !             8: # Flag BSD4_2 means 4.2 or later.
        !             9: CFLAGS=        -O -DBSD4_2
        !            10: LIBC=  /lib/libc.a
        !            11: LLIB=  ${DESTDIR}/usr/lib/learn/bin
        !            12: SRCS=  copy.c dounit.c getlesson.c learn.c list.c mem.c makpipe.c maktee.c \
        !            13:        mysys.c selsub.c selunit.c start.c whatnow.c wrapup.c
        !            14: OBJS=  copy.o dounit.o getlesson.o learn.o list.o mem.o makpipe.o maktee.o \
        !            15:        mysys.o selsub.o selunit.o start.o whatnow.o wrapup.o
        !            16: 
        !            17: all: learn lrntee lcount getline.o getnum.o
        !            18: 
        !            19: learn: ${OBJS} ${LIBC}
        !            20:        ${CC} -o $@ ${CFLAGS} ${OBJS}
        !            21: 
        !            22: lcount: lcount.c ${LIBC}
        !            23:        ${CC} ${CFLAGS} -o $@ lcount.c
        !            24: 
        !            25: lrntee: lrntee.c ${LIBC}
        !            26:        ${CC} ${CFLAGS} -o $@ lrntee.c
        !            27: 
        !            28: clean: FRC
        !            29:        rm -f ${OBJS} core learn lrntee lcount getline.o getnum.o
        !            30: 
        !            31: depend: FRC
        !            32:        mkdep ${CFLAGS} ${SRCS} lcount.c lrntee.c getline.c getnum.c
        !            33: 
        !            34: install: FRC
        !            35:        install -c -s -o bin -g bin -m 755 learn ${DESTDIR}/usr/bin/learn
        !            36:        install -s -o bin -g bin -m 755 learn ${LLIB}/learn
        !            37:        install -s -o bin -g bin -m 755 lrntee ${LLIB}/lrntee
        !            38:        install -s -o bin -g bin -m 755 lcount ${LLIB}/lcount
        !            39:        install -o bin -g bin -m 644 getline.o ${LLIB}/getline.o
        !            40:        install -o bin -g bin -m 644 getnum.o ${LLIB}/getnum.o
        !            41:        cd ${LLIB}; rm -f ../C/get*.o; ln getline.o getnum.o ../C
        !            42:        install -c -o bin -g bin -m 644 getline.c ${LLIB}/../C/getline.c
        !            43:        install -c -o bin -g bin -m 644 getnum.c ${LLIB}/../C/getnum.c
        !            44:        chmod 755 ${LLIB}/../*/Init
        !            45: 
        !            46: lint: FRC
        !            47:        lint ${CFLAGS} ${SRCS}
        !            48:        lint ${CFLAGS} lcount.c
        !            49:        lint ${CFLAGS} lrntee.c
        !            50:        lint ${CFLAGS} getline.c getnum.c
        !            51: 
        !            52: tags: FRC
        !            53:        ctags ${SRCS}
        !            54:        ctags -a lcount.c
        !            55:        ctags -a lrntee.c
        !            56:        ctags -a getline.c getnum.c
        !            57:        sort -o tags tags
        !            58: 
        !            59: FRC:
        !            60: 
        !            61: # DO NOT DELETE THIS LINE -- mkdep uses it.
        !            62: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
        !            63: 
        !            64: copy.o: copy.c /usr/include/stdio.h /usr/include/signal.h
        !            65: copy.o: /usr/include/machine/trap.h lrnref.h
        !            66: dounit.o: dounit.c /usr/include/stdio.h lrnref.h
        !            67: getlesson.o: getlesson.c /usr/include/stdio.h lrnref.h
        !            68: learn.o: learn.c /usr/include/stdio.h lrnref.h /usr/include/signal.h
        !            69: learn.o: /usr/include/machine/trap.h
        !            70: list.o: list.c /usr/include/stdio.h lrnref.h /usr/include/signal.h
        !            71: list.o: /usr/include/machine/trap.h
        !            72: mem.o: mem.c /usr/include/stdio.h lrnref.h
        !            73: makpipe.o: makpipe.c /usr/include/stdio.h
        !            74: maktee.o: maktee.c /usr/include/stdio.h /usr/include/signal.h
        !            75: maktee.o: /usr/include/machine/trap.h lrnref.h
        !            76: mysys.o: mysys.c /usr/include/stdio.h /usr/include/signal.h
        !            77: mysys.o: /usr/include/machine/trap.h
        !            78: selsub.o: selsub.c /usr/include/stdio.h /usr/include/sys/types.h
        !            79: selsub.o: /usr/include/sys/file.h /usr/include/sys/stat.h lrnref.h
        !            80: selsub.o: /usr/include/sys/dir.h
        !            81: selunit.o: selunit.c /usr/include/stdio.h lrnref.h
        !            82: start.o: start.c /usr/include/stdio.h lrnref.h /usr/include/sys/types.h
        !            83: start.o: /usr/include/sys/dir.h
        !            84: whatnow.o: whatnow.c /usr/include/stdio.h lrnref.h
        !            85: wrapup.o: wrapup.c /usr/include/signal.h /usr/include/machine/trap.h
        !            86: wrapup.o: /usr/include/stdio.h lrnref.h
        !            87: lcount.o: lcount.c /usr/include/stdio.h
        !            88: lrntee.o: lrntee.c
        !            89: getline.o: getline.c /usr/include/stdio.h
        !            90: getnum.o: getnum.c /usr/include/stdio.h
        !            91: 
        !            92: # 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.