]> andersk Git - moira.git/blob - backup/Imakefile
Move .dc files to .pc
[moira.git] / backup / Imakefile
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
11 SRCS= dump_db.h dump_db.c bkup1.c bkup.c dumprest.c rest_db.c rest1.c rest.c
12 SRCDIR=${SRCTOP}/backup
13 CODE= db2bkup.awk db2rest.awk dump_db.h dump_db.pc dumprest.pc \
14         nightly.sh report.sh rest_db.pc
15 BOBJS= dump_db.o bkup1.o bkup.o dumprest.o 
16 ROBJS= rest_db.o rest1.o rest.o dumprest.o
17 sqlrule()
18
19 program(mrbackup, ${BOBJS},${MR_LIBDEP}, ${CLIBS} ${SQL_LIB}, ${PROGDIR})
20 program(mrrestore, ${ROBJS},${MR_LIBDEP}, ${CLIBS} ${SQL_LIB}, ${PROGDIR})
21
22 bkup.pc: ../db/schema.sql db2bkup.awk
23         awk -f db2bkup.awk < ../db/schema.sql > bkup.pc
24 bkup1.pc: bkup.pc
25 rest.pc: ../db/schema.sql db2rest.awk
26         awk -f db2rest.awk < ../db/schema.sql > rest.pc
27 rest1.pc: rest.pc
28 clean::
29         $(RM) bkup.pc bkup1.pc rest.pc rest1.pc
30 sqlfile(dump_db)
31 sqlfile(rest_db)
32 sqlfile(dumprest)
33 sqlfile(bkup)
34 sqlfile(bkup1)
35 sqlfile(rest)
36 sqlfile(rest1)
This page took 0.446636 seconds and 5 git commands to generate.