Annotation of 42BSD/ingres/source/parser/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: #  makefile for INGRES parser
                      3: #
                      4: #      @(#)Makefile    7.1     2/5/81
                      5: #
                      6: 
                      7: INGRES=        ../..
                      8: H=     ../h
                      9: LIB=   $(INGRES)/lib
                     10: 
                     11: SOBJS= s_yylex.o s_inout.o s_name.o s_number.o s_operator.o s_string.o \
                     12:        s_symtab.o s_comment.o s_cmap.o
                     13: OBJS=  parser.o control.o grammar.o att_fcn.o xdot.o \
                     14:        range_fcn.o tree.o norml.o \
                     15:        call_tree.o format.o par_util.o get_scan.o \
                     16:        par_init.o ack_err.o
                     17: SSRCS= s_yylex.c s_inout.c s_name.c s_number.c s_operator.c s_string.c \
                     18:        s_symtab.c s_comment.c s_cmap.c scanner.h
                     19: SRCS=  att_fcn.c xdot.c range_fcn.c tree.c norml.c \
                     20:        call_tree.c control.c format.c par_util.c get_scan.c \
                     21:        parser.c par_init.c ack_err.c yyerror.y tables.y \
                     22:        parser.h grammar.y
                     23: 
                     24: IUTIL= $(LIB)/iutil
                     25: GUTIL= $(LIB)/gutil
                     26: CTLMOD=        $(LIB)/ctlmod
                     27: LIBS=  $(IUTIL) $(GUTIL)
                     28: 
                     29: YFLAGS= 
                     30: CFLAGS=        -O -I$H
                     31: LDFLAGS=-z
                     32: AR=    -ar
                     33: ARFLAGS=rvu
                     34: RANLIB=        ranlib
                     35: CHMOD= chmod
                     36: LIBMODE=664
                     37: BINMODE=4740
                     38: ROMODE=        444
                     39: CP=    cp
                     40: GET=   sccs get
                     41: REL=
                     42: PR=    print
                     43: VGRIND=        csh /usr/ucb/vgrind
                     44: HEADER=        Parser
                     45: PRT=   /mnt/marc/bin/prt
                     46: 
                     47: parlib: $(OBJS) $(SOBJS)
                     48:        $(AR) $(ARFLAGS) parlib $?
                     49:        $(CHMOD) $(LIBMODE) parlib
                     50:        $(RANLIB) parlib
                     51: 
                     52: install: $(LIB)/parser
                     53: 
                     54: $(LIB)/parser: parlib
                     55:        $(CP) parlib $(LIB)/parser
                     56:        $(RANLIB) $(LIB)/parser
                     57: 
                     58: parser: $(OBJS) $(SOBJS) config.o
                     59:        $(CC) $(LDFLAGS) config.o $(OBJS) $(SOBJS) $(CTLMOD) $(LIBS)
                     60:        mv a.out parser
                     61:        $(CHMOD) $(BINMODE) parser
                     62:        ls -l parser; size parser
                     63: 
                     64: grammar.c: grammar.y
                     65:        grep -v "DDD" grammar.y > grammar.z
                     66:        $(YACC) $(YFLAGS) grammar.z
                     67:        mv y.tab.c grammar.c
                     68:        rm -f grammar.z
                     69: 
                     70: grammar.o: tables.y yyerror.y scanner.h parser.h
                     71: 
                     72: new:
                     73:        rm -f parser parlib
                     74: 
                     75: clean:
                     76:        rm -f *.o
                     77:        rm -f parser a.out core parlib
                     78: 
                     79: sources: $(SRCS) $(SSRCS)
                     80: 
                     81: print: sources
                     82:        $(PR) Makefile TraceFlags *.[hm] *.[csy]
                     83: 
                     84: vgrind: sources
                     85:        cp /dev/null index
                     86:        $(VGRIND) -h "$(HEADER) (Release 7)" -n Makefile TraceFlags
                     87:        $(VGRIND) -h "$(HEADER) (Release 7)" *.[hm] *.[csy]
                     88:        $(VGRIND) -h "$(HEADER) (Release 7)" -x index
                     89: 
                     90: prt: sources
                     91:        $(PRT) parser6.3 parser.h scanner.h grammar.y yyerror.y tables.y [a-r]*.c [t-x]*.c
                     92:        $(PRT) scanner6.3 s*.c
                     93: 
                     94: $(SRCS) $(SSRCS):
                     95:        $(GET) $(REL) SCCS/s.$@
                     96: 
                     97: config.c: ../conf/SCCS/s.parser.c
                     98:        $(GET) $(REL) -p ../conf/SCCS/s.parser.c > config.c
                     99:        $(CHMOD) $(ROMODE) config.c
                    100: 
                    101: depend:
                    102:        grep '^#[       ]*include' $(SRCS) | sed -n -f ../h/depend.sed > makedep
                    103:        echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
                    104:        echo '$$r makedep' >>eddep
                    105:        echo 'w' >>eddep
                    106:        cp Makefile Makefile.bak
                    107:        ed - Makefile < eddep
                    108:        rm eddep makedep
                    109:        echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
                    110:        echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
                    111:        echo '# see make depend above' >> Makefile
                    112: 
                    113: # DO NOT DELETE THIS LINE -- make depend uses it
                    114: 
                    115: att_fcn.o:$H/ingres.h
                    116: att_fcn.o:$H/aux.h
                    117: att_fcn.o:$H/tree.h
                    118: att_fcn.o:$H/symbol.h
                    119: att_fcn.o:parser.h
                    120: xdot.o:$H/ingres.h
                    121: xdot.o:$H/aux.h
                    122: xdot.o:$H/tree.h
                    123: xdot.o:$H/symbol.h
                    124: xdot.o:parser.h
                    125: range_fcn.o:$H/ingres.h
                    126: range_fcn.o:$H/aux.h
                    127: range_fcn.o:$H/tree.h
                    128: range_fcn.o:$H/symbol.h
                    129: range_fcn.o:$H/range.h
                    130: range_fcn.o:parser.h
                    131: tree.o:$H/ingres.h
                    132: tree.o:$H/aux.h
                    133: tree.o:$H/tree.h
                    134: tree.o:$H/pv.h
                    135: tree.o:parser.h
                    136: tree.o:$H/symbol.h
                    137: norml.o:$H/ingres.h
                    138: norml.o:$H/aux.h
                    139: norml.o:$H/tree.h
                    140: norml.o:$H/symbol.h
                    141: call_tree.o:$H/ingres.h
                    142: call_tree.o:$H/symbol.h
                    143: call_tree.o:$H/tree.h
                    144: call_tree.o:$H/pv.h
                    145: call_tree.o:parser.h
                    146: control.o:$H/ingres.h
                    147: control.o:$H/aux.h
                    148: control.o:$H/symbol.h
                    149: control.o:$H/tree.h
                    150: control.o:parser.h
                    151: control.o:$H/pv.h
                    152: control.o:scanner.h
                    153: format.o:$H/ingres.h
                    154: format.o:$H/aux.h
                    155: format.o:$H/tree.h
                    156: format.o:$H/symbol.h
                    157: format.o:parser.h
                    158: par_util.o:$H/ingres.h
                    159: par_util.o:$H/aux.h
                    160: par_util.o:$H/tree.h
                    161: par_util.o:parser.h
                    162: par_util.o:$H/catalog.h
                    163: par_util.o:$H/pv.h
                    164: par_util.o:$H/symbol.h
                    165: get_scan.o:$H/ingres.h
                    166: get_scan.o:scanner.h
                    167: parser.o:$H/ingres.h
                    168: parser.o:$H/range.h
                    169: parser.o:$H/tree.h
                    170: parser.o:$H/func.h
                    171: parser.o:$H/pv.h
                    172: parser.o:parser.h
                    173: par_init.o:$H/ingres.h
                    174: par_init.o:$H/symbol.h
                    175: par_init.o:parser.h
                    176: par_init.o:$H/access.h
                    177: ack_err.o:$H/ingres.h
                    178: ack_err.o:$H/pv.h
                    179: grammar.y:$H/ingres.h
                    180: grammar.y:$H/aux.h
                    181: grammar.y:$H/tree.h
                    182: grammar.y:$H/symbol.h
                    183: grammar.y:$H/pv.h
                    184: grammar.y:parser.h
                    185: grammar.y:scanner.h
                    186: grammar.y:tables.y
                    187: grammar.y:yyerror.y
                    188: # DEPENDENCIES MUST END AT END OF FILE
                    189: # IF YOU PUT STUFF HERE IT WILL GO AWAY
                    190: # see make depend above

unix.superglobalmegacorp.com

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