NetBSD/usr.bin/vgrind/Makefile

45 lines
934 B
Makefile

# $NetBSD: Makefile,v 1.14 2002/05/30 21:40:50 itojun Exp $
# @(#)Makefile 8.1 (Berkeley) 6/9/93
.include <bsd.own.mk>
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
.endif
SCRIPTS= vgrind.sh
SCRIPTSDIR= /usr/bin
CAP_MKDB?= cap_mkdb
realall: vfontedpr vgrindefs.src.db
.include <bsd.endian.mk>
.if ${TARGET_ENDIANNESS} == "1234"
TARGET_ENDIANNESS= -l
.elif ${TARGET_ENDIANNESS} == "4321"
TARGET_ENDIANNESS= -b
.else
TARGET_ENDIANNESS=
.endif
.if ${MKSHARE} != "no"
vgrindefs.src.db: vgrindefs.src
${CAP_MKDB} ${TARGET_ENDIANNESS} -f vgrindefs.src \
${.CURDIR}/vgrindefs.src
.else
vgrindefs.src.db:
.endif
.include <bsd.prog.mk>