1 # $NetBSD: Makefile,v 1.1 2010/02/03 15:34:44 roy Exp $ 2 3 HOSTPROGNAME= ${_TOOL_PREFIX}tic 4 HOST_SRCDIR= usr.bin/tic 5 6 7 .include "${.CURDIR}/../Makefile.host" 8 9 .PATH: ${NETBSDSRCDIR}/lib/libterminfo 10 SRCS+= hash.c 11 CLEANFILES+= hash.c 12 tic: hash.lo 13 14 # Generate our string and hash tables 15 hash.c: 16 @echo "Generating terminfo hash" 17 cd ${NETBSDSRCDIR}/lib/libterminfo; ./genhash >${.OBJDIR}/$@ 18