Cross Reference: Makefile.hash
xref: /src/lib/libterminfo/Makefile.hash
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/lib/libterminfo/
Makefile.hash revision 1.3
11.3Syamt#	$NetBSD: Makefile.hash,v 1.3 2011/11/02 20:39:41 yamt Exp $
21.3Syamt
31.3SyamtSCRIPT_ENV=	\
41.3Syamt	TOOL_AWK=${TOOL_AWK:Q} \
51.3Syamt	TOOL_NBPERF=${TOOL_NBPERF:Q} \
61.3Syamt	TOOL_SED=${TOOL_SED:Q} \
71.3Syamt	TOOL_SORT=${TOOL_SORT:Q} \
81.3Syamt	TOOL_TIC=${TOOL_TIC:Q}
91.1Schristos
101.1SchristosPARSEDIR:=${.PARSEDIR}
111.1Schristos# Generate our string and hash tables
121.1Schristoshash.c: genhash term.h
131.1Schristos		@echo "Generating terminfo hash"
141.3Syamt		${SCRIPT_ENV} ${HOST_SH} ${.ALLSRC} > ${.TARGET}
151.1Schristos
161.1Schristostermcap_hash.c: genthash termcap_map.c
171.1Schristos		@echo "Generating termcap hash"
181.3Syamt		${SCRIPT_ENV} ${HOST_SH} ${.ALLSRC} > ${.TARGET}
191.1Schristos
201.1Schristos# Allow terminfo descriptions to be compiled into libterminfo
211.1Schristoscompiled_terms.c: genterms term.h ${NETBSDSRCDIR}/share/terminfo/terminfo
221.1Schristos		@echo "Generating compiled terminfo descriptions"
231.3Syamt		${SCRIPT_ENV} ${HOST_SH} ${.ALLSRC} > ${.TARGET}
241.1Schristos
251.1SchristosCLEANFILES+=	hash.c termcap_hash.c compiled_terms.c
26

Indexes created Mon Nov 10 17:20:41 GMT 2025