3 # Copyright 1990 by the Massachusetts Institute of Technology.
5 # For copying and distribution information,
6 # please see the file <mit-copyright.h>.
8 # Imakefile for db directory.
12 CODE= Imakefile schema.sql unschema.sql dbopt.sql
16 depend:: moira_schema.c moira_schema.h
18 moira_schema.h: schema.sql
19 tr '[a-z]' '[A-Z]' < schema.sql | awk -f doschema.awk > moira_schema.h
21 moira_schema.c: schema.sql
22 awk -f doschema.awk < schema.sql > moira_schema.c
25 rm -f moira_schema.h moira_schema.c
27 all: moira_schema.h moira_schema.c moira_schema.o