+# $Header$
+#
+# (c) Copyright 1988 by the Massachusetts Institute of Technology.
+# For copying and distribution information, please see the file
+# <mit-copyright.h>.
+
.SUFFIXES:
.SUFFIXES: .qc .o
CFLAGS= -O
cc -c ${CFLAGS} $*.c
rm -f $*.c
-all: smsbackup smsrestore # counts copy_backups
+all: smsbackup smsrestore
smsbackup: dump_db.o bkup1.o bkup.o dumprest.o
cc -o $@ ${CFLAGS} dump_db.o bkup1.o bkup.o dumprest.o ${EQLIBS}
smsrestore: rest_db.o rest1.o rest.o dumprest.o
cc -o $@ ${CFLAGS} rest_db.o rest1.o rest.o dumprest.o ${EQLIBS}
-counts: counts.o
- cc -o $@ ${CFLAGS} counts.o ${EQLIBS}
-
-salvager: salvager.o
- cc -o $@ ${CFLAGS} salvager.o ${EQLIBS}
-
copy_backups: copy_backups.c
cc -o $@ ${CFLAGS} -I../include copy_backups.c \
../update/sms_update.o -L../lib \
install:
install smsbackup ../bin/smsbackup
install smsrestore ../bin/smsrestore
- install counts ../bin/counts
- install salvager ../bin/salvager
install nightly.sh ../bin/nightly.sh
* $Author$
* $Header$
*
- * Copyright (C) 1987 by the Massachusetts Institute of Technology
+ * (c) Copyright 1988 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
*
* This program dumps the SMS database to a series of output files
* which can be later read back into SMS in the event of a crash.
*
- * $Log$
- * Revision 1.3 1988-08-16 16:25:30 mar
- * con't put extra whitespace in backup files
- *
- * Revision 1.2 87/07/13 03:52:53 wesommer
- * Modified to pass lint, do better backups.
- *
-Revision 1.1 87/07/11 19:51:05 wesommer
-Initial revision
-
- *
*/
#ifndef lint
#include <stdio.h>
#include <sys/file.h>
#include <ctype.h>
+#include <mit-copyright.h>
/* putc without the line buffer hair */
* $Author$
* $Header$
*
- * Copyright (C) 1987 by the Massachusetts Institute of Technology
- *
- * $Log$
- * Revision 1.1 1987-07-13 03:53:09 wesommer
- * Initial revision
+ * (c) Copyright 1988 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
*
*/
#include <stdio.h>
#include <sys/file.h>
#include <strings.h>
+#include <mit-copyright.h>
punt(msg)
char *msg;
* $Author$
* $Header$
*
- * Copyright (C) 1987 by the Massachusetts Institute of Technology
- *
- * $Log$
- * Revision 1.2 1988-05-10 11:34:37 mar
- * Throw away rest of field if too long
- *
- * Revision 1.1 87/07/13 03:50:02 wesommer
- * Initial revision
+ * (c) Copyright 1988 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
*
*/
#include <sys/file.h>
#include <stdio.h>
#include <ctype.h>
+#include <mit-copyright.h>
+
/*ARGSUSED*/
main(argc, argv)