Annotation of coherent/d/bin/bc/Makefile, revision 1.1.1.1

1.1       root        1: DESTDIR=/interim/bin/
                      2: YFLAGS = -hdr yy.h -st -terms 55 -nterms 34 -prods 109 -states 203
                      3: OFILES = bcmch.o  bcmutil.o getnum.o globals.o gram.o grmact.o\
                      4:                interp.o lex.o main.o output.o putnum.o
                      5: HFILES = bc.h bcmch.h bcsymtbl.h
                      6: SFILES = globals.c main.c gram.y grmact.c interp.c bcmch.c bcmutil.c\
                      7:                lex.c getnum.c putnum.c output.c
                      8: CFLAGS= -AOs -I.. -I.
                      9: MFILES = readme Makefile gram.fix
                     10: 
                     11: bc:    $(OFILES) 
                     12:        $(CC) $(CFLAGS) -o bc $(DESTDIR)$(OFILES) -lmp
                     13: 
                     14: install : bc
                     15:        su root cp bc /bin
                     16:        su root chmog 511 bin bin /bin/bc
                     17: 
                     18: bcprof:        $(OFILES)
                     19:        $(CC) $(CFLAGS) -o bcprof -p $(OFILES) bc.v.o -lmp
                     20: 
                     21: print:
                     22:        pr $(MFILES) $(HFILES) $(SFILES)
                     23: 
                     24: ofiles:                $(OFILES)
                     25: 
                     26: bc.v.o: $(SFILES)
                     27:        version `pwd` bc $(SFILES) > bc.v.s
                     28:        as -o bc.v.o bc.v.s
                     29:        rm bc.v.s
                     30: 
                     31: clean:
                     32:        -rm $(OFILES) yy.h
                     33: 
                     34: $(OFILES):     $(HFILES)
                     35: 
                     36: debug.o:       $(HFILES)
                     37: lex.o:         gram.o
                     38: # gram.fix rewrites the terminal name list into the input strings rather
                     39: # then the NAMES_ used in the grammar
                     40: gram.o: gram.y $(HFILES) gram.fix
                     41:        yacc $(YFLAGS) `srcpath gram.y`
                     42:        sed -f `srcpath gram.fix` < y.tab.c > gram.c
                     43:        rm y.tab.c
                     44:        $(CC) $(CFLAGS) -c gram.c
                     45:        rm gram.c

unix.superglobalmegacorp.com

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