NetBSD/usr.bin/vgrind/Makefile

45 lines
958 B
Makefile
Raw Normal View History

2014-07-15 17:17:15 +04:00
# $NetBSD: Makefile,v 1.22 2014/07/15 13:17:15 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/9/93
1993-04-09 16:58:42 +04:00
2014-07-15 17:17:15 +04:00
WARNS=6
.include <bsd.own.mk>
1993-04-09 16:58:42 +04:00
PROG= vfontedpr
SRCS= regexp.c vfontedpr.c
1994-12-22 15:30:38 +03:00
MAN= vgrind.1 vgrindefs.5
1993-04-09 16:58:42 +04:00
BINDIR= /usr/libexec
CLEANFILES+=vgrindefs.src.db
1993-04-09 16:58:42 +04:00
.if ${MKSHARE} != "no"
1997-03-25 00:57:01 +03:00
FILES= tmac.vgrind vgrindefs.src vgrindefs.src.db
FILESNAME_vgrindefs.src= vgrindefs
FILESNAME_vgrindefs.src.db= vgrindefs.db
2014-07-15 17:17:15 +04:00
FILESDIR?= /usr/share/misc
FILESDIR_tmac.vgrind?= /usr/share/tmac
FILESNAME_tmac.vgrind= vgrind.tmac
.endif
1997-03-25 00:57:01 +03:00
SCRIPTS= vgrind.sh
SCRIPTSDIR= /usr/bin
2000-01-23 21:26:14 +03:00
realall: vfontedpr vgrindefs.src.db
1994-12-24 00:11:56 +03:00
.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"
1994-12-24 00:11:56 +03:00
vgrindefs.src.db: vgrindefs.src
${_MKTARGET_CREATE}
2014-07-15 17:17:15 +04:00
${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f vgrindefs.src ${.ALLSRC}
.else
vgrindefs.src.db:
.endif
1994-12-24 00:11:56 +03:00
1993-04-09 16:58:42 +04:00
.include <bsd.prog.mk>