summaryrefslogtreecommitdiff
path: root/gnu-name-system-record-types/Makefile
blob: 2d0eb95747325c52d1cb252f731c47bff6de6118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FILES=gnu-name-system-record-types.h
all: check $(FILES)

check:
	recfix --check registry.rec

distclean:

	rm -f *.tmp
clean:
	rm -f $(FILES) *.tmp

gnu-name-system-record-types.h.tmp: registry.rec h.template
	../format.sh h.template < registry.rec > $@

gnu-name-system-record-types.h: h.header gnu-name-system-record-types.h.tmp h.footer
	cat $^ > $@

.PHONY: check clean distclean