2014-07-15 17:17:15 +04:00
|
|
|
# $NetBSD: Makefile,v 1.22 2014/07/15 13:17:15 christos Exp $
|
1994-11-17 11:27:58 +03:00
|
|
|
# @(#)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
|
1999-02-13 05:54:17 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1993-04-09 16:58:42 +04:00
|
|
|
PROG= vfontedpr
|
1994-11-17 11:27:58 +03:00
|
|
|
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
|
1994-11-17 11:27:58 +03:00
|
|
|
CLEANFILES+=vgrindefs.src.db
|
1993-04-09 16:58:42 +04:00
|
|
|
|
1999-02-13 05:54:17 +03: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
|
2003-06-30 23:08:37 +04:00
|
|
|
FILESNAME_tmac.vgrind= vgrind.tmac
|
1998-09-27 21:22:03 +04:00
|
|
|
.endif
|
1997-03-25 00:57:01 +03:00
|
|
|
|
2002-01-31 22:32:11 +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
|
|
|
|
2002-05-31 01:40:47 +04:00
|
|
|
.include <bsd.endian.mk>
|
|
|
|
.if ${TARGET_ENDIANNESS} == "1234"
|
2003-05-18 12:20:34 +04:00
|
|
|
CAP_MKDB_ENDIAN= -l
|
2002-05-31 01:40:47 +04:00
|
|
|
.elif ${TARGET_ENDIANNESS} == "4321"
|
2003-05-18 12:20:34 +04:00
|
|
|
CAP_MKDB_ENDIAN= -b
|
2002-05-31 01:40:47 +04:00
|
|
|
.else
|
2003-05-18 12:20:34 +04:00
|
|
|
CAP_MKDB_ENDIAN=
|
2002-05-31 01:40:47 +04:00
|
|
|
.endif
|
|
|
|
|
1999-02-13 05:54:17 +03:00
|
|
|
.if ${MKSHARE} != "no"
|
1994-12-24 00:11:56 +03:00
|
|
|
vgrindefs.src.db: vgrindefs.src
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2014-07-15 17:17:15 +04:00
|
|
|
${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f vgrindefs.src ${.ALLSRC}
|
1998-09-27 21:22:03 +04:00
|
|
|
.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>
|