1# @(#)Makefile 8.1 (Berkeley) 6/9/93
2# $FreeBSD: head/usr.bin/vgrind/Makefile 201386 2010-01-02 10:27:05Z ed $
3
4PROG= vfontedpr
5SRCS= regexp.c vfontedpr.c
6SCRIPTS=vgrind.sh
7FILES= vgrindefs.src vgrindefs.src.db tmac.vgrind
8FILESNAME_vgrindefs.src= vgrindefs
9FILESNAME_vgrindefs.src.db= vgrindefs.db
10FILESDIR= ${SHAREDIR}/misc
11FILESDIR_tmac.vgrind= ${SHAREDIR}/tmac
12MAN= vgrind.1 vgrindefs.5
13
14WARNS?= 2
15
16BINDIR= /usr/libexec
17SCRIPTSDIR=/usr/bin
18
19CLEANFILES= vgrindefs.src.db
20
21.include <bsd.endian.mk>
22.if ${TARGET_ENDIANNESS} == "1234"
23CAP_MKDB_ENDIAN= -l
24.elif ${TARGET_ENDIANNESS} == "4321"
25CAP_MKDB_ENDIAN= -b
26.else
27CAP_MKDB_ENDIAN=
28.endif
29
30vgrindefs.src.db: vgrindefs.src
31 cap_mkdb ${CAP_MKDB_ENDIAN} -f vgrindefs.src ${.ALLSRC}
32
33.include <bsd.prog.mk>
2# $FreeBSD: head/usr.bin/vgrind/Makefile 201386 2010-01-02 10:27:05Z ed $
3
4PROG= vfontedpr
5SRCS= regexp.c vfontedpr.c
6SCRIPTS=vgrind.sh
7FILES= vgrindefs.src vgrindefs.src.db tmac.vgrind
8FILESNAME_vgrindefs.src= vgrindefs
9FILESNAME_vgrindefs.src.db= vgrindefs.db
10FILESDIR= ${SHAREDIR}/misc
11FILESDIR_tmac.vgrind= ${SHAREDIR}/tmac
12MAN= vgrind.1 vgrindefs.5
13
14WARNS?= 2
15
16BINDIR= /usr/libexec
17SCRIPTSDIR=/usr/bin
18
19CLEANFILES= vgrindefs.src.db
20
21.include <bsd.endian.mk>
22.if ${TARGET_ENDIANNESS} == "1234"
23CAP_MKDB_ENDIAN= -l
24.elif ${TARGET_ENDIANNESS} == "4321"
25CAP_MKDB_ENDIAN= -b
26.else
27CAP_MKDB_ENDIAN=
28.endif
29
30vgrindefs.src.db: vgrindefs.src
31 cap_mkdb ${CAP_MKDB_ENDIAN} -f vgrindefs.src ${.ALLSRC}
32
33.include <bsd.prog.mk>