BSD 4_1c_2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Thu, 28 Oct 1982 15:15:57 +0000 (07:15 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Thu, 28 Oct 1982 15:15:57 +0000 (07:15 -0800)
Work on file usr/src/ucb/ingres/source/parser/index
Work on file usr/src/ucb/ingres/source/parser/tags
Work on file usr/src/ucb/ingres/source/qrymod/Makefile

Synthesized-from: CSRG/cd1/4.1c.2

usr/src/ucb/ingres/source/parser/index [new file with mode: 0644]
usr/src/ucb/ingres/source/parser/tags [new file with mode: 0644]
usr/src/ucb/ingres/source/qrymod/Makefile [new file with mode: 0644]

diff --git a/usr/src/ucb/ingres/source/parser/index b/usr/src/ucb/ingres/source/parser/index
new file mode 100644 (file)
index 0000000..cf59ebf
--- /dev/null
@@ -0,0 +1,92 @@
+ack_err ack_err.c 1
+addresdom tree.c 4
+adjust norml.c 7
+attadd att_fcn.c 5
+attalloc att_fcn.c 9
+attcheck att_fcn.c 7
+attcount att_fcn.c 10
+attfind att_fcn.c 6
+attfree att_fcn.c 8
+attinit att_fcn.c 2
+attlookup att_fcn.c 3
+backup s_inout.c 1
+call_tree call_tree.c 1
+checkupd range_fcn.c 10
+comment s_comment.c 1
+ctlmod_decl range_fcn.c 1
+endgo control.c 8
+endquelst control.c 3
+endretrieve control.c 9
+format format.c 1
+freesym s_symtab.c 1
+getcop tree.c 5
+getcvar s_yylex.c 2
+get_scan get_scan.c 1
+gtchar s_inout.c 1
+header par_util.c 4
+init_quelst control.c 2
+makestr par_util.c 7
+mvands norml.c 8
+name s_name.c 1
+neederr yyerror.y 3
+nnorm norml.c 5
+norm norml.c 3
+norml norml.c 2
+notpush norml.c 6
+number s_number.c 1
+operator s_operator.c 1
+par_error yyerror.y 1
+par_init par_init.c 1
+parser parser.c 2
+pass_err pass_err.c 1
+patmat par_util.c 5
+permcom par_util.c 6
+printslot range_fcn.c 12
+printtable range_fcn.c 12
+printtrail control.c 10
+rngback range_fcn.c 5
+rngdel range_fcn.c 4
+rngent range_fcn.c 4
+rngfresh range_fcn.c 10
+rngfront range_fcn.c 5
+rngget range_fcn.c 7
+rnginit range_fcn.c 2
+rnglook range_fcn.c 3
+rngold range_fcn.c 8
+rngreset range_fcn.c 9
+SCCSID ack_err.c 1
+SCCSID att_fcn.c 1
+SCCSID call_tree.c 1
+SCCSID control.c 1
+SCCSID format.c 1
+SCCSID get_scan.c 1
+SCCSID grammar.c 1
+SCCSID grammar.y 1
+SCCSID norml.c 1
+SCCSID par_init.c 1
+SCCSID parser.c 1
+SCCSID par_util.c 1
+SCCSID pass_err.c 1
+SCCSID range_fcn.c 1
+SCCSID s_cmap.c 1
+SCCSID s_comment.c 1
+SCCSID s_inout.c 1
+SCCSID s_name.c 1
+SCCSID s_number.c 1
+SCCSID s_operator.c 1
+SCCSID s_string.c 1
+SCCSID s_symtab.c 1
+SCCSID s_yylex.c 1
+SCCSID tree.c 1
+SCCSID xdot.c 1
+startgo control.c 7
+string s_string.c 1
+syment s_symtab.c 1
+timeofday par_util.c 2
+tlprepend par_util.c 3
+travers norml.c 5
+tree tree.c 1
+windup tree.c 3
+xdot xdot.c 1
+yyerror yyerror.y 1
+yylex s_yylex.c 1
diff --git a/usr/src/ucb/ingres/source/parser/tags b/usr/src/ucb/ingres/source/parser/tags
new file mode 100644 (file)
index 0000000..025035c
--- /dev/null
@@ -0,0 +1,69 @@
+ack_err        ack_err.c       ?^ack_err()$?
+addresdom      tree.c  ?^addresdom(lptr, rptr)$?
+adjust norml.c ?^adjust(pp)$?
+attadd att_fcn.c       ?^attadd(slot, tuple)$?
+attalloc       att_fcn.c       ?^attalloc()$?
+attcheck       att_fcn.c       ?^attcheck(aptr)$?
+attcount       att_fcn.c       ?^attcount(slot)$?
+attfind        att_fcn.c       ?^attfind(slot, attrib)$?
+attfree        att_fcn.c       ?^attfree(aptr)$?
+attinit        att_fcn.c       ?^attinit()$?
+attlookup      att_fcn.c       ?^attlookup(slot, attrib)$?
+backup s_inout.c       ?^backup(chr)$?
+call_tree      call_tree.c     ?^call_tree(qmode, dest, err_fcn)$?
+checkupd       range_fcn.c     ?^checkupd(entnum)$?
+comment        s_comment.c     ?^comment()$?
+ctlmod_decl    range_fcn.c     ?^ctlmod_decl(slot)$?
+endgo  control.c       ?^endgo()$?
+endquelst      control.c       ?^endquelst(op)$?
+endretrieve    control.c       ?^endretrieve(err_fcn)$?
+format format.c        ?^format(result1)$?
+freesym        s_symtab.c      ?^freesym()$?
+get_scan       get_scan.c      ?^get_scan(mode)$?
+getcop tree.c  ?^getcop(string)$?
+getcvar        s_yylex.c       ?^getcvar(type, len)$?
+gtchar s_inout.c       ?^gtchar()$?
+header par_util.c      ?^header(pv)$?
+init_quelst    control.c       ?^init_quelst()$?
+makestr        par_util.c      ?^makestr(str)$?
+mvands norml.c ?^mvands(andp)$?
+name   s_name.c        ?^name(chr)$?
+neederr        yyerror.y       ?^neederr(errnum)$?
+nnorm  norml.c ?^nnorm(p1)$?
+norm   norml.c ?^norm(p)$?
+norml  norml.c ?^norml(ptr)$?
+notpush        norml.c ?^notpush(p1)$?
+number s_number.c      ?^number(chr)$?
+operator       s_operator.c    ?^operator(chr)$?
+par_error      yyerror.y       ?^par_error(num, result, a, b, c)$?
+par_init       par_init.c      ?^par_init(argc, argv1)$?
+parser parser.c        ?^parser()$?
+pass_err       pass_err.c      ?^pass_err(pc, pv)$?
+patmat par_util.c      ?^patmat(str)$?
+permcom        par_util.c      ?^permcom(a)$?
+printslot      range_fcn.c     ?^printslot(slot)$?
+printtable     range_fcn.c     ?^printtable()$?
+printtrail     control.c       ?^printtrail()$?
+rngback        range_fcn.c     ?^rngback(slot)$?
+rngdel range_fcn.c     ?^rngdel(rel)$?
+rngent range_fcn.c     ?^rngent(type, var, desc)$?
+rngfresh       range_fcn.c     ?^rngfresh(op)$?
+rngfront       range_fcn.c     ?^rngfront(slot)$?
+rngget range_fcn.c     ?^rngget(slot)$?
+rnginit        range_fcn.c     ?^rnginit()$?
+rnglook        range_fcn.c     ?^rnglook(name, type)$?
+rngold range_fcn.c     ?^rngold()$?
+rngreset       range_fcn.c     ?^rngreset()$?
+startgo        control.c       ?^startgo()$?
+string s_string.c      ?^string(op)$?
+syment s_symtab.c      ?^syment(ptr, len1)$?
+timeofday      par_util.c      ?^timeofday(hrs, mins)$?
+tlprepend      par_util.c      ?^tlprepend(a, b)$?
+travers        norml.c ?^travers(p1)$?
+tree   tree.c  ?^tree(lptr, rptr, typ, len, valu, attnum)$?
+treedup        norml.c ?^*treedup(p1)$?
+windup tree.c  ?^windup(ptr)$?
+xdot   xdot.c  ?^xdot(slot)$?
+yyerror        yyerror.y       ?^yyerror(errmessage)$?
+yylex  s_yylex.c       ?^yylex()$?
+yyparse        grammar.c       ?^yyparse() {$?
diff --git a/usr/src/ucb/ingres/source/qrymod/Makefile b/usr/src/ucb/ingres/source/qrymod/Makefile
new file mode 100644 (file)
index 0000000..495e763
--- /dev/null
@@ -0,0 +1,187 @@
+#
+#  Makefile for INGRES query modification module
+#
+#      @(#)Makefile    7.1     2/5/81
+#
+
+INGRES=        ../..
+H=     ../h
+LIB=   $(INGRES)/lib
+
+CTLMOD=        $(LIB)/ctlmod
+IUTIL= $(LIB)/iutil
+GUTIL= $(LIB)/gutil
+LIBS=  $(CTLMOD) $(IUTIL) $(GUTIL)
+# PLIB=        ../parser/norml.o
+
+CFLAGS=        -O -I$H
+LDFLAGS=-z
+AR=    -ar
+ARFLAGS=rvu
+RANLIB=        ranlib
+CP=    cp
+CHMOD= chmod
+LIBMODE=664
+BINMODE=4740
+ROMODE=        444
+GET=   sccs get
+REL=
+PR=    print
+VGRIND=        csh /usr/ucb/vgrind
+HEADER=        Query Modification
+CTAGS= /bin/csh /usr/ucb/ctags
+
+OBJS=  d_integ.o d_prot.o d_view.o puttree.o qrymod.o \
+       integrity.o protect.o view.o trscan.o \
+       issue.o norml.o tree.o util.o
+SRCS=  integrity.c issue.c norml.c protect.c \
+       qrymod.c tree.c trscan.c \
+       util.c view.c puttree.c \
+       d_view.c d_prot.c d_integ.c qrymod.h
+
+qrymodlib: $(OBJS)
+       $(AR) $(ARFLAGS) qrymodlib $?
+       $(CHMOD) $(LIBMODE) qrymodlib
+       $(RANLIB) qrymodlib
+
+install: $(LIB)/qrymod
+
+$(LIB)/qrymod: qrymodlib
+       $(CP) qrymodlib $(LIB)/qrymod
+       $(RANLIB) $(LIB)/qrymod
+
+.PRECIOUS: qrymodlib
+
+qrymod: $(OBJS) config.o
+       $(CC) $(LDFLAGS) config.o $(OBJS) $(LIBS) -o qrymod
+       $(CHMOD) $(BINMODE) qrymod
+       ls -l qrymod; size qrymod
+
+sources: $(SRCS)
+
+$(SRCS):
+       $(GET) $(REL) SCCS/s.$@
+
+print: sources
+       $(PR) Makefile TraceFlags *.[hm] *.[csy]
+
+vgrind: sources
+       cp /dev/null index
+       $(VGRIND) -h "$(HEADER) (Release 7)" -n Makefile TraceFlags
+       $(VGRIND) -h "$(HEADER) (Release 7)" *.[hm] *.[csy]
+       $(VGRIND) -h "$(HEADER) (Release 7)" -x index
+
+ctags:
+       $(CTAGS) *.c ../parser/norml.c ../iutil/trbuild.c
+
+new:
+       rm -f qrymodlib
+
+clean:
+       rm -f *.o
+       rm -f core a.out qrymod qrymodlib config.c
+
+$(OBJS): qrymod.h
+
+config.c: ../conf/SCCS/s.qrymod.c
+       $(GET) $(REL) -p ../conf/SCCS/s.qrymod.c > config.c
+       $(CHMOD) $(ROMODE) config.c
+
+depend:
+       grep '^#[       ]*include' $(SRCS) | sed -n -f ../h/depend.sed > makedep
+       echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
+       echo '$$r makedep' >>eddep
+       echo 'w' >>eddep
+       cp Makefile Makefile.bak
+       ed - Makefile < eddep
+       rm eddep makedep
+       echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
+       echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
+       echo '# see make depend above' >> Makefile
+
+# DO NOT DELETE THIS LINE -- make depend uses it
+
+integrity.o:$H/ingres.h
+integrity.o:$H/aux.h
+integrity.o:$H/catalog.h
+integrity.o:$H/access.h
+integrity.o:$H/tree.h
+integrity.o:$H/symbol.h
+integrity.o:qrymod.h
+issue.o:$H/ingres.h
+issue.o:$H/aux.h
+issue.o:$H/symbol.h
+issue.o:$H/tree.h
+issue.o:$H/pv.h
+issue.o:qrymod.h
+norml.o:$H/ingres.h
+norml.o:$H/aux.h
+norml.o:$H/tree.h
+norml.o:$H/symbol.h
+protect.o:$H/ingres.h
+protect.o:$H/aux.h
+protect.o:$H/catalog.h
+protect.o:$H/symbol.h
+protect.o:$H/tree.h
+protect.o:qrymod.h
+qrymod.o:$H/ingres.h
+qrymod.o:$H/aux.h
+qrymod.o:$H/pv.h
+qrymod.o:$H/opsys.h
+qrymod.o:$H/func.h
+qrymod.o:$H/tree.h
+qrymod.o:qrymod.h
+tree.o:$H/ingres.h
+tree.o:$H/tree.h
+tree.o:$H/symbol.h
+tree.o:qrymod.h
+trscan.o:$H/ingres.h
+trscan.o:$H/symbol.h
+trscan.o:$H/tree.h
+trscan.o:qrymod.h
+util.o:$H/ingres.h
+util.o:$H/aux.h
+util.o:$H/symbol.h
+util.o:$H/tree.h
+util.o:qrymod.h
+view.o:$H/ingres.h
+view.o:$H/aux.h
+view.o:$H/symbol.h
+view.o:$H/tree.h
+view.o:qrymod.h
+puttree.o:$H/ingres.h
+puttree.o:$H/catalog.h
+puttree.o:$H/symbol.h
+puttree.o:$H/lock.h
+puttree.o:$H/tree.h
+puttree.o:qrymod.h
+d_view.o:$H/ingres.h
+d_view.o:$H/aux.h
+d_view.o:$H/tree.h
+d_view.o:$H/symbol.h
+d_view.o:$H/catalog.h
+d_view.o:$H/pv.h
+d_view.o:$H/func.h
+d_view.o:qrymod.h
+d_prot.o:$H/ingres.h
+d_prot.o:$H/aux.h
+d_prot.o:$H/catalog.h
+d_prot.o:$H/access.h
+d_prot.o:$H/tree.h
+d_prot.o:$H/symbol.h
+d_prot.o:$H/lock.h
+d_prot.o:$H/pv.h
+d_prot.o:$H/func.h
+d_prot.o:qrymod.h
+d_integ.o:$H/ingres.h
+d_integ.o:$H/aux.h
+d_integ.o:$H/catalog.h
+d_integ.o:$H/tree.h
+d_integ.o:$H/symbol.h
+d_integ.o:$H/pv.h
+d_integ.o:$H/resp.h
+d_integ.o:$H/func.h
+d_integ.o:qrymod.h
+# DEPENDENCIES MUST END AT END OF FILE
+# IF YOU PUT STUFF HERE IT WILL GO AWAY
+# see make depend above