From 822e796d3062a8067bdba035f1ffcfc9fba6b142 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Wed, 30 Aug 1989 16:06:49 +0000 Subject: [PATCH] ING_DB --- WEGA/contrib/ingres/dbs/cat/.save1 | 0 WEGA/contrib/ingres/dbs/cat/.save2 | 0 WEGA/contrib/ingres/dbs/cat/Makefile | 39 ++ .../contrib/ingres/dbs/data/base/adr/Makefile | 56 +++ .../ingres/dbs/data/base/ingres/Makefile | 27 ++ WEGA/contrib/ingres/dbs/demo/amx/Makefile | 346 ++++++++++++++++++ WEGA/contrib/ingres/dbs/src/struct/Makefile | 233 ++++++++++++ WEGA/contrib/ingres/dbs/sys/man/.save | 0 WEGA/contrib/ingres/dbs/sys/man/Makefile | 37 ++ WEGA/contrib/ingres/dbs/sys/ref/.save | 0 WEGA/contrib/ingres/dbs/sys/ref/Makefile | 33 ++ WEGA/contrib/ingres/dbs/sys/save/Makefile | 26 ++ 12 files changed, 797 insertions(+) create mode 100644 WEGA/contrib/ingres/dbs/cat/.save1 create mode 100644 WEGA/contrib/ingres/dbs/cat/.save2 create mode 100644 WEGA/contrib/ingres/dbs/cat/Makefile create mode 100644 WEGA/contrib/ingres/dbs/data/base/adr/Makefile create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/Makefile create mode 100644 WEGA/contrib/ingres/dbs/demo/amx/Makefile create mode 100644 WEGA/contrib/ingres/dbs/src/struct/Makefile create mode 100644 WEGA/contrib/ingres/dbs/sys/man/.save create mode 100644 WEGA/contrib/ingres/dbs/sys/man/Makefile create mode 100644 WEGA/contrib/ingres/dbs/sys/ref/.save create mode 100644 WEGA/contrib/ingres/dbs/sys/ref/Makefile create mode 100644 WEGA/contrib/ingres/dbs/sys/save/Makefile diff --git a/WEGA/contrib/ingres/dbs/cat/.save1 b/WEGA/contrib/ingres/dbs/cat/.save1 new file mode 100644 index 0000000..e69de29 diff --git a/WEGA/contrib/ingres/dbs/cat/.save2 b/WEGA/contrib/ingres/dbs/cat/.save2 new file mode 100644 index 0000000..e69de29 diff --git a/WEGA/contrib/ingres/dbs/cat/Makefile b/WEGA/contrib/ingres/dbs/cat/Makefile new file mode 100644 index 0000000..3d19164 --- /dev/null +++ b/WEGA/contrib/ingres/dbs/cat/Makefile @@ -0,0 +1,39 @@ +SHELL= /bin/sh + + +# +# FOLGENDE FUNKTION SIND INTERN +# +HOME= /z/dbs/cat +DISK= /dev/dbs +SRC1= 1doc.1 1doc.2 1doc.3 1doc.4 \ + 1doc.5 1doc.6 2doc.1 2doc.2 \ + 2doc.3 Makefile + +SRC2= 2doc.4 2doc.5 2doc.6 3doc \ + 4sachwort 5inhalt Makefile + +.save1: $(SRC1) + mount $(DISK) /wrk + cp $? $@ /wrk/cat1 + > $@ + umount $(DISK) + +.save2: $(SRC2) + mount $(DISK) /wrk + cp $? $@ /wrk/cat2 + > $@ + umount $(DISK) + +$(HOME)/.save1: $(SRC1) + cp $? $(HOME) + > $@ + +$(HOME)/.save2: $(SRC2) + cp $? $(HOME) + > $@ + +.PRECIOUS: .save1 +.PRECIOUS: .save2 +.PRECIOUS: $(HOME)/.save1 +.PRECIOUS: $(HOME)/.save2 diff --git a/WEGA/contrib/ingres/dbs/data/base/adr/Makefile b/WEGA/contrib/ingres/dbs/data/base/adr/Makefile new file mode 100644 index 0000000..21ae3fa --- /dev/null +++ b/WEGA/contrib/ingres/dbs/data/base/adr/Makefile @@ -0,0 +1,56 @@ +HOME= /z/dbs/data/base/adr +SHELL= /bin/sh +DISK= dbs +RM= rm -f +AMX= amx -O -s -i -o $@ $@.x + +SRC= admin adr.ii attribute.ii indexes.ii \ + integrities.ii protect.ii relation.ii tree.ii \ + dis.ii Makefile a.x adr.x \ + d.x dis.x kurz.x name.x \ + new.x + +PGM= a adr d dis \ + kurz name new + +install: $(PGM) + +a: a.x + $(AMX) + +adr: adr.x + $(AMX) + +d: d.x + $(AMX) + +dis: dis.x + $(AMX) + +kurz: kurz.x + $(AMX) + +brief: brief.x + $(AMX) + +name: name.x + $(AMX) + +new: new.x + $(AMX) + +clean: + $(RM) $(PGM) + +.save: $(SRC) $(PGM) + mount /dev/$(DISK) /wrk + cp $? $@ /wrk/adr + > .save + umount /dev/$(DISK) + +$(HOME)/.save: $(SRC) $(PGM) + cp $? $(HOME) + > $(HOME)/.save + +.PRECIOUS: .save +.PRECIOUS: $(HOME)/.save diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/Makefile b/WEGA/contrib/ingres/dbs/data/base/ingres/Makefile new file mode 100644 index 0000000..9e4aa7f --- /dev/null +++ b/WEGA/contrib/ingres/dbs/data/base/ingres/Makefile @@ -0,0 +1,27 @@ +HOME= /z/dbs/data/base/ingres +SHELL= /bin/sh +DISK= dbs +RM= rm -f + +SRC= au.ii doc.ii indexes.ii attribute.ii \ + integrities.ii protect.ii relation.ii tree.ii \ + admin ingres.lit new.q print.q \ + Makefile + +PGM= new print + +clean: + $(RM) $(PGM) + +.save: $(SRC) $(PGM) + mount /dev/$(DISK) /wrk + cp $? $@ /wrk/ingres + > .save + umount /dev/$(DISK) + +$(HOME)/.save: $(SRC) $(PGM) + cp $? $(HOME) + > $(HOME)/.save + +.PRECIOUS: .save +.PRECIOUS: $(HOME)/.save diff --git a/WEGA/contrib/ingres/dbs/demo/amx/Makefile b/WEGA/contrib/ingres/dbs/demo/amx/Makefile new file mode 100644 index 0000000..eaaed8d --- /dev/null +++ b/WEGA/contrib/ingres/dbs/demo/amx/Makefile @@ -0,0 +1,346 @@ +# +# MAKEFILE ZUR INSTALLATION DER AMX-DEMONSTRATIONEN +# ------------------------------------------------- +# +# (Alle Funkionen koennen auch mit grossen Buchstaben +# aufgerufen werden !) +# +# FUNKTIONSBESCHREIBUNG +# --------------------- +# +# ----- make INSTALL +# fuehrt die Funktion(en) +# 01 +# 02 +# 03 +# 04 +# 05 +# 06 +# 07 +# 08 +# 09 +# 10 +# 11 +# 12 +# 13 +# 14 +# 15 +# 16 +# 17 +# 18 +# zusammenhaengend aus. +# Fuer die Demonstrationen wird die Datenbank `dt' benoetigt. +# +# ----- make 01 +# Generierung AMX-Beispielprogramm 01 +# +# ----- make 02 +# Generierung AMX-Beispielprogramm 02 +# +# ----- make 03 +# Generierung AMX-Beispielprogramm 03 +# +# ----- make 04 +# Generierung AMX-Beispielprogramm 04 +# +# ----- make 05 +# Generierung AMX-Beispielprogramm 05 +# +# ----- make 06 +# Generierung AMX-Beispielprogramm 06 +# +# ----- make 07 +# Generierung AMX-Beispielprogramm 07 +# +# ----- make 08 +# Generierung AMX-Beispielprogramm 08 +# +# ----- make 09 +# Generierung AMX-Beispielprogramm 09 +# +# ----- make 10 +# Generierung AMX-Beispielprogramm 10 +# +# ----- make 11 +# Generierung AMX-Beispielprogramm 11 +# +# ----- make 12 +# Generierung AMX-Beispielprogramm 12 +# +# ----- make 13 +# Generierung AMX-Beispielprogramm 13 +# +# ----- make 14 +# Generierung AMX-Beispielprogramm 14 +# +# ----- make 15 +# Generierung AMX-Beispielprogramm 15 +# +# ----- make 16 +# Generierung AMX-Beispielprogramm 16 +# +# ----- make 17 +# Generierung AMX-Beispielprogramm 17 +# +# ----- make 18 +# Generierung AMX-Beispielprogramm 18 +# +# ----- make CLEAN +# loescht alle generierten und installierten Beispiele. +# + + +# +# ----- BASIS DEFINITIONEN +# +SHELL= /bin/sh +CC= amx +CFLAGS= -O +LDFLAGS=-s +RM= amxrm -f +ALL= 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 + + +# +# ----- INSTALL +# fuehrt die Funktion(en) +# 01 +# 02 +# 03 +# 04 +# 05 +# 06 +# 07 +# 08 +# 09 +# 10 +# 11 +# 12 +# 13 +# 14 +# 15 +# 16 +# 17 +# 18 +# zusammenhaengend aus. +# +INSTALL: install + +install: $(ALL) + + +# +# ----- 01 +# Generierung AMX-Beispielprogramm 01 +# retrieve (personal.all) where personal.name = "arg" +# +01: 01.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 02 +# Generierung AMX-Beispielprogramm 02 +# retrieve (personal.name) where personal.name = "arg" +# +02: 02.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 03 +# Generierung AMX-Beispielprogramm 03 +# retrieve (personal.name, seinen Leiter) +# +03: 03.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 04 +# Generierung AMX-Beispielprogramm 04 +# retrieve (personal.name, alle seine Leiter) +# +04: 04.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 05 +# Generierung AMX-Beispielprogramm 05 +# retrieve (personal.name, seine Stellung) +# +05: 05.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 06 +# Generierung AMX-Beispielprogramm 06 +# retrieve (personal.Struktur) +# +06: 06.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 07 +# Generierung AMX-Beispielprogramm 07 +# retrieve (teile.name, teile.farbe) where teile.farbe = "grau" +# +07: 07.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 08 +# Generierung AMX-Beispielprogramm 08 +# retrieve (teile.tname, teile.tnum, tot = teile.menge * teile.gewicht) +# +08: 08.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 09 +# Generierung AMX-Beispielprogramm 09 +# retrieve (teile.tname, teile.tnum) +# where teile.tnum = 2 or teile.tnum = 10 +# +09: 09.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 10 +# Generierung AMX-Beispielprogramm 10 +# retrieve (teile.tname, teile.tnum) +# where teile.tnum > 5 and teile.tnum <= 10 +# +10: 10.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 11 +# Generierung AMX-Beispielprogramm 11 +# retrieve (lieferung.tnum) where lieferung.lnum = 122 +# +11: 11.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 12 +# Generierung AMX-Beispielprogramm 12 +# retrieve (teile.tname) +# where lieferung.lnum = 122 and lieferung.tnum = teile.tnum +# +12: 12.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 13 +# Generierung AMX-Beispielprogramm 13 +# retrieve (lieferung.lnum) +# where teile.tname = "Zentraleinheit" and lieferung.tnum = teile.tnum +# +13: 13.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 14 +# Generierung AMX-Beispielprogramm 14 +# delete personal +# +14: 14.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 15 +# Generierung AMX-Beispielprogramm 15 +# delete personal where personal.leiter = 129 +# +15: 15.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 16 +# Generierung AMX-Beispielprogramm 16 +# append personal (name = "Unfug, Ulli", gehalt = 10000) +# +16: 16.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 17 +# Generierung AMX-Beispielprogramm 17 +# replace personal (num = 12, leiter = 157) +# where personal.name = "Unfug, Ulli" +# +17: 17.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- 18 +# Generierung AMX-Beispielprogramm 18 +# replace personal (gehalt = 1.1 * personal.gehalt) +# +18: 18.o + $(CC) $(LDFLAGS) -o $@ $@.o + + +# +# ----- Definition der Abhaengigkeit zwischen den `.x'-Files +# und den `.o'-Files (Generierungsvorschrift). +# +.x.o: + $(CC) -c $(CFLAGS) $< + + +# +# ----- Definition der zulaessigen Filenamenendungen +# +.SUFFIXES: .o .x + + +# +# ----- CLEAN +# loescht alle generierten und installierten Beispiele. +# +CLEAN: clean + +clean: + $(RM) $(ALL) *.o + + +# +# FOLGENDE FUNKTION SIND INTERN +# +HOME= /z/dbs/demo/amx +DISK= /dev/dbs +SRC= 01.x 02.x 03.x 04.x \ + 05.x 06.x 07.x 08.x \ + 09.x 10.x 11.x 12.x \ + 13.x 14.x 15.x 16.x \ + 17.x 18.x READ_ME Makefile + + +.save: $(SRC) + mount $(DISK) /wrk + cp $? $@ /wrk/demo_amx + > $@ + umount $(DISK) + +$(HOME)/.save: $(SRC) + cp $? $(HOME) + > $@ + +.PRECIOUS: .save +.PRECIOUS: $(HOME)/.save diff --git a/WEGA/contrib/ingres/dbs/src/struct/Makefile b/WEGA/contrib/ingres/dbs/src/struct/Makefile new file mode 100644 index 0000000..1c9d1f2 --- /dev/null +++ b/WEGA/contrib/ingres/dbs/src/struct/Makefile @@ -0,0 +1,233 @@ +HOME= /z/dbs/src/struct +SHELL= /bin/sh +SYS= ../../sys/bin +DISK= /dev/dbs +MV= mv +CHMOD= chmod +UMODE= 0700 +RM= rm -f + +SRC= DESCXX.c DESC.c RELATION.c ATTRIBUTE.c \ + INDEX.c ACCBUF.c TREE.c PROTECT.c \ + INTEGRITY.c REFS.c TUP_ID.c ADMIN.c \ + ADMINHDR.c LOCKREQ.c PIPFRMT.c TUP_HDR.c \ + OPTAB.c SPECIAL.c LASTOK.c BATCHBUF.c \ + SI_DOMS.c BATCHHD.c ACCESSPARAM.c RETCODE.c \ + DESXX.c OUT_ARG.c SYMBOL.c QTREE.c \ + VAR_NODE.c ROOT_NODE.c RES_NODE.c AOP_NODE.c \ + OP_NODE.c SVAR_NODE.c SRCID.c C.c \ + S.c Makefile + +ALL= DESCXX DESC RELATION ATTRIBUTE \ + INDEX ACCBUF TREE PROTECT \ + INTEGRITY REFS TUP_ID ADMIN \ + ADMINHDR LOCKREQ PIPFRMT TUP_HDR \ + OPTAB SPECIAL LASTOK BATCHBUF \ + SI_DOMS BATCHHD ACCESSPARAM RETCODE \ + DESXX OUT_ARG SYMBOL QTREE \ + VAR_NODE ROOT_NODE RES_NODE AOP_NODE \ + OP_NODE SVAR_NODE SRCID C \ + S + +install: $(ALL) + +C: C.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +S: S.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +DESCXX: DESCXX.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +TUP_HDR: TUP_HDR.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +DESC: DESC.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +RELATION: RELATION.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +ATTRIBUTE: ATTRIBUTE.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +INDEX: INDEX.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +ACCBUF: ACCBUF.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +TREE: TREE.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +PROTECT: PROTECT.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +INTEGRITY: INTEGRITY.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +REFS: REFS.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +TUP_ID: TUP_ID.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +ADMIN: ADMIN.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +ADMINHDR: ADMINHDR.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +LOCKREQ: LOCKREQ.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +PIPFRMT: PIPFRMT.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +OPTAB: OPTAB.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +SPECIAL: SPECIAL.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +LASTOK: LASTOK.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +BATCHBUF: BATCHBUF.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +SI_DOMS: SI_DOMS.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +BATCHHD: BATCHHD.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +ACCESSPARAM: ACCESSPARAM.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +RETCODE: RETCODE.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +DESXX: DESXX.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +OUT_ARG: OUT_ARG.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +SYMBOL: SYMBOL.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +QTREE: QTREE.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +VAR_NODE: VAR_NODE.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +ROOT_NODE: ROOT_NODE.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +RES_NODE: RES_NODE.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +AOP_NODE: AOP_NODE.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +OP_NODE: OP_NODE.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +SVAR_NODE: SVAR_NODE.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +SRCID: SRCID.c + $(CC) -O -s -o $@ $@.c + @-$(CHMOD) $(UMODE) $@ + $(MV) $@ $(SYS) + +clean: + $(RM) $(ALL) + +.save: $(SRC) + mount $(DISK) /wrk + cp $? $@ /wrk/struct + > $@ + umount $(DISK) + +$(HOME)/.save: $(SRC) + cp $? $(HOME) + > $@ + +.PRECIOUS: .save +.PRECIOUS: $(HOME)/.save diff --git a/WEGA/contrib/ingres/dbs/sys/man/.save b/WEGA/contrib/ingres/dbs/sys/man/.save new file mode 100644 index 0000000..e69de29 diff --git a/WEGA/contrib/ingres/dbs/sys/man/Makefile b/WEGA/contrib/ingres/dbs/sys/man/Makefile new file mode 100644 index 0000000..0602b72 --- /dev/null +++ b/WEGA/contrib/ingres/dbs/sys/man/Makefile @@ -0,0 +1,37 @@ +SHELL= /bin/sh + + +# +# FOLGENDE FUNKTION SIND INTERN +# +HOME= /z/dbs/sys/man +DISK= /dev/dbs +SRC= 00intro 02parser 03qrymod 04aovqp \ + 04bdecom 05dbu amx amxi \ + append copy copydb copyr \ + creatdb create creater dayfile \ + dbtmplt define delete destroy \ + destroydb destroyr eqc error \ + help helpr index indexr \ + integrity iql iqli libamx \ + libq macros manr modify \ + modifyr monitor permit print \ + printr purge ql range \ + rc rd refr replace \ + report reporti restore retrieve \ + rg rp_desc save saver \ + startup sysmod toc users \ + usersetup view Makefile + +.save: $(SRC) + mount $(DISK) /wrk + cp $? $@ /wrk/man + > $@ + umount $(DISK) + +$(HOME)/.save: $(SRC) + cp $? $(HOME) + > $@ + +.PRECIOUS: .save +.PRECIOUS: $(HOME)/.save diff --git a/WEGA/contrib/ingres/dbs/sys/ref/.save b/WEGA/contrib/ingres/dbs/sys/ref/.save new file mode 100644 index 0000000..e69de29 diff --git a/WEGA/contrib/ingres/dbs/sys/ref/Makefile b/WEGA/contrib/ingres/dbs/sys/ref/Makefile new file mode 100644 index 0000000..d25e7aa --- /dev/null +++ b/WEGA/contrib/ingres/dbs/sys/ref/Makefile @@ -0,0 +1,33 @@ +SHELL= /bin/sh + + +# +# FOLGENDE FUNKTION SIND INTERN +# +HOME= /z/dbs/sys/ref +DISK= /dev/dbs +SRC= amx append copy copydb \ + copyr creatdb create creater \ + dayfile define delete destroy \ + destroydb destroyr eqc error \ + help helpr index indexr \ + integrity iql manr modify \ + modifyr print printr purge \ + range rc rd refr \ + replace report restore retrieve \ + rg rp_desc save saver \ + startup sysmod toc users \ + usersetup view Makefile + +.save: $(SRC) + mount $(DISK) /wrk + cp $? $@ /wrk/ref + > $@ + umount $(DISK) + +$(HOME)/.save: $(SRC) + cp $? $(HOME) + > $@ + +.PRECIOUS: .save +.PRECIOUS: $(HOME)/.save diff --git a/WEGA/contrib/ingres/dbs/sys/save/Makefile b/WEGA/contrib/ingres/dbs/sys/save/Makefile new file mode 100644 index 0000000..23a37b4 --- /dev/null +++ b/WEGA/contrib/ingres/dbs/sys/save/Makefile @@ -0,0 +1,26 @@ +HOME= /z/dbs/sys/save +SHELL= /bin/sh +DISK= /dev/dbs +RM= rm -f + +SRC= S0 S0.save S1 S1.save \ + S2 S2.save S3 S3.save \ + S4 S4.save S5 S5.save \ + S6 S6.save S7 S7.save \ + cat1.save doc.save get lib.save \ + put SAVE SAVE.bin SAVE.file + +clean: + +.save: Makefile $(SRC) + mount $(DISK) /wrk + cp $? $@ /wrk/save + > $@ + umount $(DISK) + +$(HOME)/.save: Makefile $(SRC) + cp $? $(HOME) + > $@ + +.PRECIOUS: .save +.PRECIOUS: $(HOME)/.save