Makefile.hash revision 1.1
11.1Schristos#	$NetBSD: Makefile.hash,v 1.1 2011/11/02 17:48:53 christos Exp $
21.1Schristos
31.1SchristosPARSEDIR:=${.PARSEDIR}
41.1Schristos# Generate our string and hash tables
51.1Schristoshash.c: genhash term.h
61.1Schristos		@echo "Generating terminfo hash"
71.1Schristos		${HOST_SH} ${.ALLSRC} > ${.TARGET}
81.1Schristos
91.1Schristostermcap_hash.c: genthash termcap_map.c
101.1Schristos		@echo "Generating termcap hash"
111.1Schristos		${HOST_SH} ${.ALLSRC} > ${.TARGET}
121.1Schristos
131.1Schristos
141.1Schristos# Allow terminfo descriptions to be compiled into libterminfo
151.1Schristoscompiled_terms.c: genterms term.h ${NETBSDSRCDIR}/share/terminfo/terminfo
161.1Schristos		@echo "Generating compiled terminfo descriptions"
171.1Schristos		${HOST_SH} ${.ALLSRC} > ${.TARGET}
181.1Schristos
191.1SchristosCLEANFILES+=	hash.c termcap_hash.c compiled_terms.c
20