home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume19 / shape / part02 < prev    next >
Text File  |  1989-05-31  |  62KB  |  1,927 lines

  1. Subject:  v19i015:  A software configuration management system, Part02/33
  2. Newsgroups: comp.sources.unix
  3. Sender: sources
  4. Approved: rsalz@uunet.UU.NET
  5.  
  6. Submitted-by: Axel Mahler <unido!coma!axel>
  7. Posting-number: Volume 19, Issue 15
  8. Archive-name: shape/part02
  9.  
  10.  
  11.  
  12. #! /bin/sh
  13. # This is a shell archive.  Remove anything before this line, then unpack
  14. # it by saving it into a file and typing "sh file".  To overwrite existing
  15. # files, type "sh file -c".  You can also feed this as standard input via
  16. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  17. # will see the following message at the end:
  18. #        "End of archive 2 (of 33)."
  19. # Contents:  demo/Shapefile demo/shapedemo.c interface/shape-config.el
  20. #   man/man3/afnote.3 man/man3/afperm.3 man/man3/afvariant.3
  21. #   src/afs/predef.h src/afs/suffix.h src/afsit/Makefile
  22. #   src/config/rules.sh src/inc/project.h src/misc/ParseArgs.h
  23. #   src/misc/anames.h src/misc/pdbutil.c
  24. #   src/shape/Makefile.distribution src/shape/macro.h src/shape/rule.h
  25. #   src/shape/selrule.h src/shape/std.h src/shape/varsec.h
  26. #   src/vc/locks.h src/vc/product-definition.sh src/vc/project.h
  27. #   src/vc/save.h src/vc/vadmdefs.h src/vc/vc_sysdep.h src/vfind/atk.h
  28. # Wrapped by rsalz@papaya.bbn.com on Thu Jun  1 19:26:48 1989
  29. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  30. if test -f 'demo/Shapefile' -a "${1}" != "-c" ; then 
  31.   echo shar: Will not clobber existing file \"'demo/Shapefile'\"
  32. else
  33. echo shar: Extracting \"'demo/Shapefile'\" \(1922 characters\)
  34. sed "s/^X//" >'demo/Shapefile' <<'END_OF_FILE'
  35. X#
  36. X# Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  37. X#  and U. Pralle
  38. X# 
  39. X# This software is published on an as-is basis. There is ABSOLUTELY NO
  40. X# WARRANTY for any part of this software to work correctly or as described
  41. X# in the manuals. We do not accept any liability for any kind of damage
  42. X# caused by use of this software, such as loss of data, time, money, or effort.
  43. X# 
  44. X# Permission is granted to use, copy, modify, or distribute any part of
  45. X# this software as long as this is done without asking for charge, and
  46. X# provided that this copyright notice is retained as part of the source
  47. X# files. You may charge a distribution fee for the physical act of
  48. X# transferring a copy, and you may at your option offer warranty
  49. X# protection in exchange for a fee.
  50. X# 
  51. X# Direct questions to: Tech. Univ. Berlin
  52. X#              Wilfried Koch
  53. X#              Sekr. FR 5-6 
  54. X#              Franklinstr. 28/29
  55. X#              D-1000 Berlin 10, West Germany
  56. X# 
  57. X#              Tel: +49-30-314-22972
  58. X#              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  59. X# 
  60. X#
  61. X#  This is the Shapefile for a simple demo of shape
  62. X#
  63. X
  64. X#
  65. X# Default settings for variants and selection rules
  66. X#
  67. X
  68. XRULE     = test
  69. XLANGUAGE = german
  70. XQUALITY  = debug
  71. XCOMPILER = 
  72. X
  73. X#
  74. X#         Other macro definitions
  75. X#
  76. X
  77. XOBJECTS  = shapedemo.o title.o components.o
  78. X
  79. X#
  80. X# System model
  81. X#
  82. X
  83. Xshapedemo : $(RULE) +$(LANGUAGE) +$(QUALITY) +$(COMPILER) $(OBJECTS)
  84. X    $(CC) -o shapedemo $(OBJECTS)
  85. X
  86. X#% RULE-SECTION
  87. X
  88. Xrelease:
  89. X    *, attr (state, published), attrmax (version).
  90. X
  91. Xtest:    *, attr(state, busy);
  92. X    *, attrmax(version).
  93. X
  94. X#% END-RULE-SECTION
  95. X
  96. X#% VARIANT-SECTION
  97. X
  98. Xvclass language ::= (english, french, german)
  99. Xvclass quality ::= (debug, release)
  100. X
  101. Xenglish:
  102. X    vpath = ENGLISH
  103. X
  104. Xfrench:
  105. X    vpath = FRENCH
  106. X
  107. Xgerman:
  108. X    vpath = GERMAN
  109. X
  110. Xdebug:
  111. X    CFLAGS = -g -pg -DDEBUG
  112. X
  113. Xrelease:
  114. X    CFLAGS = -O
  115. X    LDFLAGS = -s
  116. X
  117. Xgnu:
  118. X    CC = gcc
  119. X    CFLAGS = -O -g -finline-functions -fkeep-inline-functions \
  120. X        -fcombine-regs
  121. X
  122. X#% END-VARIANT-SECTION
  123. X
  124. END_OF_FILE
  125. if test 1922 -ne `wc -c <'demo/Shapefile'`; then
  126.     echo shar: \"'demo/Shapefile'\" unpacked with wrong size!
  127. fi
  128. # end of 'demo/Shapefile'
  129. fi
  130. if test -f 'demo/shapedemo.c' -a "${1}" != "-c" ; then 
  131.   echo shar: Will not clobber existing file \"'demo/shapedemo.c'\"
  132. else
  133. echo shar: Extracting \"'demo/shapedemo.c'\" \(1333 characters\)
  134. sed "s/^X//" >'demo/shapedemo.c' <<'END_OF_FILE'
  135. X/*
  136. X * Copyright (C) 1988 Technische Universitaet Berlin
  137. X * 
  138. X * This is a pre-release !
  139. X * 
  140. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  141. X * WARRANTY for any part of this software to work correctly or as described
  142. X * in the manuals. No responsibility or liability for any damage caused
  143. X * by using this software.
  144. X * 
  145. X * No part of this software may be redistributed or used commercially by 
  146. X * any means or in any form.
  147. X * 
  148. X * Direct questions to: Tech. Univ. Berlin
  149. X *             Wilfried Koch
  150. X *             Sekr. FR 5-6 
  151. X *             Franklinstr. 28/29
  152. X *             D-1000 Berlin 10, West Germany
  153. X * 
  154. X *             Tel: +49-30-314-22972
  155. X *             E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  156. X */
  157. X/* This is the main program for a simple demo of shape */
  158. X
  159. X#include <stdio.h>
  160. X
  161. Xmain()
  162. X{
  163. X#ifdef DEBUG
  164. Xprintf("main program with DEBUG\n");
  165. X#endif DEBUG
  166. X  printf("main program $__name$.$__type$[$__version$]\n\n");
  167. X  
  168. X  printf("    ****   *   *    *    ****   ****    \n");
  169. X  printf("   *    *  *   *   * *   *   *  *       \n");
  170. X  printf("   *       *   *  *   *  *   *  *       \n");
  171. X  printf("    ****   *****  *****  ****   ***     \n");
  172. X  printf("        *  *   *  *   *  *      *       \n");
  173. X  printf("   *    *  *   *  *   *  *      *       \n");
  174. X  printf("    ****   *   *  *   *  *      ****    \n");
  175. X  printf("\n");
  176. Xtitle();
  177. Xcomponents();
  178. X}
  179. END_OF_FILE
  180. if test 1333 -ne `wc -c <'demo/shapedemo.c'`; then
  181.     echo shar: \"'demo/shapedemo.c'\" unpacked with wrong size!
  182. fi
  183. # end of 'demo/shapedemo.c'
  184. fi
  185. if test -f 'interface/shape-config.el' -a "${1}" != "-c" ; then 
  186.   echo shar: Will not clobber existing file \"'interface/shape-config.el'\"
  187. else
  188. echo shar: Extracting \"'interface/shape-config.el'\" \(1791 characters\)
  189. sed "s/^X//" >'interface/shape-config.el' <<'END_OF_FILE'
  190. X; LAST EDIT: Tue Nov  1 12:58:12 1988 by Uli Pralle (coma!uli) 
  191. X;;; This file is not part of the GNU Emacs distribution (yet).
  192. X
  193. X;; SHAPE commands for Emacs
  194. X;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
  195. X
  196. X;; This file is part of GNU Emacs.
  197. X
  198. X;; GNU Emacs is distributed in the hope that it will be useful,
  199. X;; but WITHOUT ANY WARRANTY.  No author or distributor
  200. X;; accepts responsibility to anyone for the consequences of using it
  201. X;; or for whether it serves any particular purpose or works at all,
  202. X;; unless he says so in writing.  Refer to the GNU Emacs General Public
  203. X;; License for full details.
  204. X
  205. X;; Everyone is granted permission to copy, modify and redistribute
  206. X;; GNU Emacs, but only under the conditions described in the
  207. X;; GNU Emacs General Public License.   A copy of this license is
  208. X;; supposed to have been given to you along with GNU Emacs so you
  209. X;; can know your rights and responsibilities.  It should be in a
  210. X;; file named COPYING.  Among other things, the copyright notice
  211. X;; and this notice must be preserved on all copies.
  212. X
  213. X;; To configure the emacs interface change the following two
  214. X;; definitions (directory names *must* end with a "/"):
  215. X
  216. X(setq shape-bin-dir "/u/shape/bin/")
  217. X(setq shape-interface-dir "/u/shape/interface/")
  218. X
  219. X
  220. X(setq shape-vl-command (concat shape-bin-dir "vl"))
  221. X(setq shape-vadm-command (concat shape-bin-dir "vadm"))
  222. X(setq shape-vcat-command (concat shape-bin-dir "vcat"))
  223. X(setq shape-save-command (concat shape-bin-dir "save"))
  224. X(setq shape-retrv-command (concat shape-bin-dir "retrv"))
  225. X(setq shape-submit-command (concat shape-bin-dir "sbmt"))
  226. X(setq shape-vlog-command (concat shape-bin-dir "vlog"))
  227. X(setq shape-wishes-command (concat shape-interface-dir "shape-wishes"))
  228. X
  229. X(load (concat shape-interface-dir "emacs-shape-autoloads.el") t t)
  230. X
  231. END_OF_FILE
  232. if test 1791 -ne `wc -c <'interface/shape-config.el'`; then
  233.     echo shar: \"'interface/shape-config.el'\" unpacked with wrong size!
  234. fi
  235. # end of 'interface/shape-config.el'
  236. fi
  237. if test -f 'man/man3/afnote.3' -a "${1}" != "-c" ; then 
  238.   echo shar: Will not clobber existing file \"'man/man3/afnote.3'\"
  239. else
  240. echo shar: Extracting \"'man/man3/afnote.3'\" \(1885 characters\)
  241. sed "s/^X//" >'man/man3/afnote.3' <<'END_OF_FILE'
  242. X...
  243. X... Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  244. X...  and U. Pralle
  245. X... 
  246. X... This software is published on an as-is basis. There is ABSOLUTELY NO
  247. X... WARRANTY for any part of this software to work correctly or as described
  248. X... in the manuals. We do not accept any liability for any kind of damage
  249. X... caused by use of this software, such as loss of data, time, money, or 
  250. X... effort.
  251. X... 
  252. X... Permission is granted to use, copy, modify, or distribute any part of
  253. X... this software as long as this is done without asking for charge, and
  254. X... provided that this copyright notice is retained as part of the source
  255. X... files. You may charge a distribution fee for the physical act of
  256. X... transferring a copy, and you may at your option offer warranty
  257. X... protection in exchange for a fee.
  258. X... 
  259. X... Direct questions to: Tech. Univ. Berlin
  260. X...              Wilfried Koch
  261. X...              Sekr. FR 5-6 
  262. X...              Franklinstr. 28/29
  263. X...              D-1000 Berlin 10, West Germany
  264. X... 
  265. X...              Tel: +49-30-314-22972
  266. X...              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  267. X... 
  268. X.TH AF_NOTE 3 "" \n(dy.\n(mo.\n(yr
  269. X.SH NAME
  270. Xaf_note \(em read and modify note attribute
  271. X.SH SYNOPSIS
  272. X\fB#include <afs.h>
  273. X.sp
  274. Xaf_snote (key, buf)
  275. X.br
  276. XAf_key    *key;
  277. X.br
  278. Xchar    *buf;
  279. X.sp
  280. Xchar *af_rnote (key)
  281. X.br
  282. XAf_key    *key;
  283. X.SH DESCRIPTION
  284. X\fIAf_snote\fR sets the given text (in \fIbuf\fR) as change note
  285. Xof the specified ASO.
  286. X\fIAf_snote\fR requires a lock (see af_lock(3)) set on the specified ASO.
  287. X.LP
  288. X\fIAf_rnote\fR returns a pointer to the note attribute of the specified
  289. XASO.
  290. X.PP
  291. XThe note text is returned in memory allocated by \fImalloc(3)\fR.
  292. XUse \fIfree(3)\fR to make the space available for further allocation.
  293. X.SH SEE ALSO
  294. Xaf_lock(3), free(3)
  295. X.SH DIAGNOSTICS
  296. XUpon error, \-1 or a nil pointer (depending on the return type) is returned
  297. Xand \fIaf_errno\fR is set to the corresponding error number.
  298. END_OF_FILE
  299. if test 1885 -ne `wc -c <'man/man3/afnote.3'`; then
  300.     echo shar: \"'man/man3/afnote.3'\" unpacked with wrong size!
  301. fi
  302. # end of 'man/man3/afnote.3'
  303. fi
  304. if test -f 'man/man3/afperm.3' -a "${1}" != "-c" ; then 
  305.   echo shar: Will not clobber existing file \"'man/man3/afperm.3'\"
  306. else
  307. echo shar: Extracting \"'man/man3/afperm.3'\" \(2258 characters\)
  308. sed "s/^X//" >'man/man3/afperm.3' <<'END_OF_FILE'
  309. X...
  310. X... Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  311. X...  and U. Pralle
  312. X... 
  313. X... This software is published on an as-is basis. There is ABSOLUTELY NO
  314. X... WARRANTY for any part of this software to work correctly or as described
  315. X... in the manuals. We do not accept any liability for any kind of damage
  316. X... caused by use of this software, such as loss of data, time, money, or 
  317. X... effort.
  318. X... 
  319. X... Permission is granted to use, copy, modify, or distribute any part of
  320. X... this software as long as this is done without asking for charge, and
  321. X... provided that this copyright notice is retained as part of the source
  322. X... files. You may charge a distribution fee for the physical act of
  323. X... transferring a copy, and you may at your option offer warranty
  324. X... protection in exchange for a fee.
  325. X... 
  326. X... Direct questions to: Tech. Univ. Berlin
  327. X...              Wilfried Koch
  328. X...              Sekr. FR 5-6 
  329. X...              Franklinstr. 28/29
  330. X...              D-1000 Berlin 10, West Germany
  331. X... 
  332. X...              Tel: +49-30-314-22972
  333. X...              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  334. X... 
  335. X.TH AF_PERM 3 "" \n(dy.\n(mo.\n(yr
  336. X.SH NAME
  337. Xaf_perm \(em read and manipulate permissions, owner and author of ASOs
  338. X.SH SYNOPSIS
  339. X\fB#include <afs.h>
  340. X.sp
  341. XAf_user *af_rowner (key)
  342. X.br
  343. XAf_key    *key;
  344. X.sp
  345. Xaf_chowner (key, owner)
  346. X.br
  347. XAf_key    *key;
  348. X.br
  349. XAf_user    *owner;
  350. X.sp
  351. XAf_user *af_rauthor (key)
  352. X.br
  353. XAf_key    *key;
  354. X.sp
  355. Xaf_chauthor (key, author)
  356. X.br
  357. XAf_key    *key;
  358. X.br
  359. XAf_user    *author;
  360. X.sp
  361. Xaf_chmod (key, mode)
  362. X.br
  363. XAf_key    *key;
  364. X.br
  365. Xint    mode;
  366. X.SH DESCRIPTION
  367. X\fIAf_rowner\fR (\fIaf_rauthor\fR) returns the owner (author)
  368. Xof the identified ASO.
  369. X\fIAf_rowner\fR and \fIaf_rauthor\fR use static
  370. Xmemory for the returned results.
  371. XSubsequent calls of the same function overwrite former results.
  372. X.PP
  373. X\fIAf_chowner\fR and \fIaf_chauthor\fR are used to modify the
  374. Xowner and author attribute of an ASO.
  375. XOnly the superuser may change the owner of a line of development.
  376. XThe author attribute of an ASO can only be changed by its owner.
  377. X.PP
  378. X\fIAf_chmod\fR changes the mode of an ASO.
  379. XSee \fIchmod(3)\fR for further details.
  380. X.SH SEE ALSO
  381. Xchown (2), chmod (2)
  382. X.SH DIAGNOSTICS
  383. XUpon error, \-1 is returned and \fIaf_errno\fR is set to the corresponding
  384. Xerror number.
  385. X.SH BUGS
  386. X\fIAf_chown\fR does not work.
  387. END_OF_FILE
  388. if test 2258 -ne `wc -c <'man/man3/afperm.3'`; then
  389.     echo shar: \"'man/man3/afperm.3'\" unpacked with wrong size!
  390. fi
  391. # end of 'man/man3/afperm.3'
  392. fi
  393. if test -f 'man/man3/afvariant.3' -a "${1}" != "-c" ; then 
  394.   echo shar: Will not clobber existing file \"'man/man3/afvariant.3'\"
  395. else
  396. echo shar: Extracting \"'man/man3/afvariant.3'\" \(1839 characters\)
  397. sed "s/^X//" >'man/man3/afvariant.3' <<'END_OF_FILE'
  398. X...
  399. X... Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  400. X...  and U. Pralle
  401. X... 
  402. X... This software is published on an as-is basis. There is ABSOLUTELY NO
  403. X... WARRANTY for any part of this software to work correctly or as described
  404. X... in the manuals. We do not accept any liability for any kind of damage
  405. X... caused by use of this software, such as loss of data, time, money, or 
  406. X... effort.
  407. X... 
  408. X... Permission is granted to use, copy, modify, or distribute any part of
  409. X... this software as long as this is done without asking for charge, and
  410. X... provided that this copyright notice is retained as part of the source
  411. X... files. You may charge a distribution fee for the physical act of
  412. X... transferring a copy, and you may at your option offer warranty
  413. X... protection in exchange for a fee.
  414. X... 
  415. X... Direct questions to: Tech. Univ. Berlin
  416. X...              Wilfried Koch
  417. X...              Sekr. FR 5-6 
  418. X...              Franklinstr. 28/29
  419. X...              D-1000 Berlin 10, West Germany
  420. X... 
  421. X...              Tel: +49-30-314-22972
  422. X...              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  423. X... 
  424. X.TH AF_VARIANT 3 "" \n(dy.\n(mo.\n(yr
  425. X.SH NAME
  426. Xaf_variant \(em read and modify variant attribute
  427. X.SH SYNOPSIS
  428. X\fB#include <afs.h>
  429. X.sp
  430. Xaf_svariant (key, buf)
  431. X.br
  432. XAf_key    *key;
  433. X.br
  434. Xchar    *buf;
  435. X.sp
  436. Xchar *af_rvariant (key)
  437. X.br
  438. XAf_key    *key;
  439. X.SH DESCRIPTION
  440. X\fIAf_svariant\fR sets the given string (in \fIbuf\fR) as variant
  441. Xattribute of the specified ASO.
  442. X.LP
  443. X\fIAf_rvariant\fR returns a pointer to the variant attribute of the specified
  444. XASO.
  445. X.PP
  446. XThe variant attribute is returned in memory allocated by \fImalloc(3)\fR.
  447. XUse \fIfree(3)\fR to make the space available for further allocation.
  448. X.SH SEE ALSO
  449. Xfree(3)
  450. X.SH DIAGNOSTICS
  451. XUpon error, \-1 or a nil pointer (depending on the return type) is returned
  452. Xand \fIaf_errno\fR is set to the corresponding error number.
  453. END_OF_FILE
  454. if test 1839 -ne `wc -c <'man/man3/afvariant.3'`; then
  455.     echo shar: \"'man/man3/afvariant.3'\" unpacked with wrong size!
  456. fi
  457. # end of 'man/man3/afvariant.3'
  458. fi
  459. if test -f 'src/afs/predef.h' -a "${1}" != "-c" ; then 
  460.   echo shar: Will not clobber existing file \"'src/afs/predef.h'\"
  461. else
  462. echo shar: Extracting \"'src/afs/predef.h'\" \(1614 characters\)
  463. sed "s/^X//" >'src/afs/predef.h' <<'END_OF_FILE'
  464. X/*
  465. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  466. X *  and U. Pralle
  467. X * 
  468. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  469. X * WARRANTY for any part of this software to work correctly or as described
  470. X * in the manuals. We do not accept any liability for any kind of damage
  471. X * caused by use of this software, such as loss of data, time, money, or 
  472. X * effort.
  473. X * 
  474. X * Permission is granted to use, copy, modify, or distribute any part of
  475. X * this software as long as this is done without asking for charge, and
  476. X * provided that this copyright notice is retained as part of the source
  477. X * files. You may charge a distribution fee for the physical act of
  478. X * transferring a copy, and you may at your option offer warranty
  479. X * protection in exchange for a fee.
  480. X * 
  481. X * Direct questions to: Tech. Univ. Berlin
  482. X *              Wilfried Koch
  483. X *              Sekr. FR 5-6 
  484. X *              Franklinstr. 28/29
  485. X *              D-1000 Berlin 10, West Germany
  486. X * 
  487. X *              Tel: +49-30-314-22972
  488. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  489. X */
  490. X/*
  491. X * $Header: predef.h[1.0] Wed Feb 22 16:14:44 1989 shape@coma save $
  492. X */
  493. X
  494. Xtypedef  int    Bool;          /* Basistyp boolean        */
  495. X
  496. X#define  TRUE    1        /* logischer Wert : wahr    */
  497. X#define  FALSE    0        /* logischer Wert : falsch    */
  498. X
  499. X#define     VOID     int         /* leerer Return-Typ        */
  500. X                /* (Verfahrensprozedur)          */
  501. X
  502. X#define     EXPORT            /* Speicherklasse - exportiert     */
  503. X#define  LOCAL    static        /* Speicherklasse - modullokal    */
  504. X
  505. X#define  EOL    '\n'        /* End-of-line            */
  506. X#define  EOS    '\0'        /* End-of-string        */
  507. X
  508. X#define  NIL    ((char *) 0)    /* Null-Pointer                 */
  509. X
  510. END_OF_FILE
  511. if test 1614 -ne `wc -c <'src/afs/predef.h'`; then
  512.     echo shar: \"'src/afs/predef.h'\" unpacked with wrong size!
  513. fi
  514. # end of 'src/afs/predef.h'
  515. fi
  516. if test -f 'src/afs/suffix.h' -a "${1}" != "-c" ; then 
  517.   echo shar: Will not clobber existing file \"'src/afs/suffix.h'\"
  518. else
  519. echo shar: Extracting \"'src/afs/suffix.h'\" \(1385 characters\)
  520. sed "s/^X//" >'src/afs/suffix.h' <<'END_OF_FILE'
  521. X/*
  522. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  523. X *  and U. Pralle
  524. X * 
  525. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  526. X * WARRANTY for any part of this software to work correctly or as described
  527. X * in the manuals. We do not accept any liability for any kind of damage
  528. X * caused by use of this software, such as loss of data, time, money, or 
  529. X * effort.
  530. X * 
  531. X * Permission is granted to use, copy, modify, or distribute any part of
  532. X * this software as long as this is done without asking for charge, and
  533. X * provided that this copyright notice is retained as part of the source
  534. X * files. You may charge a distribution fee for the physical act of
  535. X * transferring a copy, and you may at your option offer warranty
  536. X * protection in exchange for a fee.
  537. X * 
  538. X * Direct questions to: Tech. Univ. Berlin
  539. X *              Wilfried Koch
  540. X *              Sekr. FR 5-6 
  541. X *              Franklinstr. 28/29
  542. X *              D-1000 Berlin 10, West Germany
  543. X * 
  544. X *              Tel: +49-30-314-22972
  545. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  546. X */
  547. X/* Definitionen fuer suffix-tree (lcs.cdlt.c)
  548. X *
  549. X * $Header: suffix.h[1.0] Wed Feb 22 16:14:40 1989 shape@coma save $
  550. X */
  551. X
  552. X#define    TREESIZE    16129
  553. X#define SUFFSIZE        3
  554. X#define MINBLENG        18
  555. X
  556. Xstruct indices
  557. X{
  558. X  int index;
  559. X  struct indices *next;
  560. X};
  561. X
  562. Xstruct suffixes
  563. X{
  564. X  struct indices *next;
  565. X  struct indices *last;
  566. X};
  567. X
  568. X
  569. END_OF_FILE
  570. if test 1385 -ne `wc -c <'src/afs/suffix.h'`; then
  571.     echo shar: \"'src/afs/suffix.h'\" unpacked with wrong size!
  572. fi
  573. # end of 'src/afs/suffix.h'
  574. fi
  575. if test -f 'src/afsit/Makefile' -a "${1}" != "-c" ; then 
  576.   echo shar: Will not clobber existing file \"'src/afsit/Makefile'\"
  577. else
  578. echo shar: Extracting \"'src/afsit/Makefile'\" \(1560 characters\)
  579. sed "s/^X//" >'src/afsit/Makefile' <<'END_OF_FILE'
  580. X#
  581. X# Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  582. X#  and U. Pralle
  583. X# 
  584. X# This software is published on an as-is basis. There is ABSOLUTELY NO
  585. X# WARRANTY for any part of this software to work correctly or as described
  586. X# in the manuals. We do not accept any liability for any kind of damage
  587. X# caused by use of this software, such as loss of data, time, money, or effort.
  588. X# 
  589. X# Permission is granted to use, copy, modify, or distribute any part of
  590. X# this software as long as this is done without asking for charge, and
  591. X# provided that this copyright notice is retained as part of the source
  592. X# files. You may charge a distribution fee for the physical act of
  593. X# transferring a copy, and you may at your option offer warranty
  594. X# protection in exchange for a fee.
  595. X# 
  596. X# Direct questions to: Tech. Univ. Berlin
  597. X#              Wilfried Koch
  598. X#              Sekr. FR 5-6 
  599. X#              Franklinstr. 28/29
  600. X#              D-1000 Berlin 10, West Germany
  601. X# 
  602. X#              Tel: +49-30-314-22972
  603. X#              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  604. X# 
  605. X#
  606. X# $Header: Makefile,v 1.1 85/09/19 13:24:27 mcooper Exp $
  607. X#
  608. X# $Log:    Makefile,v $
  609. X# Revision 1.1  85/09/19  13:24:27  mcooper
  610. X# Initial revision
  611. X# 
  612. X#
  613. X#
  614. X# Makefile for rcsit.c
  615. X#
  616. XBIN = /u/mcooper/bin
  617. XMAN = /u/mcooper/usr/man/manl/man1
  618. XOPTION = -O
  619. XCFLAGS = $(OPTION) -DAFSIT -g
  620. X
  621. Xrcsit: rcsit.o
  622. X    cc -O -s -o rcsit rcsit.o
  623. X
  624. Xafsit: rcsit.o
  625. X    cc -g -o afsit rcsit.o
  626. X
  627. Xdbx: rcsit.c
  628. X    cc -g rcsit.c
  629. X
  630. Xdebug: rcsit.c
  631. X    cc -g -DDEBUG rcsit.c
  632. X
  633. Xman: rcsit.1
  634. X    nroff -man rcsit.1 > rcsit.man
  635. X
  636. Xinstall: rcsit rcsit.1
  637. X    mv rcsit $(BIN)
  638. X    cp rcsit.1 $(MAN)
  639. END_OF_FILE
  640. if test 1560 -ne `wc -c <'src/afsit/Makefile'`; then
  641.     echo shar: \"'src/afsit/Makefile'\" unpacked with wrong size!
  642. fi
  643. # end of 'src/afsit/Makefile'
  644. fi
  645. if test -f 'src/config/rules.sh' -a "${1}" != "-c" ; then 
  646.   echo shar: Will not clobber existing file \"'src/config/rules.sh'\"
  647. else
  648. echo shar: Extracting \"'src/config/rules.sh'\" \(1336 characters\)
  649. sed "s/^X//" >'src/config/rules.sh' <<'END_OF_FILE'
  650. X#% RULE-SECTION
  651. X
  652. Xtest:
  653. X    version.c, attrge (state, saved), attrmax (version);
  654. X    *, attr (state, busy);
  655. X    *, attrge (state, saved), attrmax (version), \
  656. X    msg (used archived version of $+.).
  657. X
  658. Xvsave:
  659. X    *, attrmax (version);
  660. X    *.a, attr (state, busy).
  661. X
  662. Xrel:
  663. X    $(AFSINC)/*, attr (state, busy);
  664. X    *.a, attr (state, busy);
  665. X    *, attrge (state, published), attrmax (version).
  666. X
  667. X#% END-RULE-SECTION
  668. X
  669. X#% VARIANT-SECTION
  670. X
  671. Xvclass system ::= (bsd_4_3, sunos_3_4, sunos_4_0, ultrix_2_0)
  672. Xvclass quality ::= (test, test_profiling, trace, final)
  673. Xvclass compiler ::= (gnu, pcc)
  674. X
  675. Xbsd_4_3:
  676. X    SWITCHES = -I$(AFSINC) -DBSD_4_3 -DBSD43
  677. X    CFLAGS = $(SWITCHES)
  678. X
  679. Xsunos_3_4:
  680. X    CLIBS = -ldbm
  681. X    SWITCHES = -I$(AFSINC) -DSUNOS_3_4 -DOLDDBM
  682. X    CFLAGS = $(SWITCHES)
  683. X
  684. Xsunos_4_0:
  685. X    SWITCHES = -I$(AFSINC) -DSUNOS_4_0 -DSYSLOG
  686. X    CFLAGS = $(SWITCHES)
  687. X
  688. Xultrix_2_0:
  689. X    CLIBS = -ldbm
  690. X    SWITCHES = -I$(AFSINC) -DULTRIX_2_0 -DOLDDBM
  691. X    CFLAGS = $(SWITCHES)
  692. X
  693. Xdebug:
  694. X    CFLAGS = -g
  695. X    LDFLAGS = -g
  696. X
  697. Xtest_profiling:
  698. X    OPT = -pg -g
  699. X    CFLAGS = $(OPT)
  700. X    LDFLAGS = $(OPT)
  701. X
  702. Xtrace:
  703. X    OPT = -g
  704. X    SWITCHES = -DMEMDEBUG  -DTMPDEBUG  -DHASHDEBUG
  705. X    CFLAGS = $(OPT) $(SWITCHES)
  706. X
  707. Xfinal:
  708. X    OPT = -g
  709. X    CFLAGS = $(OPT)
  710. X    LDFLAGS = -s
  711. X
  712. Xgnu:
  713. X    CC = gcc -DCFFLGS='"$(CFLAGS) $(vflags)"'
  714. X    CFLAGS = -O -g -finline-functions -fkeep-inline-functions \
  715. X    -fcombine-regs
  716. X
  717. Xpcc:
  718. X    CC = cc -DCFFLGS='"$(CFLAGS) $(vflags)"'
  719. X
  720. X#% END-VARIANT-SECTION
  721. END_OF_FILE
  722. if test 1336 -ne `wc -c <'src/config/rules.sh'`; then
  723.     echo shar: \"'src/config/rules.sh'\" unpacked with wrong size!
  724. fi
  725. # end of 'src/config/rules.sh'
  726. fi
  727. if test -f 'src/inc/project.h' -a "${1}" != "-c" ; then 
  728.   echo shar: Will not clobber existing file \"'src/inc/project.h'\"
  729. else
  730. echo shar: Extracting \"'src/inc/project.h'\" \(1345 characters\)
  731. sed "s/^X//" >'src/inc/project.h' <<'END_OF_FILE'
  732. X/*
  733. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  734. X *  and U. Pralle
  735. X * 
  736. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  737. X * WARRANTY for any part of this software to work correctly or as described
  738. X * in the manuals. We do not accept any liability for any kind of damage
  739. X * caused by use of this software, such as loss of data, time, money, or 
  740. X * effort.
  741. X * 
  742. X * Permission is granted to use, copy, modify, or distribute any part of
  743. X * this software as long as this is done without asking for charge, and
  744. X * provided that this copyright notice is retained as part of the source
  745. X * files. You may charge a distribution fee for the physical act of
  746. X * transferring a copy, and you may at your option offer warranty
  747. X * protection in exchange for a fee.
  748. X * 
  749. X * Direct questions to: Tech. Univ. Berlin
  750. X *              Wilfried Koch
  751. X *              Sekr. FR 5-6 
  752. X *              Franklinstr. 28/29
  753. X *              D-1000 Berlin 10, West Germany
  754. X * 
  755. X *              Tel: +49-30-314-22972
  756. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  757. X */
  758. X/*
  759. X * $Header: project.h,v 1.2 88/01/09 20:20:17 axel Release $
  760. X *
  761. X * $Log:    project.h,v $
  762. X * Revision 1.2  88/01/09  20:20:17  axel
  763. X * This version is part of a release
  764. X * 
  765. X */
  766. X
  767. Xstruct _Project {
  768. X  char dummy[80];
  769. X  };
  770. X
  771. Xtypedef struct _Project Project;
  772. X
  773. X#ifndef NULL
  774. X#define NULL 0
  775. X#endif
  776. END_OF_FILE
  777. if test 1345 -ne `wc -c <'src/inc/project.h'`; then
  778.     echo shar: \"'src/inc/project.h'\" unpacked with wrong size!
  779. fi
  780. # end of 'src/inc/project.h'
  781. fi
  782. if test -f 'src/misc/ParseArgs.h' -a "${1}" != "-c" ; then 
  783.   echo shar: Will not clobber existing file \"'src/misc/ParseArgs.h'\"
  784. else
  785. echo shar: Extracting \"'src/misc/ParseArgs.h'\" \(2132 characters\)
  786. sed "s/^X//" >'src/misc/ParseArgs.h' <<'END_OF_FILE'
  787. X/*
  788. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  789. X *  and U. Pralle
  790. X * 
  791. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  792. X * WARRANTY for any part of this software to work correctly or as described
  793. X * in the manuals. We do not accept any liability for any kind of damage
  794. X * caused by use of this software, such as loss of data, time, money, or 
  795. X * effort.
  796. X * 
  797. X * Permission is granted to use, copy, modify, or distribute any part of
  798. X * this software as long as this is done without asking for charge, and
  799. X * provided that this copyright notice is retained as part of the source
  800. X * files. You may charge a distribution fee for the physical act of
  801. X * transferring a copy, and you may at your option offer warranty
  802. X * protection in exchange for a fee.
  803. X * 
  804. X * Direct questions to: Tech. Univ. Berlin
  805. X *              Wilfried Koch
  806. X *              Sekr. FR 5-6 
  807. X *              Franklinstr. 28/29
  808. X *              D-1000 Berlin 10, West Germany
  809. X * 
  810. X *              Tel: +49-30-314-22972
  811. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  812. X */
  813. X/*
  814. X * $Header: ParseArgs.h[2.1] Thu Feb 23 21:24:14 1989 axel@coma published $
  815. X *
  816. X * Log for /u/shape/dist-tape/src/misc/ParseArgs.h[1.1]
  817. X *     Thu Feb 23 21:24:14 1989 axel@coma save $
  818. X *  --- empty log message ---
  819. X *  ParseArgs.h[2.0] Thu Feb 23 21:24:14 1989 axel@coma published $
  820. X *  --- empty log message ---
  821. X *  ParseArgs.h[2.1] Thu Feb 23 21:24:14 1989 axel@coma published $
  822. X *  --- empty log message ---
  823. X */
  824. X
  825. X/*
  826. X * $Header: ParseArgs.h,v 2.0 88/06/29 16:14:40 axel Stable $
  827. X *
  828. X * $Log:    ParseArgs.h,v $
  829. X * Revision 2.0  88/06/29  16:14:40  axel
  830. X * New System Generation
  831. X * 
  832. X * Revision 1.1  88/06/07  17:10:03  axel
  833. X * This version is part of a release
  834. X * 
  835. X */
  836. X
  837. X/*  LAST EDIT: Fri Feb 19 15:26:39 1988 by Uli Pralle (coma!uli)  */
  838. X/*
  839. X * ParseArgs.h
  840. X */
  841. X
  842. Xtypedef struct optdesc OptDesc;
  843. X
  844. Xstruct optdesc {
  845. X  char *opt_name;        /* name of option */
  846. X  int opt_kind;            /* kind: SWITCH, HAS_ARG, HAS_OPT_ARG */
  847. X  int (*opt_handler)();        /* Function called if opt is detected */
  848. X};
  849. X
  850. X#define OPT_IS_SWITCH    1
  851. X#define OPT_HAS_ARG    2
  852. X#define OPT_HAS_OPT_ARG 3
  853. X#define OPT_IS_ARG      4
  854. END_OF_FILE
  855. if test 2132 -ne `wc -c <'src/misc/ParseArgs.h'`; then
  856.     echo shar: \"'src/misc/ParseArgs.h'\" unpacked with wrong size!
  857. fi
  858. # end of 'src/misc/ParseArgs.h'
  859. fi
  860. if test -f 'src/misc/anames.h' -a "${1}" != "-c" ; then 
  861.   echo shar: Will not clobber existing file \"'src/misc/anames.h'\"
  862. else
  863. echo shar: Extracting \"'src/misc/anames.h'\" \(1833 characters\)
  864. sed "s/^X//" >'src/misc/anames.h' <<'END_OF_FILE'
  865. X/*
  866. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  867. X *  and U. Pralle
  868. X * 
  869. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  870. X * WARRANTY for any part of this software to work correctly or as described
  871. X * in the manuals. We do not accept any liability for any kind of damage
  872. X * caused by use of this software, such as loss of data, time, money, or 
  873. X * effort.
  874. X * 
  875. X * Permission is granted to use, copy, modify, or distribute any part of
  876. X * this software as long as this is done without asking for charge, and
  877. X * provided that this copyright notice is retained as part of the source
  878. X * files. You may charge a distribution fee for the physical act of
  879. X * transferring a copy, and you may at your option offer warranty
  880. X * protection in exchange for a fee.
  881. X * 
  882. X * Direct questions to: Tech. Univ. Berlin
  883. X *              Wilfried Koch
  884. X *              Sekr. FR 5-6 
  885. X *              Franklinstr. 28/29
  886. X *              D-1000 Berlin 10, West Germany
  887. X * 
  888. X *              Tel: +49-30-314-22972
  889. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  890. X */
  891. X/*
  892. X * $Header: anames.h[1.3] Thu Feb 23 21:24:16 1989 axel@coma published $
  893. X *
  894. X * Log for /u/shape/dist-tape/src/misc/anames.h[1.1]
  895. X *     Thu Feb 23 21:24:16 1989 axel@coma save $
  896. X *  --- empty log message ---
  897. X *  anames.h[1.2] Thu Feb 23 21:24:16 1989 axel@coma published $
  898. X *  --- empty log message ---
  899. X *  anames.h[1.3] Thu Feb 23 21:24:16 1989 axel@coma published $
  900. X *  --- empty log message ---
  901. X */
  902. X
  903. X#define AN_TABSIZ 19
  904. X
  905. X#define ATIME 1
  906. X#define AUUID 3
  907. X#define CTIME 4
  908. X#define GEN 5
  909. X#define HOST 6
  910. X#define LOCK 7
  911. X#define LTIME 8
  912. X#define MODE 9
  913. X#define MTIME 10
  914. X#define NAME 11
  915. X#define OWNUID 13
  916. X#define REV 14
  917. X#define SIZE 15
  918. X#define STIME 16
  919. X#define SYSPATH 17
  920. X#define TYPE 18
  921. X#define VAR 19
  922. X#define VERSION 20
  923. X#define STATE 21
  924. X
  925. X#define HEADER "Header"
  926. X#define LOG "Log"
  927. X
  928. END_OF_FILE
  929. if test 1833 -ne `wc -c <'src/misc/anames.h'`; then
  930.     echo shar: \"'src/misc/anames.h'\" unpacked with wrong size!
  931. fi
  932. # end of 'src/misc/anames.h'
  933. fi
  934. if test -f 'src/misc/pdbutil.c' -a "${1}" != "-c" ; then 
  935.   echo shar: Will not clobber existing file \"'src/misc/pdbutil.c'\"
  936. else
  937. echo shar: Extracting \"'src/misc/pdbutil.c'\" \(2144 characters\)
  938. sed "s/^X//" >'src/misc/pdbutil.c' <<'END_OF_FILE'
  939. X
  940. X/*
  941. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  942. X *  and U. Pralle
  943. X * 
  944. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  945. X * WARRANTY for any part of this software to work correctly or as described
  946. X * in the manuals. We do not accept any liability for any kind of damage
  947. X * caused by use of this software, such as loss of data, time, money, or 
  948. X * effort.
  949. X * 
  950. X * Permission is granted to use, copy, modify, or distribute any part of
  951. X * this software as long as this is done without asking for charge, and
  952. X * provided that this copyright notice is retained as part of the source
  953. X * files. You may charge a distribution fee for the physical act of
  954. X * transferring a copy, and you may at your option offer warranty
  955. X * protection in exchange for a fee.
  956. X * 
  957. X * Direct questions to: Tech. Univ. Berlin
  958. X *              Wilfried Koch
  959. X *              Sekr. FR 5-6 
  960. X *              Franklinstr. 28/29
  961. X *              D-1000 Berlin 10, West Germany
  962. X * 
  963. X *              Tel: +49-30-314-22972
  964. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  965. X */
  966. Xstatic char *AFSid = "$Header: pdbutil.c[2.2] Thu Feb 23 21:24:23 1989 axel@coma published $";
  967. X
  968. X/*
  969. X * Log for /u/shape/dist-tape/src/misc/pdbutil.c[1.1]
  970. X *     Thu Feb 23 21:24:23 1989 axel@coma save $
  971. X *  --- empty log message ---
  972. X *  pdbutil.c[2.0] Thu Feb 23 21:24:23 1989 axel@coma published $
  973. X *  --- empty log message ---
  974. X *  pdbutil.c[2.1] Thu Feb 23 21:24:23 1989 axel@coma published $
  975. X *  --- empty log message ---
  976. X *  pdbutil.c[2.2] Thu Feb 23 21:24:23 1989 axel@coma published $
  977. X *  --- empty log message ---
  978. X */
  979. X
  980. X#ifdef CFFLGS
  981. Xstatic char *ConfFlg = CFFLGS;    /* should be defined from within Makefile */
  982. X#endif
  983. X/*
  984. X * $Log:    pdbutil.c,v $
  985. X * Revision 2.0  88/06/29  16:14:41  axel
  986. X * New System Generation
  987. X * 
  988. X * Revision 1.1  88/06/07  17:10:04  axel
  989. X * This version is part of a release
  990. X * 
  991. X * Revision 2.0  88/05/26  00:50:51  axel
  992. X * This version is part of the first working configuration of the
  993. X * project description database compiler.
  994. X * 
  995. X */
  996. X
  997. X#include <stdio.h>
  998. Xchar *zeroit (c, l) char *c; { 
  999. X  /* only because bzero's no function, damn! */
  1000. X  bzero (c, l);
  1001. X  return c;
  1002. X}
  1003. END_OF_FILE
  1004. if test 2144 -ne `wc -c <'src/misc/pdbutil.c'`; then
  1005.     echo shar: \"'src/misc/pdbutil.c'\" unpacked with wrong size!
  1006. fi
  1007. # end of 'src/misc/pdbutil.c'
  1008. fi
  1009. if test -f 'src/shape/Makefile.distribution' -a "${1}" != "-c" ; then 
  1010.   echo shar: Will not clobber existing file \"'src/shape/Makefile.distribution'\"
  1011. else
  1012. echo shar: Extracting \"'src/shape/Makefile.distribution'\" \(2265 characters\)
  1013. sed "s/^X//" >'src/shape/Makefile.distribution' <<'END_OF_FILE'
  1014. X#
  1015. X# Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1016. X#  and U. Pralle
  1017. X# 
  1018. X# This software is published on an as-is basis. There is ABSOLUTELY NO
  1019. X# WARRANTY for any part of this software to work correctly or as described
  1020. X# in the manuals. We do not accept any liability for any kind of damage
  1021. X# caused by use of this software, such as loss of data, time, money, or effort.
  1022. X# 
  1023. X# Permission is granted to use, copy, modify, or distribute any part of
  1024. X# this software as long as this is done without asking for charge, and
  1025. X# provided that this copyright notice is retained as part of the source
  1026. X# files. You may charge a distribution fee for the physical act of
  1027. X# transferring a copy, and you may at your option offer warranty
  1028. X# protection in exchange for a fee.
  1029. X# 
  1030. X# Direct questions to: Tech. Univ. Berlin
  1031. X#              Wilfried Koch
  1032. X#              Sekr. FR 5-6 
  1033. X#              Franklinstr. 28/29
  1034. X#              D-1000 Berlin 10, West Germany
  1035. X# 
  1036. X#              Tel: +49-30-314-22972
  1037. X#              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1038. X# 
  1039. X#
  1040. X#  This is the Makefile for shape
  1041. X#
  1042. X
  1043. X#  Product definition part
  1044. X
  1045. XHEADER = shape.h $(INCLUDEDIR)/afs.h 
  1046. X
  1047. XCOMPONENTS = \
  1048. X    README \
  1049. X    Makefile \
  1050. X    attr.c \
  1051. X    attr.h \
  1052. X    error.c \
  1053. X    files.c \
  1054. X    files.h \
  1055. X    hash.c \
  1056. X    hash.h \
  1057. X    inherit.c \
  1058. X    shape.l \
  1059. X    macro.c \
  1060. X    macro.h \
  1061. X    main.c \
  1062. X    shape.h \
  1063. X    misc.c \
  1064. X    produce.c \
  1065. X    rule.c \
  1066. X    rule.h \
  1067. X    select.c \
  1068. X    selrule.c \
  1069. X    selrule.h \
  1070. X    shape.1 \
  1071. X    shapeopt.c \
  1072. X    sighand.c \
  1073. X    std.c \
  1074. X    std.h \
  1075. X    string.c \
  1076. X    varsec.c \
  1077. X    varsec.h \
  1078. X    vpath.c \
  1079. X    version.c
  1080. X
  1081. XPROGS = shape
  1082. X
  1083. XSHAPOBJS = main.o shape.o hash.o macro.o rule.o files.o error.o produce.o std.o selrule.o attr.o varsec.o select.o vpath.o misc.o sighand.o shapeopt.o inherit.o string.o version.o
  1084. X
  1085. X#  Product dependencies
  1086. X
  1087. Xall: shape
  1088. X
  1089. Xshape: $(SHAPOBJS) $(LIBDIR)/libafs.a $(LIBDIR)/libutil.a
  1090. X    cc $(LDFLAGS) -o $@ $(SHAPOBJS) $(LIBDIR)/libutil.a $(LIBDIR)/libafs.a -ll $(CLIBS)
  1091. X$(SHAPOBJS):    $(HEADER)
  1092. Xmacro.o:    $(HEADER) macro.h
  1093. Xhash.o:        $(HEADER) hash.h
  1094. Xrule.o:     $(HEADER) rule.h
  1095. Xselrule.o:    $(HEADER) selrule.h
  1096. Xstd.o:        $(HEADER) std.h
  1097. Xvarsec.o:    $(HEADER) varsec.h
  1098. Xattr.o:        $(HEADER) attr.h
  1099. Xfiles.o:    $(HEADER) files.h
  1100. Xversion.o:    version.c
  1101. X
  1102. Xinstall: all
  1103. X    @-for i in $(PROGS); \
  1104. X    do \
  1105. X    echo installing $$i in $(INSTALDIR); \
  1106. X    install -c $$i $(INSTALDIR);\
  1107. X    done;
  1108. X
  1109. END_OF_FILE
  1110. if test 2265 -ne `wc -c <'src/shape/Makefile.distribution'`; then
  1111.     echo shar: \"'src/shape/Makefile.distribution'\" unpacked with wrong size!
  1112. fi
  1113. # end of 'src/shape/Makefile.distribution'
  1114. fi
  1115. if test -f 'src/shape/macro.h' -a "${1}" != "-c" ; then 
  1116.   echo shar: Will not clobber existing file \"'src/shape/macro.h'\"
  1117. else
  1118. echo shar: Extracting \"'src/shape/macro.h'\" \(1662 characters\)
  1119. sed "s/^X//" >'src/shape/macro.h' <<'END_OF_FILE'
  1120. X/*
  1121. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1122. X *  and U. Pralle
  1123. X * 
  1124. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1125. X * WARRANTY for any part of this software to work correctly or as described
  1126. X * in the manuals. We do not accept any liability for any kind of damage
  1127. X * caused by use of this software, such as loss of data, time, money, or 
  1128. X * effort.
  1129. X * 
  1130. X * Permission is granted to use, copy, modify, or distribute any part of
  1131. X * this software as long as this is done without asking for charge, and
  1132. X * provided that this copyright notice is retained as part of the source
  1133. X * files. You may charge a distribution fee for the physical act of
  1134. X * transferring a copy, and you may at your option offer warranty
  1135. X * protection in exchange for a fee.
  1136. X * 
  1137. X * Direct questions to: Tech. Univ. Berlin
  1138. X *              Wilfried Koch
  1139. X *              Sekr. FR 5-6 
  1140. X *              Franklinstr. 28/29
  1141. X *              D-1000 Berlin 10, West Germany
  1142. X * 
  1143. X *              Tel: +49-30-314-22972
  1144. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1145. X */
  1146. X/*
  1147. X * $Log:    macro.h,v $
  1148. X * Revision 3.1  89/02/14  11:07:11  wolfgang
  1149. X * MAXLINELENGTH increased
  1150. X * 
  1151. X * Revision 3.0  89/01/24  11:36:01  wolfgang
  1152. X * New System Generation
  1153. X * 
  1154. X * Revision 2.4  88/10/14  17:13:05  wolfgang
  1155. X * bLuMeNkOhL added.
  1156. X * 
  1157. X * Revision 2.3  88/08/23  14:06:14  wolfgang
  1158. X * MAXLINELENGTH increased to 10000.
  1159. X * 
  1160. X * Revision 2.2  88/08/12  08:58:15  wolfgang
  1161. X * This version is part of a release
  1162. X * 
  1163. X */
  1164. X
  1165. Xextern char *getenv();
  1166. X
  1167. X#define INCLUDE "include"
  1168. X#define IMPORT "IMPORT"
  1169. X#define BLUMENKOHL "bLuMeNkOhL"
  1170. X
  1171. X#define MAXLINELENGTH 20000
  1172. X
  1173. X#define MACRONAM 128
  1174. X#define MACROVAL 1048
  1175. X
  1176. END_OF_FILE
  1177. if test 1662 -ne `wc -c <'src/shape/macro.h'`; then
  1178.     echo shar: \"'src/shape/macro.h'\" unpacked with wrong size!
  1179. fi
  1180. # end of 'src/shape/macro.h'
  1181. fi
  1182. if test -f 'src/shape/rule.h' -a "${1}" != "-c" ; then 
  1183.   echo shar: Will not clobber existing file \"'src/shape/rule.h'\"
  1184. else
  1185. echo shar: Extracting \"'src/shape/rule.h'\" \(1334 characters\)
  1186. sed "s/^X//" >'src/shape/rule.h' <<'END_OF_FILE'
  1187. X/*
  1188. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1189. X *  and U. Pralle
  1190. X * 
  1191. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1192. X * WARRANTY for any part of this software to work correctly or as described
  1193. X * in the manuals. We do not accept any liability for any kind of damage
  1194. X * caused by use of this software, such as loss of data, time, money, or 
  1195. X * effort.
  1196. X * 
  1197. X * Permission is granted to use, copy, modify, or distribute any part of
  1198. X * this software as long as this is done without asking for charge, and
  1199. X * provided that this copyright notice is retained as part of the source
  1200. X * files. You may charge a distribution fee for the physical act of
  1201. X * transferring a copy, and you may at your option offer warranty
  1202. X * protection in exchange for a fee.
  1203. X * 
  1204. X * Direct questions to: Tech. Univ. Berlin
  1205. X *              Wilfried Koch
  1206. X *              Sekr. FR 5-6 
  1207. X *              Franklinstr. 28/29
  1208. X *              D-1000 Berlin 10, West Germany
  1209. X * 
  1210. X *              Tel: +49-30-314-22972
  1211. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1212. X */
  1213. X/*
  1214. X * $Log:    rule.h,v $
  1215. X * Revision 3.0  89/01/24  11:36:43  wolfgang
  1216. X * New System Generation
  1217. X * 
  1218. X * Revision 2.2  88/08/12  08:58:21  wolfgang
  1219. X * This version is part of a release
  1220. X * 
  1221. X */
  1222. X
  1223. X#define RULETABSIZE 257
  1224. X#define MAXRULELENGTH 2048
  1225. X
  1226. Xstruct rules *ruletab[RULETABSIZE];
  1227. END_OF_FILE
  1228. if test 1334 -ne `wc -c <'src/shape/rule.h'`; then
  1229.     echo shar: \"'src/shape/rule.h'\" unpacked with wrong size!
  1230. fi
  1231. # end of 'src/shape/rule.h'
  1232. fi
  1233. if test -f 'src/shape/selrule.h' -a "${1}" != "-c" ; then 
  1234.   echo shar: Will not clobber existing file \"'src/shape/selrule.h'\"
  1235. else
  1236. echo shar: Extracting \"'src/shape/selrule.h'\" \(1571 characters\)
  1237. sed "s/^X//" >'src/shape/selrule.h' <<'END_OF_FILE'
  1238. X/*
  1239. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1240. X *  and U. Pralle
  1241. X * 
  1242. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1243. X * WARRANTY for any part of this software to work correctly or as described
  1244. X * in the manuals. We do not accept any liability for any kind of damage
  1245. X * caused by use of this software, such as loss of data, time, money, or 
  1246. X * effort.
  1247. X * 
  1248. X * Permission is granted to use, copy, modify, or distribute any part of
  1249. X * this software as long as this is done without asking for charge, and
  1250. X * provided that this copyright notice is retained as part of the source
  1251. X * files. You may charge a distribution fee for the physical act of
  1252. X * transferring a copy, and you may at your option offer warranty
  1253. X * protection in exchange for a fee.
  1254. X * 
  1255. X * Direct questions to: Tech. Univ. Berlin
  1256. X *              Wilfried Koch
  1257. X *              Sekr. FR 5-6 
  1258. X *              Franklinstr. 28/29
  1259. X *              D-1000 Berlin 10, West Germany
  1260. X * 
  1261. X *              Tel: +49-30-314-22972
  1262. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1263. X */
  1264. X/*
  1265. X * $Log:    selrule.h,v $
  1266. X * Revision 3.0  89/01/24  11:36:53  wolfgang
  1267. X * New System Generation
  1268. X * 
  1269. X * Revision 2.2  88/08/18  10:26:00  wolfgang
  1270. X * This version is part of a release
  1271. X * 
  1272. X * Revision 2.1  88/08/12  08:58:23  wolfgang
  1273. X * This version is part of a release
  1274. X * 
  1275. X */
  1276. X
  1277. X#define SELTABSIZE 256
  1278. X
  1279. Xstruct selection_rules *sels[SELTABSIZE];
  1280. X
  1281. X#define MAXNAMELENGTH 128
  1282. X#define MAXPREDLENGTH 128
  1283. X#define MAXVALLENGTH 128
  1284. X
  1285. Xchar *busy_rule = "#% RULE-SECTION\n-STD-:\n\t*,attr(state,busy).\n#% END-RULE-SECTION";
  1286. X
  1287. END_OF_FILE
  1288. if test 1571 -ne `wc -c <'src/shape/selrule.h'`; then
  1289.     echo shar: \"'src/shape/selrule.h'\" unpacked with wrong size!
  1290. fi
  1291. # end of 'src/shape/selrule.h'
  1292. fi
  1293. if test -f 'src/shape/std.h' -a "${1}" != "-c" ; then 
  1294.   echo shar: Will not clobber existing file \"'src/shape/std.h'\"
  1295. else
  1296. echo shar: Extracting \"'src/shape/std.h'\" \(1399 characters\)
  1297. sed "s/^X//" >'src/shape/std.h' <<'END_OF_FILE'
  1298. X/*
  1299. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1300. X *  and U. Pralle
  1301. X * 
  1302. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1303. X * WARRANTY for any part of this software to work correctly or as described
  1304. X * in the manuals. We do not accept any liability for any kind of damage
  1305. X * caused by use of this software, such as loss of data, time, money, or 
  1306. X * effort.
  1307. X * 
  1308. X * Permission is granted to use, copy, modify, or distribute any part of
  1309. X * this software as long as this is done without asking for charge, and
  1310. X * provided that this copyright notice is retained as part of the source
  1311. X * files. You may charge a distribution fee for the physical act of
  1312. X * transferring a copy, and you may at your option offer warranty
  1313. X * protection in exchange for a fee.
  1314. X * 
  1315. X * Direct questions to: Tech. Univ. Berlin
  1316. X *              Wilfried Koch
  1317. X *              Sekr. FR 5-6 
  1318. X *              Franklinstr. 28/29
  1319. X *              D-1000 Berlin 10, West Germany
  1320. X * 
  1321. X *              Tel: +49-30-314-22972
  1322. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1323. X */
  1324. X/*
  1325. X * $Log:    std.h,v $
  1326. X * Revision 3.0  89/01/24  11:37:09  wolfgang
  1327. X * New System Generation
  1328. X * 
  1329. X * Revision 2.3  88/08/19  12:47:14  wolfgang
  1330. X * Constant STDRULETABSIZE increased to 32
  1331. X * 
  1332. X * Revision 2.2  88/08/12  08:58:28  wolfgang
  1333. X * This version is part of a release
  1334. X * 
  1335. X */
  1336. X
  1337. X#define STDRULETABSIZE 64
  1338. X#define MAXIMPLICIT STDRULETABSIZE
  1339. END_OF_FILE
  1340. if test 1399 -ne `wc -c <'src/shape/std.h'`; then
  1341.     echo shar: \"'src/shape/std.h'\" unpacked with wrong size!
  1342. fi
  1343. # end of 'src/shape/std.h'
  1344. fi
  1345. if test -f 'src/shape/varsec.h' -a "${1}" != "-c" ; then 
  1346.   echo shar: Will not clobber existing file \"'src/shape/varsec.h'\"
  1347. else
  1348. echo shar: Extracting \"'src/shape/varsec.h'\" \(1866 characters\)
  1349. sed "s/^X//" >'src/shape/varsec.h' <<'END_OF_FILE'
  1350. X/*
  1351. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1352. X *  and U. Pralle
  1353. X * 
  1354. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1355. X * WARRANTY for any part of this software to work correctly or as described
  1356. X * in the manuals. We do not accept any liability for any kind of damage
  1357. X * caused by use of this software, such as loss of data, time, money, or 
  1358. X * effort.
  1359. X * 
  1360. X * Permission is granted to use, copy, modify, or distribute any part of
  1361. X * this software as long as this is done without asking for charge, and
  1362. X * provided that this copyright notice is retained as part of the source
  1363. X * files. You may charge a distribution fee for the physical act of
  1364. X * transferring a copy, and you may at your option offer warranty
  1365. X * protection in exchange for a fee.
  1366. X * 
  1367. X * Direct questions to: Tech. Univ. Berlin
  1368. X *              Wilfried Koch
  1369. X *              Sekr. FR 5-6 
  1370. X *              Franklinstr. 28/29
  1371. X *              D-1000 Berlin 10, West Germany
  1372. X * 
  1373. X *              Tel: +49-30-314-22972
  1374. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1375. X */
  1376. X/*
  1377. X * $Log:    varsec.h,v $
  1378. X * Revision 3.0  89/01/24  11:37:23  wolfgang
  1379. X * New System Generation
  1380. X * 
  1381. X * Revision 2.5  88/10/27  16:38:16  wolfgang
  1382. X * curvar changed to *curvar[].
  1383. X * 
  1384. X * Revision 2.4  88/10/18  17:43:56  wolfgang
  1385. X * curvar added.
  1386. X * 
  1387. X * Revision 2.3  88/10/14  17:13:33  wolfgang
  1388. X * curvar added.
  1389. X * 
  1390. X * Revision 2.2  88/10/14  11:40:11  wolfgang
  1391. X * lastvardef added.
  1392. X * 
  1393. X * Revision 2.1  88/08/12  08:58:31  wolfgang
  1394. X * This version is part of a release
  1395. X * 
  1396. X */
  1397. X
  1398. X#define MAXVCLASS 64
  1399. X#define MAXVARDEFS 64
  1400. X#define MAXFLGLENGTH 256
  1401. X#define MAXVNAMELENGTH 64
  1402. X
  1403. Xint lastvardef = 0;
  1404. X
  1405. Xchar *curvar[32] = {"","","","","","","","",
  1406. X            "","","","","","","","",
  1407. X            "","","","","","","","",
  1408. X            "","","","","","","",""};
  1409. X
  1410. Xstruct varclass *vclass[MAXVCLASS];
  1411. X
  1412. Xstruct vardef *vardefs[MAXVARDEFS];
  1413. X
  1414. X
  1415. END_OF_FILE
  1416. if test 1866 -ne `wc -c <'src/shape/varsec.h'`; then
  1417.     echo shar: \"'src/shape/varsec.h'\" unpacked with wrong size!
  1418. fi
  1419. # end of 'src/shape/varsec.h'
  1420. fi
  1421. if test -f 'src/vc/locks.h' -a "${1}" != "-c" ; then 
  1422.   echo shar: Will not clobber existing file \"'src/vc/locks.h'\"
  1423. else
  1424. echo shar: Extracting \"'src/vc/locks.h'\" \(1622 characters\)
  1425. sed "s/^X//" >'src/vc/locks.h' <<'END_OF_FILE'
  1426. X/*
  1427. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1428. X *  and U. Pralle
  1429. X * 
  1430. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1431. X * WARRANTY for any part of this software to work correctly or as described
  1432. X * in the manuals. We do not accept any liability for any kind of damage
  1433. X * caused by use of this software, such as loss of data, time, money, or 
  1434. X * effort.
  1435. X * 
  1436. X * Permission is granted to use, copy, modify, or distribute any part of
  1437. X * this software as long as this is done without asking for charge, and
  1438. X * provided that this copyright notice is retained as part of the source
  1439. X * files. You may charge a distribution fee for the physical act of
  1440. X * transferring a copy, and you may at your option offer warranty
  1441. X * protection in exchange for a fee.
  1442. X * 
  1443. X * Direct questions to: Tech. Univ. Berlin
  1444. X *              Wilfried Koch
  1445. X *              Sekr. FR 5-6 
  1446. X *              Franklinstr. 28/29
  1447. X *              D-1000 Berlin 10, West Germany
  1448. X * 
  1449. X *              Tel: +49-30-314-22972
  1450. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1451. X */
  1452. X/*
  1453. X * $Header: locks.h[1.1] Thu Feb 23 18:13:32 1989 axel@coma published $
  1454. X *
  1455. X * Log for /u/shape/dist-tape/src/vc/locks.h[1.0]
  1456. X *     Thu Feb 23 18:13:32 1989 axel@coma published $
  1457. X *  --- empty log message ---
  1458. X *  locks.h[1.1] Thu Feb 23 18:13:32 1989 axel@coma published $
  1459. X *  --- empty log message ---
  1460. X */
  1461. X
  1462. X
  1463. X#ifndef _VC_LOCK_
  1464. X#define _VC_LOCK_
  1465. Xextern Af_user *vc_testlock(), *vc_lock(), *vc_unlock();
  1466. Xextern char *lockerid(), *getintent();
  1467. Xextern Uid_t lockeruid();
  1468. Xextern int locked();
  1469. X#endif
  1470. X
  1471. Xextern Uid_t getuid();
  1472. Xextern Uid_t geteuid();
  1473. Xextern Gid_t getgid();
  1474. END_OF_FILE
  1475. if test 1622 -ne `wc -c <'src/vc/locks.h'`; then
  1476.     echo shar: \"'src/vc/locks.h'\" unpacked with wrong size!
  1477. fi
  1478. # end of 'src/vc/locks.h'
  1479. fi
  1480. if test -f 'src/vc/product-definition.sh' -a "${1}" != "-c" ; then 
  1481.   echo shar: Will not clobber existing file \"'src/vc/product-definition.sh'\"
  1482. else
  1483. echo shar: Extracting \"'src/vc/product-definition.sh'\" \(2258 characters\)
  1484. sed "s/^X//" >'src/vc/product-definition.sh' <<'END_OF_FILE'
  1485. XRULE = test
  1486. XSYSTEM = bsd_4_3
  1487. XQUALITY = debug
  1488. XCOMPILER = pcc
  1489. X
  1490. XBASE = /u/axel/shape/apps
  1491. XSRCDIR = $(BASE)
  1492. XINTEGRATOR = shape
  1493. X
  1494. X#
  1495. X#  Configuration definition part
  1496. X#
  1497. X
  1498. X#CFLAGS = -g -I$(AFSINC) -DBSD43
  1499. X
  1500. X#
  1501. X#  Installation specific part
  1502. X#
  1503. X
  1504. XINSTALDIR = /u/shape/bin
  1505. XMINCDIR = /u/shape/src/inc
  1506. XINSTALTARGETS = isave iretrv ivl ivadm iafsapp.h
  1507. X
  1508. X#
  1509. X#  Product definition part
  1510. X#
  1511. X
  1512. XCOMPONENTS = $(MANUALS) $(MODULES) $(DEFINES)
  1513. X
  1514. XMODULES = \
  1515. X    doretrv.c \
  1516. X    dosave.c \
  1517. X    mkattr.c \
  1518. X    project.c \
  1519. X    retrv.c \
  1520. X    save.c \
  1521. X    sighand.c \
  1522. X    util.c \
  1523. X    vl.c \
  1524. X    vldovl.c \
  1525. X    vlmisc.c \
  1526. X    vlopt.c \
  1527. X    vadm.c \
  1528. X    vadm_utils.c  \
  1529. X    vadm_note.c \
  1530. X    vadm_delete.c \
  1531. X    vadm_promote.c \
  1532. X    vadm_reserve.c \
  1533. X    vadm_symname.c \
  1534. X    vadm_gkeys.c \
  1535. X    vc_call.c \
  1536. X    vc_files.c \
  1537. X    vc_keyboardIo.c \
  1538. X    vc_lock.c 
  1539. X
  1540. XDEFINES = \
  1541. X    afsapp.h \
  1542. X    locks.h \
  1543. X    project.h \
  1544. X    retrv.h \
  1545. X    save.h \
  1546. X    typeconv.h \
  1547. X    vl.h \
  1548. X    vadm.h \
  1549. X    vadmdefs.h \
  1550. X    vc_sysdep.h
  1551. X
  1552. XMANUALS = \
  1553. X    retrv.1 \
  1554. X    save.1 \
  1555. X    vadm.1 \
  1556. X    vcintro.1 \
  1557. X    vl.1 
  1558. X
  1559. XPRODUCT = vccommands
  1560. XSUBPRODUCTS = \
  1561. X    /u/shape/lib/libafs \
  1562. X    /u/shape/lib/libutil 
  1563. X
  1564. XAFSLIB = /u/shape/lib/libafs.a
  1565. XUTLIB = /u/shape/lib/libutil.a
  1566. X
  1567. XXPHFILES = afsapp.h
  1568. X
  1569. XAFSINC = /u/shape/src/inc
  1570. X
  1571. XPROGS = save retrv vl vadm
  1572. XVERSIONPROTO = /u/shape/lib/version.c
  1573. XVERSION = version
  1574. X# busy version of 'version' file MUST be present !
  1575. X
  1576. XMYINC = save.h
  1577. XSAVESRC  = save.c dosave.c vc_lock.c mkattr.c $(COMMONSRC)
  1578. XSAVEOBJS = save.o dosave.o vc_lock.o mkattr.o
  1579. XRETRSRC = retrv.c doretrv.c mkattr.c vc_lock.c  $(COMMONSRC)
  1580. XRETROBJS = retrv.o doretrv.o mkattr.o vc_lock.o
  1581. XVLSRC = vl.c vlmisc.c vldovl.c vlopt.c mkattr.c $(VERSION).c
  1582. XVLOBJS = vl.o vlmisc.o vldovl.o vlopt.o mkattr.o
  1583. XVLINC = vl.h afs_huda.h
  1584. XVADMOBJS = vadm.o vadm_utils.o vadm_note.o vadm_delete.o vadm_promote.o\
  1585. X       vadm_symname.o vadm_reserve.o vadm_gkeys.o vc_call.o vc_files.o\
  1586. X       vc_keyboardIo.o vc_lock.o util.o sighand.o mkattr.o
  1587. XVADMSRC = vadm.c vadm_utils.c vadm_note.c vadm_delete.c vadm_promote.c\
  1588. X       vadm_symname.c vadm_reserve.c vadm_gkeys.c vc_call.c vc_files.c\
  1589. X       vc_keyboardIo.c vc_lock.c util.c sighand.c mkattr.c $(COMMONSRC)
  1590. XVADMINC = vadm.h vadmdefs.h vc_sysdep.h
  1591. XCOMMON = project.o sighand.o util.o $(VERSION).o
  1592. XCOMMONSRC = project.c sighand.c util.c $(VERSION).c
  1593. XALLOBJS = $(SAVEOBJS) $(RETROBJS) $(VLOBJS) $(COMMON)
  1594. X
  1595. X.BPOOL: $(ALLOBJS)
  1596. END_OF_FILE
  1597. if test 2258 -ne `wc -c <'src/vc/product-definition.sh'`; then
  1598.     echo shar: \"'src/vc/product-definition.sh'\" unpacked with wrong size!
  1599. fi
  1600. # end of 'src/vc/product-definition.sh'
  1601. fi
  1602. if test -f 'src/vc/project.h' -a "${1}" != "-c" ; then 
  1603.   echo shar: Will not clobber existing file \"'src/vc/project.h'\"
  1604. else
  1605. echo shar: Extracting \"'src/vc/project.h'\" \(1659 characters\)
  1606. sed "s/^X//" >'src/vc/project.h' <<'END_OF_FILE'
  1607. X/*
  1608. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1609. X *  and U. Pralle
  1610. X * 
  1611. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1612. X * WARRANTY for any part of this software to work correctly or as described
  1613. X * in the manuals. We do not accept any liability for any kind of damage
  1614. X * caused by use of this software, such as loss of data, time, money, or 
  1615. X * effort.
  1616. X * 
  1617. X * Permission is granted to use, copy, modify, or distribute any part of
  1618. X * this software as long as this is done without asking for charge, and
  1619. X * provided that this copyright notice is retained as part of the source
  1620. X * files. You may charge a distribution fee for the physical act of
  1621. X * transferring a copy, and you may at your option offer warranty
  1622. X * protection in exchange for a fee.
  1623. X * 
  1624. X * Direct questions to: Tech. Univ. Berlin
  1625. X *              Wilfried Koch
  1626. X *              Sekr. FR 5-6 
  1627. X *              Franklinstr. 28/29
  1628. X *              D-1000 Berlin 10, West Germany
  1629. X * 
  1630. X *              Tel: +49-30-314-22972
  1631. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1632. X */
  1633. X/*
  1634. X * $Header: project.h[1.3] Thu Feb 23 18:13:41 1989 axel@coma published $
  1635. X *
  1636. X * Log for /u/shape/dist-tape/src/vc/project.h[1.2]
  1637. X *     Thu Feb 23 18:13:41 1989 axel@coma published $
  1638. X *  --- empty log message ---
  1639. X *  project.h[1.3] Thu Feb 23 18:13:41 1989 axel@coma published $
  1640. X *  --- empty log message ---
  1641. X */
  1642. X
  1643. X/*
  1644. X * $Header: project.h,v 1.2 88/01/09 20:20:17 axel Release $
  1645. X *
  1646. X * $Log:    project.h,v $
  1647. X * Revision 1.2  88/01/09  20:20:17  axel
  1648. X * This version is part of a release
  1649. X * 
  1650. X */
  1651. X
  1652. Xstruct _Project {
  1653. X  char dummy[80];
  1654. X  };
  1655. X
  1656. Xtypedef struct _Project Project;
  1657. X
  1658. X#ifndef NULL
  1659. X#define NULL 0
  1660. X#endif
  1661. END_OF_FILE
  1662. if test 1659 -ne `wc -c <'src/vc/project.h'`; then
  1663.     echo shar: \"'src/vc/project.h'\" unpacked with wrong size!
  1664. fi
  1665. # end of 'src/vc/project.h'
  1666. fi
  1667. if test -f 'src/vc/save.h' -a "${1}" != "-c" ; then 
  1668.   echo shar: Will not clobber existing file \"'src/vc/save.h'\"
  1669. else
  1670. echo shar: Extracting \"'src/vc/save.h'\" \(2003 characters\)
  1671. sed "s/^X//" >'src/vc/save.h' <<'END_OF_FILE'
  1672. X/*
  1673. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1674. X *  and U. Pralle
  1675. X * 
  1676. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1677. X * WARRANTY for any part of this software to work correctly or as described
  1678. X * in the manuals. We do not accept any liability for any kind of damage
  1679. X * caused by use of this software, such as loss of data, time, money, or 
  1680. X * effort.
  1681. X * 
  1682. X * Permission is granted to use, copy, modify, or distribute any part of
  1683. X * this software as long as this is done without asking for charge, and
  1684. X * provided that this copyright notice is retained as part of the source
  1685. X * files. You may charge a distribution fee for the physical act of
  1686. X * transferring a copy, and you may at your option offer warranty
  1687. X * protection in exchange for a fee.
  1688. X * 
  1689. X * Direct questions to: Tech. Univ. Berlin
  1690. X *              Wilfried Koch
  1691. X *              Sekr. FR 5-6 
  1692. X *              Franklinstr. 28/29
  1693. X *              D-1000 Berlin 10, West Germany
  1694. X * 
  1695. X *              Tel: +49-30-314-22972
  1696. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1697. X */
  1698. X/*
  1699. X * $Header: save.h[3.6] Thu Feb 23 18:13:55 1989 axel@coma published $
  1700. X *
  1701. X * Log for /u/shape/dist-tape/src/vc/save.h[3.4]
  1702. X *     Thu Feb 23 18:13:55 1989 axel@coma published $
  1703. X *  --- empty log message ---
  1704. X *  save.h[3.5] Thu Feb 23 18:13:55 1989 axel@coma published $
  1705. X *  --- empty log message ---
  1706. X *  save.h[3.6] Thu Feb 23 18:13:55 1989 axel@coma published $
  1707. X *  --- empty log message ---
  1708. X */
  1709. X
  1710. X
  1711. X#include "afsapp.h"
  1712. X
  1713. X#define ATTRDEF 01     /* -a fname */
  1714. X#define QUIETPLEASE 02 /* -q */
  1715. X#define FORCE 04       /* -f */
  1716. X#define NEWGEN 010     /* uppercase commandname */
  1717. X#define OTHERPROJ 020  /* -p name */
  1718. X#define MSGSET 040     /* -m string */
  1719. X#define TXTFSET 0100   /* -t fname */
  1720. X#define SYMNSET 0200   /* -n name */
  1721. X#define LCKGIVEUP 0400 /* -unlock */
  1722. X#define SETVNUM   01000 /* -setvnum */
  1723. X#define SUBMIT    02000 /* submit */
  1724. X
  1725. X#define EINVALPROJ "No such project:"
  1726. X#define SVATTR "SVATTRS"
  1727. X#define SAVE "ave"  /* first char ignored */
  1728. X
  1729. END_OF_FILE
  1730. if test 2003 -ne `wc -c <'src/vc/save.h'`; then
  1731.     echo shar: \"'src/vc/save.h'\" unpacked with wrong size!
  1732. fi
  1733. # end of 'src/vc/save.h'
  1734. fi
  1735. if test -f 'src/vc/vadmdefs.h' -a "${1}" != "-c" ; then 
  1736.   echo shar: Will not clobber existing file \"'src/vc/vadmdefs.h'\"
  1737. else
  1738. echo shar: Extracting \"'src/vc/vadmdefs.h'\" \(1717 characters\)
  1739. sed "s/^X//" >'src/vc/vadmdefs.h' <<'END_OF_FILE'
  1740. X/*
  1741. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1742. X *  and U. Pralle
  1743. X * 
  1744. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1745. X * WARRANTY for any part of this software to work correctly or as described
  1746. X * in the manuals. We do not accept any liability for any kind of damage
  1747. X * caused by use of this software, such as loss of data, time, money, or 
  1748. X * effort.
  1749. X * 
  1750. X * Permission is granted to use, copy, modify, or distribute any part of
  1751. X * this software as long as this is done without asking for charge, and
  1752. X * provided that this copyright notice is retained as part of the source
  1753. X * files. You may charge a distribution fee for the physical act of
  1754. X * transferring a copy, and you may at your option offer warranty
  1755. X * protection in exchange for a fee.
  1756. X * 
  1757. X * Direct questions to: Tech. Univ. Berlin
  1758. X *              Wilfried Koch
  1759. X *              Sekr. FR 5-6 
  1760. X *              Franklinstr. 28/29
  1761. X *              D-1000 Berlin 10, West Germany
  1762. X * 
  1763. X *              Tel: +49-30-314-22972
  1764. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1765. X */
  1766. X/*
  1767. X * $Header: vadmdefs.h[3.2] Thu Feb 23 18:14:26 1989 axel@coma published $
  1768. X *
  1769. X * Log for /u/shape/dist-tape/src/vc/vadmdefs.h[3.0]
  1770. X *     Thu Feb 23 18:14:26 1989 axel@coma published $
  1771. X *  --- empty log message ---
  1772. X *  vadmdefs.h[3.1] Thu Feb 23 18:14:26 1989 axel@coma published $
  1773. X *  --- empty log message ---
  1774. X *  vadmdefs.h[3.2] Thu Feb 23 18:14:26 1989 axel@coma published $
  1775. X *  --- empty log message ---
  1776. X */
  1777. X
  1778. X
  1779. X/* from vctl.c */
  1780. Xextern char *progname;        /* program's name */
  1781. Xextern unsigned int options;    /* options  */
  1782. Xextern unsigned int actions;    /* actions */
  1783. Xextern struct optdesc argdesc[];    /* known options */
  1784. Xextern struct Transaction ThisTransaction;
  1785. END_OF_FILE
  1786. if test 1717 -ne `wc -c <'src/vc/vadmdefs.h'`; then
  1787.     echo shar: \"'src/vc/vadmdefs.h'\" unpacked with wrong size!
  1788. fi
  1789. # end of 'src/vc/vadmdefs.h'
  1790. fi
  1791. if test -f 'src/vc/vc_sysdep.h' -a "${1}" != "-c" ; then 
  1792.   echo shar: Will not clobber existing file \"'src/vc/vc_sysdep.h'\"
  1793. else
  1794. echo shar: Extracting \"'src/vc/vc_sysdep.h'\" \(1652 characters\)
  1795. sed "s/^X//" >'src/vc/vc_sysdep.h' <<'END_OF_FILE'
  1796. X/*
  1797. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1798. X *  and U. Pralle
  1799. X * 
  1800. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1801. X * WARRANTY for any part of this software to work correctly or as described
  1802. X * in the manuals. We do not accept any liability for any kind of damage
  1803. X * caused by use of this software, such as loss of data, time, money, or 
  1804. X * effort.
  1805. X * 
  1806. X * Permission is granted to use, copy, modify, or distribute any part of
  1807. X * this software as long as this is done without asking for charge, and
  1808. X * provided that this copyright notice is retained as part of the source
  1809. X * files. You may charge a distribution fee for the physical act of
  1810. X * transferring a copy, and you may at your option offer warranty
  1811. X * protection in exchange for a fee.
  1812. X * 
  1813. X * Direct questions to: Tech. Univ. Berlin
  1814. X *              Wilfried Koch
  1815. X *              Sekr. FR 5-6 
  1816. X *              Franklinstr. 28/29
  1817. X *              D-1000 Berlin 10, West Germany
  1818. X * 
  1819. X *              Tel: +49-30-314-22972
  1820. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1821. X */
  1822. X/*
  1823. X * $Header: vc_sysdep.h[3.3] Thu Feb 23 18:14:35 1989 axel@coma published $
  1824. X *
  1825. X * Log for /u/shape/dist-tape/src/vc/vc_sysdep.h[3.1]
  1826. X *     Thu Feb 23 18:14:35 1989 axel@coma published $
  1827. X *  --- empty log message ---
  1828. X *  vc_sysdep.h[3.2] Thu Feb 23 18:14:35 1989 axel@coma published $
  1829. X *  --- empty log message ---
  1830. X *  vc_sysdep.h[3.3] Thu Feb 23 18:14:35 1989 axel@coma published $
  1831. X *  --- empty log message ---
  1832. X */
  1833. X
  1834. X
  1835. X#ifndef DEFAULT_PATH
  1836. X#  define DEFAULT_PATH ".:/bin"
  1837. X#endif DEFAULT_PATH
  1838. X
  1839. X# define PATH_ENV_NAME "PATH"
  1840. X# define EDITOR_ENV_NAME "EDITOR"
  1841. X# define DEFAULT_EDITOR "/usr/ucb/vi"
  1842. X
  1843. END_OF_FILE
  1844. if test 1652 -ne `wc -c <'src/vc/vc_sysdep.h'`; then
  1845.     echo shar: \"'src/vc/vc_sysdep.h'\" unpacked with wrong size!
  1846. fi
  1847. # end of 'src/vc/vc_sysdep.h'
  1848. fi
  1849. if test -f 'src/vfind/atk.h' -a "${1}" != "-c" ; then 
  1850.   echo shar: Will not clobber existing file \"'src/vfind/atk.h'\"
  1851. else
  1852. echo shar: Extracting \"'src/vfind/atk.h'\" \(1717 characters\)
  1853. sed "s/^X//" >'src/vfind/atk.h' <<'END_OF_FILE'
  1854. X/*
  1855. X * Copyright (C) 1989, 1990 W. Koch, A. Lampen, A. Mahler, W. Obst,
  1856. X *  and U. Pralle
  1857. X * 
  1858. X * This software is published on an as-is basis. There is ABSOLUTELY NO
  1859. X * WARRANTY for any part of this software to work correctly or as described
  1860. X * in the manuals. We do not accept any liability for any kind of damage
  1861. X * caused by use of this software, such as loss of data, time, money, or 
  1862. X * effort.
  1863. X * 
  1864. X * Permission is granted to use, copy, modify, or distribute any part of
  1865. X * this software as long as this is done without asking for charge, and
  1866. X * provided that this copyright notice is retained as part of the source
  1867. X * files. You may charge a distribution fee for the physical act of
  1868. X * transferring a copy, and you may at your option offer warranty
  1869. X * protection in exchange for a fee.
  1870. X * 
  1871. X * Direct questions to: Tech. Univ. Berlin
  1872. X *              Wilfried Koch
  1873. X *              Sekr. FR 5-6 
  1874. X *              Franklinstr. 28/29
  1875. X *              D-1000 Berlin 10, West Germany
  1876. X * 
  1877. X *              Tel: +49-30-314-22972
  1878. X *              E-mail: shape@coma.uucp or shape@db0tui62.bitnet
  1879. X */
  1880. X/*  LAST EDIT: Thu Feb 16 19:32:44 1989 by Uli Pralle (coma!uli)  */
  1881. X/*
  1882. X * atk.h
  1883. X */
  1884. X/*
  1885. X * $Header: atk.h[1.1] Tue Feb 21 20:22:59 1989 uli@coma published $
  1886. X *
  1887. X * Log for /u/shape/dist-tape/src/vfind/atk.h[1.1]
  1888. X *     Tue Feb 21 20:22:59 1989 uli@coma published $
  1889. X *      * This is the header file you need to include if you use at_misc.c.
  1890. X *  
  1891. X *  
  1892. X */
  1893. X#ifndef __ATKHDR__
  1894. X#define __ATKHDR__
  1895. X
  1896. X/*#include <afs.h>*/
  1897. X
  1898. Xextern char *at_getmode(), *at_symbfiletype(), *at_getversstate();
  1899. Xextern char *at_getbndvers(), *at_getfilename(), *at_getdate();
  1900. Xextern char *at_getuser(), *at_version();
  1901. Xextern int at_string2state();
  1902. Xextern void at_revset();
  1903. X#endif /* __ATKHDR__ */
  1904. END_OF_FILE
  1905. if test 1717 -ne `wc -c <'src/vfind/atk.h'`; then
  1906.     echo shar: \"'src/vfind/atk.h'\" unpacked with wrong size!
  1907. fi
  1908. # end of 'src/vfind/atk.h'
  1909. fi
  1910. echo shar: End of archive 2 \(of 33\).
  1911. cp /dev/null ark2isdone
  1912. MISSING=""
  1913. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ; do
  1914.     if test ! -f ark${I}isdone ; then
  1915.     MISSING="${MISSING} ${I}"
  1916.     fi
  1917. done
  1918. if test "${MISSING}" = "" ; then
  1919.     echo You have unpacked all 33 archives.
  1920.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1921. else
  1922.     echo You still need to unpack the following archives:
  1923.     echo "        " ${MISSING}
  1924. fi
  1925. ##  End of shell archive.
  1926. exit 0
  1927.