]> andersk Git - moira.git/blame - db/Imakefile
make MAX_FIELD_WIDTH have room for a NULL like everything else
[moira.git] / db / Imakefile
CommitLineData
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 11SRCDIR=${SRCTOP}/db
c6161d79 12CODE= Imakefile schema.sql unschema.sql dbopt.sql
1371d9e6 13
14depend:: ${CODE}
c6161d79 15
27f4087d 16depend:: moira_schema.c moira_schema.h
17
18moira_schema.h: schema.sql
19 tr '[a-z]' '[A-Z]' < schema.sql | awk -f doschema.awk > moira_schema.h
20
21moira_schema.c: schema.sql
22 awk -f doschema.awk < schema.sql > moira_schema.c
23
24clean::
25 rm -f moira_schema.h moira_schema.c
26
27all: moira_schema.h moira_schema.c moira_schema.o
This page took 0.068509 seconds and 5 git commands to generate.