Annotation of 40BSD/cmd/diction/Makefile, revision 1.1.1.1

1.1       root        1: #      make file for STYLE and DICTION
                      2: #
                      3: #      BIN is the directory for storing the object code
                      4: #              for the 3 programs that make up style
                      5: #      DICT is the full pathname of the file dict.d, the
                      6: #              dictionary file used by DICTION
                      7: #
                      8: BIN = ${DESTDIR}/usr/lib
                      9: DICT= -DDICT=\"/usr/lib/dict.d\"
                     10: 
                     11: all: diction style explain deroff
                     12: style: style1 style2 style3
                     13: 
                     14: install: style diction
                     15:        install -s style1 ${DESTDIR}/usr/lib
                     16:        install -s style2 ${DESTDIR}/usr/lib
                     17:        install -s style3 ${DESTDIR}/usr/lib
                     18:        install -s dprog ${DESTDIR}/usr/lib
                     19:        install -s deroff ${DESTDIR}/usr/lib
                     20:        install -c style ${DESTDIR}/usr/bin
                     21:        install -c diction ${DESTDIR}/usr/bin
                     22:        install -c explain ${DESTDIR}/usr/bin
                     23:        install -c dict.d ${DESTDIR}/usr/lib
                     24:        install -c explain.d ${DESTDIR}/usr/lib
                     25: 
                     26: clean:
                     27:        rm -f prtlex.c wdslex.c endlex.c
                     28:        rm -f *.o style1 style2 style3 dprog
                     29: 
                     30: style3: prtlex.o pscan.o outp.o
                     31:        cc prtlex.o pscan.o outp.o -ll  -o style3
                     32: prtlex.c: part.l
                     33:        lex part.l
                     34:        mv lex.yy.c prtlex.c
                     35: prtlex.o: names.h prtlex.c
                     36:        cc -c -O prtlex.c
                     37: pscan.o: names.h conp.h
                     38:        cc -c -O pscan.c
                     39: outp.o: names.h conp.h style.h 
                     40:        cc -c -O outp.c
                     41: 
                     42: style1: wdslex.o
                     43:        cc wdslex.o -ll  -o style1
                     44: wdslex.o: wdslex.c nhash.c dict.c ydict.c names.h
                     45:        cc -c wdslex.c
                     46: wdslex.c: nwords.l
                     47:        lex nwords.l
                     48:        mv lex.yy.c wdslex.c
                     49: 
                     50: style2: endlex.o
                     51:        cc endlex.o -ll  -o style2
                     52: endlex.o: names.h endlex.c ehash.c edict.c
                     53:        cc -c endlex.c
                     54: endlex.c: end.l
                     55:        lex end.l
                     56:        mv lex.yy.c endlex.c
                     57: 
                     58: diction: dprog
                     59: dprog: diction.c
                     60:        cc -O $(DICT) diction.c -i -o dprog
                     61: 
                     62: deroff:        deroff.c
                     63:        cc -O deroff.c -i -o deroff

unix.superglobalmegacorp.com

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