NetBSD/usr.bin/vgrind/Makefile
2004-04-23 22:14:57 +00:00

46 lines
978 B
Makefile

# $NetBSD: Makefile,v 1.20 2004/04/23 22:14:57 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/9/93
.include <bsd.own.mk>
WARNS= 3
PROG= vfontedpr
SRCS= regexp.c vfontedpr.c
MAN= vgrind.1 vgrindefs.5
BINDIR= /usr/libexec
CLEANFILES+=vgrindefs.src.db
.if ${MKSHARE} != "no"
FILES= tmac.vgrind vgrindefs.src vgrindefs.src.db
FILESNAME_vgrindefs.src= vgrindefs
FILESNAME_vgrindefs.src.db= vgrindefs.db
FILESDIR= /usr/share/misc
FILESDIR_tmac.vgrind= /usr/share/tmac
FILESNAME_tmac.vgrind= vgrind.tmac
.endif
SCRIPTS= vgrind.sh
SCRIPTSDIR= /usr/bin
realall: vfontedpr vgrindefs.src.db
.include <bsd.endian.mk>
.if ${TARGET_ENDIANNESS} == "1234"
CAP_MKDB_ENDIAN= -l
.elif ${TARGET_ENDIANNESS} == "4321"
CAP_MKDB_ENDIAN= -b
.else
CAP_MKDB_ENDIAN=
.endif
.if ${MKSHARE} != "no"
vgrindefs.src.db: vgrindefs.src
${_MKTARGET_CREATE}
${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f vgrindefs.src \
${.CURDIR}/vgrindefs.src
.else
vgrindefs.src.db:
.endif
.include <bsd.prog.mk>