Make it possible for cap_mkdb to be a host tool.

This commit is contained in:
tv 2002-01-31 19:32:11 +00:00
parent c187f70e67
commit d08ddf4732

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2000/01/23 18:26:14 mycroft Exp $ # $NetBSD: Makefile,v 1.12 2002/01/31 19:32:11 tv Exp $
# @(#)Makefile 8.1 (Berkeley) 6/9/93 # @(#)Makefile 8.1 (Berkeley) 6/9/93
.include <bsd.own.mk> .include <bsd.own.mk>
@ -17,14 +17,16 @@ FILESDIR= /usr/share/misc
FILESDIR_tmac.vgrind= /usr/share/tmac FILESDIR_tmac.vgrind= /usr/share/tmac
.endif .endif
SCRIPTS=vgrind.sh SCRIPTS= vgrind.sh
SCRIPTSDIR=/usr/bin SCRIPTSDIR= /usr/bin
CAP_MKDB?= cap_mkdb
realall: vfontedpr vgrindefs.src.db realall: vfontedpr vgrindefs.src.db
.if ${MKSHARE} != "no" .if ${MKSHARE} != "no"
vgrindefs.src.db: vgrindefs.src vgrindefs.src.db: vgrindefs.src
cap_mkdb -f vgrindefs.src ${.CURDIR}/vgrindefs.src ${CAP_MKDB} -f vgrindefs.src ${.CURDIR}/vgrindefs.src
.else .else
vgrindefs.src.db: vgrindefs.src.db:
.endif .endif