Annotation of researchv10no/cmd/twig/makefile, revision 1.1.1.1

1.1       root        1: #
                      2: CC= cc
                      3: INSTALL=       /usr/bin
                      4: TEMPLATES = /usr/lib/twig
                      5: SRCS=  twig.y sym.c path.c machine.c trees.c lex.c code.c io.c mem.c
                      6: OBJS=  y.tab.o sym.o path.o machine.o trees.o lex.o code.o io.o mem.o
                      7: HDRS=  common.h code.h sym.h machine.h mem.h
                      8: PREFIX=        \"$(TEMPLATES)/walker\"
                      9: 
                     10: all: twig
                     11: 
                     12: install: twig
                     13:        mv twig $(INSTALL)
                     14:        mv walker.c1 $(TEMPLATES)
                     15: 
                     16: kindling:
                     17:        bundle README makefile *.y *.c *.h rawwalker.* >kindling
                     18: 
                     19: sym.h: code.h
                     20: machine.h: machcomm.h
                     21:        touch machine.h
                     22: 
                     23: machine.o: common.h sym.h machine.h machine.c
                     24:        $(CC) -g -c machine.c
                     25: 
                     26: path.o: common.h sym.h path.c
                     27:        $(CC) -g -c path.c
                     28: 
                     29: y.tab.h: common.h  sym.h twig.y
                     30:        yacc -d twig.y
                     31: 
                     32: y.tab.c: y.tab.h common.h sym.h twig.y
                     33: y.tab.o: y.tab.c
                     34:        $(CC) -DPREFIX_BASE=$(PREFIX) -g -c y.tab.c
                     35: 
                     36: sym.o: common.h sym.h y.tab.h sym.c
                     37:        $(CC) -g -c sym.c
                     38: 
                     39: trees.o: common.h sym.h
                     40:        $(CC) -g -c trees.c
                     41: 
                     42: lex.o: common.h sym.h y.tab.h lex.c
                     43:        $(CC) -g -c lex.c
                     44: 
                     45: code.o: common.h code.h
                     46:        $(CC) -g -c code.c
                     47: 
                     48: io.o:  common.h io.c
                     49:        $(CC) -g -c io.c
                     50: 
                     51: mem.o: common.h mem.c
                     52:        $(CC) -g -c mem.c
                     53: 
                     54: twig:  $(OBJS)
                     55:        $(CC) -g -o twig $(OBJS)
                     56: 
                     57: # generate walker from templates
                     58: walker.c1: machcomm.h walker.h rawwalker.c1
                     59:        cat machcomm.h walker.h rawwalker.c1 >walker.c1
                     60: 
                     61: walker.ex: machcomm.h walker.h rawwalker.ex
                     62:        cat machcomm.h walker.h rawwalker.ex >walker.ex
                     63: 
                     64: # at bell labs only
                     65: print:
                     66:        pr makefile $(HDRS) $(SRCS) | 4can
                     67: bell_print:
                     68:        pp makefile $(HDRS) $(SRCS) | dcan
                     69: 
                     70: # at stanford only
                     71: enscript:
                     72:        enscript -Pbt -2r makefile $(HDRS) $(SRCS)
                     73: 

unix.superglobalmegacorp.com

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