]> andersk Git - moira.git/blobdiff - backup/Makefile
install startdcm correctly
[moira.git] / backup / Makefile
index 780e17ef6b76de9945062e1fd73ec5da1b83d8d2..43ad84f5b54a84a7b0ac25c039b601b310dad0c9 100644 (file)
@@ -1,3 +1,9 @@
+# $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
@@ -5,9 +11,10 @@ CFLAGS= -O
 EQLIBS = /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
 
 .qc.o:
-       eqc $*.qc
+       /usr/rtingres/bin/eqc $*.qc
        rm -f $*.o
        cc -c ${CFLAGS} $*.c
+       rm -f $*.c
 
 all: smsbackup smsrestore
 
@@ -17,6 +24,11 @@ smsbackup: dump_db.o bkup1.o bkup.o dumprest.o
 smsrestore: rest_db.o rest1.o rest.o dumprest.o
        cc -o $@ ${CFLAGS} rest_db.o rest1.o rest.o dumprest.o ${EQLIBS}
 
+copy_backups: copy_backups.c
+       cc -o $@ ${CFLAGS} -I../include copy_backups.c \
+                ../update/sms_update.o -L../lib \
+               -lsms -lgdb -lkrb -ldes -lmisc
+
 bkup.qc: ../db/dbbuild db2bkup.awk
        cc -E ../db/dbbuild | awk -f db2bkup.awk > bkup.qc
 
@@ -32,10 +44,15 @@ lint:
        lint -h rest_db.c rest.c rest1.c dumprest.c | egrep -v '^II'
 
 clean:
-       rm -f *.c *.o smsbackup bkup.qc bkup1.qc smsrestore rest.qc rest1.qc
+       rm -f *.o smsbackup bkup.qc bkup1.qc smsrestore rest.qc rest1.qc
        rm -f core *~
-
-
-
+       rm -f copy_backups counts
+       rm -f bkup.c bkup1.c counts.c dump_db.c dumprest.c
+       rm -f rest.c rest1.c rest_db.c
+
+install:
+       install smsbackup ../bin/smsbackup
+       install smsrestore ../bin/smsrestore
+       install nightly.sh ../bin/nightly.sh
 
 
This page took 0.035387 seconds and 4 git commands to generate.