NetBSD/usr.bin/vgrind/Makefile
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00

45 lines
966 B
Makefile

# $NetBSD: Makefile,v 1.21 2009/04/14 22:15:28 lukem 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
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>