]>
Commit | Line | Data |
---|---|---|
5c91cb61 | 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 db directory. | |
9 | # | |
10 | ||
5c91cb61 | 11 | SRCDIR=${SRCTOP}/db |
c6161d79 | 12 | CODE= Imakefile schema.sql unschema.sql dbopt.sql |
1371d9e6 | 13 | |
14 | depend:: ${CODE} | |
c6161d79 | 15 | |
27f4087d | 16 | depend:: moira_schema.c moira_schema.h |
17 | ||
18 | moira_schema.h: schema.sql | |
19 | tr '[a-z]' '[A-Z]' < schema.sql | awk -f doschema.awk > moira_schema.h | |
20 | ||
21 | moira_schema.c: schema.sql | |
22 | awk -f doschema.awk < schema.sql > moira_schema.c | |
23 | ||
24 | clean:: | |
25 | rm -f moira_schema.h moira_schema.c | |
26 | ||
27 | all: moira_schema.h moira_schema.c moira_schema.o |