diff --git a/WEGA/contrib/ingres/dbs/src/proto/libq b/WEGA/contrib/ingres/dbs/src/proto/libq new file mode 100644 index 0000000..5301009 --- /dev/null +++ b/WEGA/contrib/ingres/dbs/src/proto/libq @@ -0,0 +1,169 @@ +# include "../conf/conf.h" + +SHELL= /bin/sh +DBS= ../.. +SYSLIB= $(DBS)/lib +BIN= $(DBS)/bin +LIBQ= $(SYSLIB)/libq.a + +CC= cc +i_FLAG= +O_FLAG= -O +# ifndef FP_PROCESSOR +f_FLAG= -f +# else +f_FLAG= +# endif + +# ifdef A7150 +# endif + +# ifdef BC +# endif + +# ifdef EC1834 +# endif + +# ifdef ESER_PSU +# ifdef TRACE +i_FLAG= -d +# endif +# endif + +# ifdef ESER_VMX +# endif + +# ifdef HP_UX +# endif + +# ifdef P8000 +# endif + +# ifdef PDP +# endif + +# ifdef PDP70 +# endif + +# ifdef VAX +# endif + +# ifdef VENIX +# endif + +# ifdef XENIX286 +i_FLAG= -i -M2s +# endif + +# ifdef XENIX386 +# endif + +CFLAGS= $(O_FLAG) $(f_FLAG) $(i_FLAG) + +AR= -ar +# ifdef TEST +AR_R =rv +AR_X =xv +# else +AR_R =r +AR_X =x +# endif +LIBMODE= 0644 + +CHMOD= chmod +# ifdef RANLIB +MKLIB= ranlib +# else +MKLIB= @echo ranlib +# endif +RM= -rm -f +TOUCH= touch + +OBJS= IIw_left.o IIw_right.o IIcvar.o IIgettup.o \ + IIn_get.o IIn_ret.o IIdbs.o IIrdpipe.o \ + IIretrieve.o IIsetup.o IIflushtup.o IIsync.o \ + IIwrite.o IIwrpipe.o IIexit.o IIbmove.o \ + IIsyserr.o IIconvert.o IIerror.o IIp_err.o \ + IIprpipe.o IIresync.o IIitos.o IIconcatv.o \ + IIlength.o IIatoi.o IIsequal.o + +INSTALL: install + +UNLOAD: unload + +# ifdef NO_PIPE +install: + +unload: +# else +install: $(LIBQ) + +unload: + @-$(AR) $(AR_X) $(LIBQ) + @$(RM) __.SYMDEF + @-$(TOUCH) $(LIBQ) +# endif + +$(LIBQ): $(OBJS) + $(AR) $(AR_R) $@ $? + @-$(CHMOD) $(LIBMODE) $@ + $(MKLIB) $@ + +ALLCLEAN: allclean + +allclean: clean + $(RM) $(LIBQ) + +CLEAN: clean + +clean: + $(RM) $(OBJS) + +IIatoi.o: IIatoi.c ../gutil/atoi.c + +IIbmove.o: IIbmove.c ../gutil/bmove.src + +IIconcatv.o: IIconcatv.c ../gutil/ztack.c + +IIconvert.o: IIconvert.c ../dbu/convert.c + +# ifndef SIGN_EXT +IIdbs.o: IIdbs.c ../gutil/i1toi2.c +# endif + +IIdbs.o: ../h/bs.h + +IIitos.o: IIitos.c ../gutil/iocv.c + +IIlength.o: IIlength.c ../gutil/length.c + +IIp_err.o: IIp_err.c ../gutil/errfilen.c + +IIprpipe.o: IIprpipe.c ../iutil/prpipe.c + +IIsequal.o: IIsequal.c ../gutil/sequal.c + +# ifdef WENZLAFF +HOME= /z/dbs/src/libq +SRC= IIatoi.c IIbmove.c IIconcatv.c IIconvert.c \ + IIcvar.c IIerror.c IIexit.c IIflushtup.c \ + IIgettup.c IIglobals.h IIdbs.c IIitos.c \ + IIlength.c IIn_get.c IIn_ret.c IIp_err.c \ + IIprpipe.c IIrdpipe.c IIresync.c IIretrieve.c \ + IIsequal.c IIsetup.c IIsync.c IIsyserr.c \ + IIw_left.c IIw_right.c IIwrite.c IIwrpipe.c \ + gen.h Makefile + +.save: $(SRC) + mount DISK /wrk + CP $? $@ /wrk/libq + > $@ + umount DISK + +$(HOME)/.save: $(SRC) + CP $? $(HOME) + > $@ + +.PRECIOUS: .save +.PRECIOUS: $(HOME)/.save +# endif diff --git a/WEGA/contrib/ingres/dbs/src/proto/ovqp b/WEGA/contrib/ingres/dbs/src/proto/ovqp new file mode 100644 index 0000000..2af6342 --- /dev/null +++ b/WEGA/contrib/ingres/dbs/src/proto/ovqp @@ -0,0 +1,221 @@ +# include "../conf/conf.h" + +SHELL= /bin/sh +DBS= ../.. +LIB= ../lib +SYSBIN= $(DBS)/sys/bin + +CC= cc +i_FLAG= +O_FLAG= -O +# ifndef FP_PROCESSOR +f_FLAG= -f +# else +f_FLAG= +# endif + +LD= $(CC) +CRT0= +# ifdef ID_SEPERATE +LDFLAGS= -i +# else +# ifdef TEXT_SEPERATE +LDFLAGS= -n +# endif +# endif +LIBC= -lm + +# ifdef A7150 +# endif + +# ifdef BC +# endif + +# ifdef EC1834 +# endif + +# ifdef ESER_PSU +# ifdef TRACE +i_FLAG= -d +# endif +LIBC= -lm -lc +# endif + +# ifdef ESER_VMX +# endif + +# ifdef HP_UX +# endif + +# ifdef P8000 +LD= ld +CRT0= /lib/crt0.o +LIBC= -lm -lc +# endif + +# ifdef PDP +LDFLAGS= +# endif + +# ifdef PDP70 +# endif + +# ifdef VAX +# endif + +# ifdef VENIX +LD= ld +CRT0= /lib/crt0.o +LIBC= -lm -lc +# endif + +# ifdef XENIX286 +i_FLAG= -i -M2s +LD= ld +LDFLAGS= -i -Ms -F 2000 +CRT0= /lib/Sseg.o /lib/Scrt0.o +LIBC= /lib/Slibm.a /lib/Slibcfp.a /lib/Slibc.a +# endif + +# ifdef XENIX386 +LD= ld +CRT0= /lib/386/Sseg.o /lib/386/Scrt0.o +LIBC= /lib/386/Slibm.a /lib/386/Slibcfp.a /lib/386/Slibc.a +# endif + +CFLAGS= $(O_FLAG) $(f_FLAG) $(i_FLAG) + +AR= -ar +# ifdef TEST +AR_R =rv +AR_X =xv +# else +AR_R =r +AR_X =x +# endif +LIBMODE=0644 + +CHMOD= chmod +MODE= 6711 +# ifdef RANLIB +MKLIB= ranlib +# else +MKLIB= @echo ranlib +# endif +RM= -rm -f +TOUCH= touch + +OVQPLIB=$(LIB)/ovqp.a +ACCESS= $(LIB)/a.a +$(ACCESS): + +IUTIL= $(LIB)/i.a +$(IUTIL): + +GUTIL= $(LIB)/g.a +$(GUTIL): + +LIBES= $(OVQPLIB) $(ACCESS) $(IUTIL) $(GUTIL) +LIBS= $(LIBES) $(LIBC) +OVQP= $(SYSBIN)/ovqp34 +# ifdef OD_SEPERATE +ALL= $(OVQP) +# else +ALL= +# endif + +OBJS= main.o ovqp.o startovqp.o getqry.o \ + rdsym.o strategy.o findsimps.o key.o \ + scan.o interp.o interp1.o eqlpr.o \ + string.o typecheck.o support.o prsym.o \ + copyreturn.o + +INSTALL: install + +UNLOAD: unload + +# ifdef NO_PIPE +install: + +unload: +# else +install: $(OVQPLIB) $(ALL) + +unload: + @-$(AR) $(AR_X) $(OVQPLIB) + @$(RM) __.SYMDEF + @-$(TOUCH) $(OVQPLIB) +# endif + +$(OVQPLIB): $(OBJS) + $(AR) $(AR_R) $@ $? + @-$(CHMOD) $(LIBMODE) $@ + $(MKLIB) $@ + +$(OVQP): $(LIBES) + $(LD) $(LDFLAGS) STRIPFLAG $(CRT0) $(LIBS) -o $@ + @-$(CHMOD) $(MODE) $@ + +ALLCLEAN: allclean + +allclean: clean + $(RM) $(OVQPLIB) $(ALL) + +CLEAN: clean + +clean: + $(RM) $(OBJS) + +# ifdef BC +support.o: support.c + $(CC) -c $(f_FLAG) $(i_FLAG) support.c +# endif + +eqlpr.o: ../h/trace.h + +findsimps.o: ../h/trace.h + +getqry.o: ../h/trace.h + +interp.o: ../h/trace.h + +interp1.o: ../h/trace.h + +key.o: ../h/trace.h + +main.o: ../h/trace.h + +ovqp.o: ../h/trace.h + +rdsym.o: ../h/trace.h + +scan.o: ../h/trace.h + +strategy.o: ../h/trace.h + +string.o: ../h/trace.h + +support.o: ../h/trace.h + +# ifdef WENZLAFF +HOME= /z/dbs/src/ovqp +SRC= copyreturn.c eqlpr.c findsimps.c gen.h \ + getqry.c interp.c interp1.c key.c \ + main.c ovqp.c ovqp.h prsym.c \ + rdsym.c scan.c startovqp.c strategy.c \ + strategy.h string.c support.c typecheck.c \ + Makefile + +.save: $(SRC) + mount DISK /wrk + CP $? $@ /wrk/ovqp + > $@ + umount DISK + +$(HOME)/.save: $(SRC) + CP $? $(HOME) + > $@ + +.PRECIOUS: .save +.PRECIOUS: $(HOME)/.save +# endif diff --git a/WEGA/contrib/ingres/dbs/src/proto/qrymod b/WEGA/contrib/ingres/dbs/src/proto/qrymod new file mode 100644 index 0000000..e23541f --- /dev/null +++ b/WEGA/contrib/ingres/dbs/src/proto/qrymod @@ -0,0 +1,214 @@ +# include "../conf/conf.h" + +SHELL= /bin/sh +DBS= ../.. +LIB= ../lib +SYSBIN= $(DBS)/sys/bin + +CC= cc +i_FLAG= +O_FLAG= -O +# ifndef FP_PROCESSOR +f_FLAG= -f +# else +f_FLAG= +# endif + +LD= $(CC) +CRT0= +# ifdef ID_SEPERATE +LDFLAGS= -i +# else +# ifdef TEXT_SEPERATE +LDFLAGS= -n +# endif +# endif +LIBC= + +# ifdef A7150 +# endif + +# ifdef BC +# endif + +# ifdef EC1834 +# endif + +# ifdef ESER_PSU +# ifdef TRACE +i_FLAG= -d +# endif +LIBC= -lm -lc +# endif + +# ifdef ESER_VMX +LIBC= -lm -lc +# endif + +# ifdef HP_UX +# endif + +# ifdef P8000 +LD= ld +CRT0= /lib/crt0.o +LIBC= -lm -lc +# endif + +# ifdef PDP +# endif + +# ifdef PDP70 +# endif + +# ifdef VAX +# endif + +# ifdef VENIX +LD= ld +CRT0= /lib/crt0.o +LIBC= -lc +# endif + +# ifdef XENIX286 +i_FLAG= -i -M2s +LD= ld +LDFLAGS= -i -Ms -F 2000 +CRT0= /lib/Sseg.o /lib/Scrt0.o +LIBC= /lib/Slibm.a /lib/Slibcfp.a /lib/Slibc.a +# endif + +# ifdef XENIX386 +LD= ld +CRT0= /lib/386/Sseg.o /lib/386/Scrt0.o +LIBC= /lib/386/Slibm.a /lib/386/Slibcfp.a /lib/386/Slibc.a +# endif + +CFLAGS= $(O_FLAG) $(f_FLAG) $(i_FLAG) + +AR= -ar +# ifdef TEST +AR_R =rv +AR_X =xv +# else +AR_R =r +AR_X =x +# endif +LIBMODE= 0644 + +CHMOD= chmod +MODE= 6711 +# ifdef RANLIB +MKLIB= ranlib +# else +MKLIB= @echo ranlib +# endif +RM= -rm -f +TOUCH= touch + +QMLIB= $(LIB)/qrymod.a +PARLIB= $(LIB)/parser.a +$(PARLIB): + +ACCESS= $(LIB)/a.a +$(ACCESS): + +IUTIL= $(LIB)/i.a +$(IUTIL): + +GUTIL= $(LIB)/g.a +$(GUTIL): + +LIBES= $(QMLIB) $(PARLIB) $(ACCESS) $(IUTIL) $(GUTIL) +LIBS= $(LIBES) $(LIBC) +QRYMOD= $(SYSBIN)/qrymod + +OBJS= main.o readtree.o qrymod.o issue.o \ + define.o d_view.o d_integ.o d_prot.o \ + fillprotup.o view.o integrity.o protect.o \ + writetree.o range.o tree.o trscan.o \ + treepr.o util.o cat_desc.o + +INSTALL: install + +UNLOAD: unload + +# ifdef NO_PIPE +install: + +unload: +# else +install: $(QMLIB) $(QRYMOD) + +unload: + @-$(AR) $(AR_X) $(QMLIB) + @$(RM) __.SYMDEF + @-$(TOUCH) $(QMLIB) +# endif + +$(QMLIB): $(OBJS) + $(AR) $(AR_R) $@ $? + @-$(CHMOD) $(LIBMODE) $@ + $(MKLIB) $@ + +$(QRYMOD): $(LIBES) + $(LD) $(LDFLAGS) STRIPFLAG $(CRT0) $(LIBS) -o $@ + @-$(CHMOD) $(MODE) $@ + +ALLCLEAN: allclean + +allclean: clean + $(RM) $(QMLIB) $(QRYMOD) + +CLEAN: clean + +clean: + $(RM) $(OBJS) + +d_integ.o: ../h/trace.h + +define.o: ../h/trace.h + +integrity.o: ../h/trace.h + +issue.o: ../h/trace.h + +main.o: ../h/trace.h + +protect.o: ../h/trace.h + +qrymod.o: ../h/trace.h + +range.o: ../h/trace.h + +readtree.o: ../h/trace.h + +trscan.o: ../h/trace.h + +util.o: ../h/trace.h + +view.o: ../h/trace.h + +writetree.o: ../h/trace.h + +# ifdef WENZLAFF +HOME= /z/dbs/src/qrymod +SRC= cat_desc.c d_integ.c d_prot.c d_view.c \ + define.c fillprotup.c gen.h integrity.c \ + issue.c main.c protect.c qrymod.c \ + qrymod.h range.c readtree.c tree.c \ + treepr.c trscan.c util.c view.c \ + writetree.c Makefile + +.save: $(SRC) + mount DISK /wrk + CP $? $@ /wrk/qrymod + > $@ + umount DISK + +$(HOME)/.save: $(SRC) + CP $? $(HOME) + > $@ + +.PRECIOUS: .save +.PRECIOUS: $(HOME)/.save +# endif