]> andersk Git - moira.git/blame - backup/Imakefile
Oracle and Solaris/POSIX changes
[moira.git] / backup / Imakefile
CommitLineData
1266dc88 1# $Header$
2#
3# Copyright 1990 by the Massachusetts Institute of Technology.
4#
5# For copying and distribution information,
6# please see the file <mit-copyright.h>.
7#
8# Imakefile for backup directory.
9#
10
3d058c8a 11SRCS= dump_db.h dump_db.c bkup1.c bkup.c dumprest.c rest_db.c rest1.c rest.c
1266dc88 12SRCDIR=${SRCTOP}/backup
13CODE= db2bkup.awk db2rest.awk dump_db.h dump_db.dc dumprest.dc \
3d058c8a 14 nightly.sh report.sh rest_db.dc
15BOBJS= dump_db.o bkup1.o bkup.o dumprest.o
1266dc88 16ROBJS= rest_db.o rest1.o rest.o dumprest.o
17sqlrule()
18
19program(mrbackup, ${BOBJS},${MR_LIBDEP}, ${CLIBS} ${SQL_LIB}, ${PROGDIR})
20program(mrrestore, ${ROBJS},${MR_LIBDEP}, ${CLIBS} ${SQL_LIB}, ${PROGDIR})
21
3d058c8a 22bkup.dc: ../db/schema.sql db2bkup.awk
23 awk -f db2bkup.awk < ../db/schema.sql > bkup.dc
1266dc88 24bkup1.dc: bkup.dc
3d058c8a 25rest.dc: ../db/schema.sql db2rest.awk
26 awk -f db2rest.awk < ../db/schema.sql > rest.dc
1266dc88 27rest1.dc: rest.dc
28clean::
3d058c8a 29 $(RM) bkup.dc bkup1.dc rest.dc rest1.dc
1266dc88 30sqlfile(dump_db)
31sqlfile(rest_db)
32sqlfile(dumprest)
7ceaee21 33sqlfile(bkup)
1266dc88 34sqlfile(bkup1)
35sqlfile(rest)
36sqlfile(rest1)
This page took 0.084225 seconds and 5 git commands to generate.