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