Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.bin / vgrind / Makefile
blob11474ce6be544633858bbaff2af7a0037d50b8d3
1 # $NetBSD: Makefile,v 1.20 2004/04/23 22:14:57 christos Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/9/93
4 .include <bsd.own.mk>
6 PROG= vfontedpr
7 SRCS= regexp.c vfontedpr.c
8 MAN= vgrind.1 vgrindefs.5
9 BINDIR= /usr/libexec
10 CLEANFILES+=vgrindefs.src.db
12 .if ${MKSHARE} != "no"
13 FILES= tmac.vgrind vgrindefs.src vgrindefs.src.db
14 FILESNAME_vgrindefs.src= vgrindefs
15 FILESNAME_vgrindefs.src.db= vgrindefs.db
16 FILESDIR= /usr/share/misc
17 FILESDIR_tmac.vgrind= /usr/share/tmac
18 FILESNAME_tmac.vgrind= vgrind.tmac
19 .endif
21 SCRIPTS= vgrind.sh
22 SCRIPTSDIR= /usr/bin
24 realall: vfontedpr vgrindefs.src.db
26 .include <bsd.endian.mk>
27 .if ${TARGET_ENDIANNESS} == "1234"
28 CAP_MKDB_ENDIAN= -l
29 .elif ${TARGET_ENDIANNESS} == "4321"
30 CAP_MKDB_ENDIAN= -b
31 .else
32 CAP_MKDB_ENDIAN=
33 .endif
35 .if ${MKSHARE} != "no"
36 vgrindefs.src.db: vgrindefs.src
37 ${_MKTARGET_CREATE}
38 ${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f vgrindefs.src \
39 ${.CURDIR}/vgrindefs.src
40 .else
41 vgrindefs.src.db:
42 .endif
44 .include <bsd.prog.mk>