Annotation of 42BSD/usr.bin/diction/Makefile, revision 1.1

1.1     ! root        1: #
        !             2: #      @(#)Makefile    4.5     (Berkeley)      83/06/30
        !             3: #
        !             4: #      make file for STYLE and DICTION
        !             5: #
        !             6: #      BIN is the directory for storing the object code
        !             7: #              for the 3 programs that make up style
        !             8: #      DICT is the full pathname of the file dict.d, the
        !             9: #              dictionary file used by DICTION
        !            10: #
        !            11: DESTDIR=
        !            12: SRCS = \
        !            13:        abbrev.c conp.h dict.c dict.d \
        !            14:        diction.c diction.sh edict.c ehash.c \
        !            15:        explain.d \
        !            16:        end.l getopt.c names.h nhash.c \
        !            17:        nwords.l outp.c part.l pscan.c \
        !            18:        style.h style.sh explain.sh ydict.c \
        !            19:        README
        !            20: 
        !            21: BIN = ${DESTDIR}/usr/lib
        !            22: DICT= -DDICT=\"/usr/lib/dict.d\"
        !            23: 
        !            24: all: diction style
        !            25: 
        !            26: style: style1 style2 style3
        !            27: 
        !            28: install: style diction style.sh diction.sh explain.sh dict.d explain.d
        !            29:        install -s style1 ${DESTDIR}/usr/lib
        !            30:        install -s style2 ${DESTDIR}/usr/lib
        !            31:        install -s style3 ${DESTDIR}/usr/lib
        !            32:        install -s dprog ${DESTDIR}/usr/lib
        !            33:        install -c style.sh ${DESTDIR}/usr/bin/style
        !            34:        install -c diction.sh ${DESTDIR}/usr/bin/diction
        !            35:        install -c explain.sh ${DESTDIR}/usr/bin/explain
        !            36:        install -c dict.d ${DESTDIR}/usr/lib
        !            37:        install -c explain.d ${DESTDIR}/usr/lib
        !            38: #      ln ${DESTDIR}/usr/bin/explain ${DESTDIR}/usr/bin/suggest
        !            39: 
        !            40: clean:
        !            41:        rm -f prtlex.c wdslex.c endlex.c
        !            42:        rm -f *.o style1 style2 style3 dprog
        !            43: 
        !            44: style3: prtlex.o pscan.o outp.o
        !            45:        cc prtlex.o pscan.o outp.o -ll  -o style3
        !            46: prtlex.c: part.l
        !            47:        lex part.l
        !            48:        mv lex.yy.c prtlex.c
        !            49: prtlex.o: names.h prtlex.c conp.h style.h names.h
        !            50:        cc -c -O prtlex.c
        !            51: pscan.o: names.h conp.h pscan.c
        !            52:        cc -c -O pscan.c
        !            53: outp.o: names.h conp.h style.h outp.c
        !            54:        cc -c -O outp.c
        !            55: 
        !            56: style1: wdslex.o
        !            57:        cc wdslex.o -ll  -o style1
        !            58: wdslex.o: wdslex.c nhash.c dict.c ydict.c names.h abbrev.c
        !            59:        cc -c wdslex.c
        !            60: wdslex.c: nwords.l
        !            61:        lex nwords.l
        !            62:        mv lex.yy.c wdslex.c
        !            63: 
        !            64: style2: endlex.o
        !            65:        cc endlex.o -ll  -o style2
        !            66: endlex.o: names.h endlex.c ehash.c edict.c
        !            67:        cc -c endlex.c
        !            68: endlex.c: end.l
        !            69:        lex end.l
        !            70:        mv lex.yy.c endlex.c
        !            71: 
        !            72: diction: dprog
        !            73: dprog: diction.c
        !            74:        cc -O $(DICT) diction.c -o dprog
        !            75: 
        !            76: srcs:  sources
        !            77: 
        !            78: sources: $(SRCS)
        !            79: 
        !            80: $(SRCS):
        !            81:        sccs get $@
        !            82: 

unix.superglobalmegacorp.com

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