Annotation of researchv9/cmd/pic/makefile, revision 1.1

1.1     ! root        1: CFLAGS = -O      # you might prefer -O
        !             2: YFLAGS = -d
        !             3: 
        !             4: OFILES = picy.o picl.o main.o print.o misc.o symtab.o blockgen.o boxgen.o \
        !             5:         circgen.o arcgen.o linegen.o movegen.o textgen.o \
        !             6:         input.o for.o pltroff.o $(ALLOC)
        !             7: CFILES = main.c print.c misc.c symtab.c blockgen.c boxgen.c circgen.c \
        !             8:         arcgen.c linegen.c movegen.c textgen.c \
        !             9:         input.c for.c pltroff.c
        !            10: SRCFILES = picy.y picl.l pic.h $(CFILES)
        !            11: 
        !            12: pic:   $(OFILES)
        !            13:        cc $(CFLAGS) $(OFILES) -lm
        !            14: 
        !            15: $(OFILES):     pic.h prevy.tab.h
        !            16: 
        !            17: y.tab.h:       picy.o
        !            18: 
        !            19: prevy.tab.h:   y.tab.h
        !            20:        -cmp -s y.tab.h prevy.tab.h || cp y.tab.h prevy.tab.h
        !            21: 
        !            22: prcan: WISH README UNDOC picy.y picl.l pic.h  $(CFILES) PS-PEmacros
        !            23:        @prcan $?
        !            24:        @touch prcan
        !            25: 
        !            26: cyntax:
        !            27:        cyntax $(CFILES)
        !            28: 
        !            29: bundle:
        !            30:        @bundle picy.y picl.l pic.h $(CFILES) makefile UNDOC README PS-PEmacros
        !            31: 
        !            32: bun1:
        !            33:        @bundle picy.y picl.l pic.h makefile UNDOC README PS-PEmacros
        !            34: 
        !            35: bun2:
        !            36:        @bundle $(CFILES)
        !            37: 
        !            38: backup:        picy.y picl.l pic.h $(CFILES) makefile pictest.a PS-PEmacros UNDOC
        !            39:        push snb $? pic
        !            40:        touch backup
        !            41: 
        !            42: bowell:        picy.y picl.l pic.h $(CFILES) makefile pictest.a PS-PEmacros UNDOC
        !            43:        push bowell $? /src/cmd/pic
        !            44:        touch bowell
        !            45: 
        !            46: memo:
        !            47:        refer -e picmemo | pic | eqn | troff -ms $(TFLAGS) >pic.out 2>pic.mess
        !            48: 
        !            49: clean:
        !            50:        rm *.o a.out *y.tab.h
        !            51: 
        !            52: install:
        !            53:        cp a.out /usr/bin/pic
        !            54:        strip /usr/bin/pic

unix.superglobalmegacorp.com

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