]> andersk Git - moira.git/blame - backup/Imakefile
eliminate use of the `register' keyword: let the compiler decide
[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
b11ddcdf 13CODE= db2bkup.awk db2rest.awk dump_db.h dump_db.pc dumprest.pc \
14 nightly.sh report.sh rest_db.pc
3d058c8a 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
b11ddcdf 22bkup.pc: ../db/schema.sql db2bkup.awk
23 awk -f db2bkup.awk < ../db/schema.sql > bkup.pc
24bkup1.pc: bkup.pc
25rest.pc: ../db/schema.sql db2rest.awk
26 awk -f db2rest.awk < ../db/schema.sql > rest.pc
27rest1.pc: rest.pc
1266dc88 28clean::
b11ddcdf 29 $(RM) bkup.pc bkup1.pc rest.pc rest1.pc
1266dc88 30sqlfile(dump_db)
31sqlfile(rest_db)
32sqlfile(dumprest)
7ceaee21 33sqlfile(bkup)
1266dc88 34sqlfile(bkup1)
35sqlfile(rest)
36sqlfile(rest1)
This page took 0.047627 seconds and 5 git commands to generate.