Annotation of researchv10no/cmd/diction/Makefile, revision 1.1.1.1

1.1       root        1: #      makefile for diction
                      2: #
                      3: #      LIB is directory for storing dprog and data
                      4: #      BIN is directory for commands
                      5: #      DICT is the data file
                      6: #      CATCH is for collecting data - if you don't want
                      7: #              data, remove the definition of CATCH
                      8: #      MACS is a file of dummy .PP .SH etc
                      9: #              definitions to avoid the overhead
                     10: #              of loading the whole macro packages
                     11: #              in rewrite
                     12: #              only used with -c flag
                     13: #
                     14: BIN = /usr/bin
                     15: LIB=/usr/lib/style
                     16: DICT= -DDICT=\"$(LIB)/dict.d\"
                     17: CATCH= -DCATCH=\"/usr/llc/collect/catch\"
                     18: MACS= -DMACS=\"$(LIB)/macs.tr\"
                     19: all: diction rewrite
                     20: diction: diction.c
                     21:        cc -O $(MACS) $(DICT) $(CATCH) diction.c -o dprog
                     22:        strip dprog
                     23: rewrite: rewrite.l
                     24:        lex rewrite.l
                     25:        cc -Od2 lex.yy.c -ll -o rewrt
                     26:        strip rewrt
                     27: install:
                     28:        mv dprog $(LIB)/dprog
                     29:        chmod 755 $(LIB)/dprog
                     30:        cp diction.sh $(BIN)/diction
                     31:        chmod 755 $(BIN)/diction
                     32:        cp dict.d $(LIB)/dict.d
                     33:        chmod 644 $(LIB)/dict.d
                     34:        cp suggest.sh $(BIN)/suggest
                     35:        chmod 755 $(BIN)/suggest
                     36:        cp suggest.d $(LIB)/suggest.d
                     37:        chmod 644 $(LIB)/suggest.d
                     38:        mv rewrt $(LIB)/rewrt
                     39:        chmod 755 $(LIB)/rewrt
                     40:        cp rewrite.sh $(BIN)/rewrite
                     41:        chmod 755 $(BIN)/rewrite
                     42:        cp macs.tr $(LIB)/macs.tr
                     43:        chmod 644 $(LIB)/macs.tr
                     44: clean:
                     45:        rm -f dprog rewrt
                     46:        rm -f lex.yy.c

unix.superglobalmegacorp.com

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