Makefile.hash revision 1.4
11.4Sjoerg# $NetBSD: Makefile.hash,v 1.4 2011/11/03 07:19:39 joerg 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.4SjoergDPSRCS+= hash.c termcap_hash.c compiled_terms.c 261.4Sjoerg 271.1SchristosCLEANFILES+= hash.c termcap_hash.c compiled_terms.c 28