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

1.1       root        1: #
                      2: #  makefile for INGRES parser
                      3: #
                      4: #      @(#)Makefile    8.4     12/18/85
                      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: SSRCS1=        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 
                     19: SHDRS= scanner.h
                     20: SSRCS= $(SSRCS1) $(SHDRS)
                     21: SRCS1= att_fcn.c xdot.c range_fcn.c tree.c norml.c \
                     22:        call_tree.c control.c format.c par_util.c get_scan.c \
                     23:        parser.c par_init.c ack_err.c 
                     24: YSRCS= yyerror.y tables.y grammar.y
                     25: HDRS=  parser.h
                     26: SRCS=  $(SRCS1) $(YSRCS)
                     27: 
                     28: IUTIL= $(LIB)/iutil
                     29: GUTIL= $(LIB)/gutil
                     30: CTLMOD=        $(LIB)/ctlmod
                     31: LIBS=  $(IUTIL) $(GUTIL)
                     32: 
                     33: YFLAGS= 
                     34: CFLAGS=        -O -I$H
                     35: LINTFLAGS= -huc -I$H
                     36: LDFLAGS=
                     37: AR=    -ar
                     38: ARFLAGS=rvu
                     39: RANLIB=        ranlib
                     40: CHMOD= chmod
                     41: LIBMODE=664
                     42: BINMODE=4740
                     43: ROMODE=        444
                     44: CP=    cp
                     45: LINT=  lint
                     46: GET=   sccs get
                     47: REL=
                     48: PR=    print
                     49: VGRIND=        csh /usr/ucb/vgrind
                     50: HEADER=        Parser
                     51: 
                     52: parlib: $(OBJS) $(SOBJS)
                     53:        $(AR) $(ARFLAGS) parlib $?
                     54:        $(CHMOD) $(LIBMODE) parlib
                     55:        $(RANLIB) parlib
                     56: 
                     57: install: $(LIB)/parser
                     58: 
                     59: $(LIB)/parser: parlib
                     60:        $(CP) parlib $(LIB)/parser
                     61:        $(RANLIB) $(LIB)/parser
                     62: 
                     63: grammar.c: grammar.y
                     64:        grep -v "DDD" grammar.y > grammar.z
                     65:        $(YACC) $(YFLAGS) grammar.z
                     66:        mv y.tab.c grammar.c
                     67:        rm -f grammar.z
                     68: 
                     69: grammar.o: tables.y yyerror.y scanner.h parser.h
                     70: 
                     71: new:
                     72:        rm -f parser parlib
                     73: 
                     74: clean:
                     75:        rm -f *.o
                     76:        rm -f parser a.out core parlib grammar.c
                     77: 
                     78: sources: $(SRCS) $(SSRCS) $(HDRS)
                     79: 
                     80: lint:
                     81:        $(LINT) $(LINTFLAGS) $(SRCS1) $(SSRCS1)
                     82: 
                     83: print: sources
                     84:        $(PR) Makefile TraceFlags *.[hm] *.[csy]
                     85: 
                     86: vgrind: sources
                     87:        cp /dev/null index
                     88:        $(VGRIND) -h "$(HEADER) (Release 8)" -n Makefile TraceFlags
                     89:        $(VGRIND) -h "$(HEADER) (Release 8)" *.[hm] *.[csy]
                     90:        sed /SCCSID/d < index > tmp
                     91:        mv tmp index
                     92:        $(VGRIND) -h "$(HEADER) (Release 8)" -x index
                     93: 
                     94: tags: sources
                     95:        -fgrep ../ tags > othertags
                     96:        ctags  $(SRCS) $(HDRS)
                     97:        sort -o tags tags othertags
                     98:        -rm -f othertags
                     99: 
                    100: #
                    101: # DANGER       DANGER  DANGER  DANGER  DANGER  DANGER
                    102: # The following two entries should NOT be executed by the user.
                    103: # These entries are only for the Makefile in conf to construct
                    104: # the system tag files.
                    105: #
                    106: systags: 
                    107:        ctags $(SRCS) $(HDRS)
                    108:        sed "s/ /       parser\//" tags > systags
                    109:        cat systags >> ../tags
                    110: 
                    111: #
                    112: # We assume that systags has already been done.
                    113: #
                    114: installtags:
                    115:        sed "/  parser/d" ../tags | sed "s/     /       ..\//" > othertags
                    116:        sort -o tags tags othertags
                    117:        -rm -f othertags systags
                    118: 
                    119: $(SRCS) $(SSRCS):
                    120:        $(GET) $(REL) $@
                    121: 
                    122: depend:
                    123:        grep '^#[       ]*include' $(SRCS) $(SSRCS1) | sed -n -f ../h/depend.sed > makedep
                    124:        echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
                    125:        echo '$$r makedep' >>eddep
                    126:        echo 'w' >>eddep
                    127:        cp Makefile Makefile.bak
                    128:        ed - Makefile < eddep
                    129:        rm eddep makedep
                    130:        echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
                    131:        echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
                    132:        echo '# see make depend above' >> Makefile
                    133: 
                    134: # DO NOT DELETE THIS LINE -- make depend uses it
                    135: 
                    136: att_fcn.o:$H/ingres.h
                    137: att_fcn.o:$H/aux.h
                    138: att_fcn.o:$H/tree.h
                    139: att_fcn.o:$H/symbol.h
                    140: att_fcn.o:parser.h
                    141: att_fcn.o:$H/errors.h
                    142: xdot.o:$H/ingres.h
                    143: xdot.o:$H/aux.h
                    144: xdot.o:$H/tree.h
                    145: xdot.o:$H/symbol.h
                    146: xdot.o:parser.h
                    147: range_fcn.o:$H/ingres.h
                    148: range_fcn.o:$H/aux.h
                    149: range_fcn.o:$H/tree.h
                    150: range_fcn.o:$H/symbol.h
                    151: range_fcn.o:$H/range.h
                    152: range_fcn.o:parser.h
                    153: range_fcn.o:$H/errors.h
                    154: tree.o:$H/ingres.h
                    155: tree.o:$H/aux.h
                    156: tree.o:$H/tree.h
                    157: tree.o:$H/pv.h
                    158: tree.o:parser.h
                    159: tree.o:$H/symbol.h
                    160: tree.o:$H/errors.h
                    161: norml.o:$H/ingres.h
                    162: norml.o:$H/aux.h
                    163: norml.o:$H/tree.h
                    164: norml.o:$H/symbol.h
                    165: call_tree.o:$H/ingres.h
                    166: call_tree.o:$H/symbol.h
                    167: call_tree.o:$H/tree.h
                    168: call_tree.o:$H/pv.h
                    169: call_tree.o:parser.h
                    170: control.o:$H/ingres.h
                    171: control.o:$H/aux.h
                    172: control.o:$H/symbol.h
                    173: control.o:$H/tree.h
                    174: control.o:parser.h
                    175: control.o:$H/pv.h
                    176: control.o:scanner.h
                    177: control.o:$H/errors.h
                    178: format.o:$H/ingres.h
                    179: format.o:$H/aux.h
                    180: format.o:$H/tree.h
                    181: format.o:$H/symbol.h
                    182: format.o:parser.h
                    183: format.o:$H/errors.h
                    184: par_util.o:$H/ingres.h
                    185: par_util.o:$H/aux.h
                    186: par_util.o:$H/tree.h
                    187: par_util.o:parser.h
                    188: par_util.o:$H/catalog.h
                    189: par_util.o:$H/pv.h
                    190: par_util.o:$H/symbol.h
                    191: par_util.o:scanner.h
                    192: par_util.o:$H/errors.h
                    193: get_scan.o:$H/ingres.h
                    194: get_scan.o:scanner.h
                    195: parser.o:$H/ingres.h
                    196: parser.o:$H/range.h
                    197: parser.o:$H/tree.h
                    198: parser.o:$H/func.h
                    199: parser.o:$H/pv.h
                    200: parser.o:parser.h
                    201: parser.o:$H/errors.h
                    202: par_init.o:$H/ingres.h
                    203: par_init.o:$H/symbol.h
                    204: par_init.o:parser.h
                    205: par_init.o:$H/access.h
                    206: ack_err.o:$H/ingres.h
                    207: ack_err.o:$H/pv.h
                    208: yyerror.o:$H/errors.h
                    209: grammar.o:$H/ingres.h
                    210: grammar.o:$H/aux.h
                    211: grammar.o:$H/tree.h
                    212: grammar.o:$H/symbol.h
                    213: grammar.o:$H/pv.h
                    214: grammar.o:parser.h
                    215: grammar.o:$H/errors.h
                    216: grammar.o:scanner.h
                    217: grammar.o:tables.y
                    218: grammar.o:yyerror.y
                    219: s_yylex.o:$H/ingres.h
                    220: s_yylex.o:scanner.h
                    221: s_yylex.o:$H/errors.h
                    222: s_inout.o:$H/ingres.h
                    223: s_inout.o:scanner.h
                    224: s_name.o:$H/ingres.h
                    225: s_name.o:scanner.h
                    226: s_name.o:$H/errors.h
                    227: s_number.o:$H/ingres.h
                    228: s_number.o:$H/aux.h
                    229: s_number.o:scanner.h
                    230: s_number.o:$H/errors.h
                    231: s_operator.o:$H/ingres.h
                    232: s_operator.o:scanner.h
                    233: s_operator.o:$H/errors.h
                    234: s_string.o:$H/ingres.h
                    235: s_string.o:scanner.h
                    236: s_string.o:$H/errors.h
                    237: s_symtab.o:$H/ingres.h
                    238: s_symtab.o:$H/aux.h
                    239: s_symtab.o:scanner.h
                    240: s_symtab.o:$H/errors.h
                    241: s_comment.o:$H/ingres.h
                    242: s_comment.o:scanner.h
                    243: s_comment.o:$H/errors.h
                    244: s_cmap.o:scanner.h
                    245: # DEPENDENCIES MUST END AT END OF FILE
                    246: # IF YOU PUT STUFF HERE IT WILL GO AWAY
                    247: # 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.