1 1.22 christos # $NetBSD: Makefile,v 1.22 2014/07/15 13:17:15 christos Exp $ 2 1.3 jtc # @(#)Makefile 8.1 (Berkeley) 6/9/93 3 1.1 cgd 4 1.22 christos WARNS=6 5 1.10 lukem .include <bsd.own.mk> 6 1.10 lukem 7 1.1 cgd PROG= vfontedpr 8 1.3 jtc SRCS= regexp.c vfontedpr.c 9 1.4 cgd MAN= vgrind.1 vgrindefs.5 10 1.1 cgd BINDIR= /usr/libexec 11 1.3 jtc CLEANFILES+=vgrindefs.src.db 12 1.1 cgd 13 1.10 lukem .if ${MKSHARE} != "no" 14 1.7 christos FILES= tmac.vgrind vgrindefs.src vgrindefs.src.db 15 1.7 christos FILESNAME_vgrindefs.src= vgrindefs 16 1.7 christos FILESNAME_vgrindefs.src.db= vgrindefs.db 17 1.22 christos FILESDIR?= /usr/share/misc 18 1.22 christos FILESDIR_tmac.vgrind?= /usr/share/tmac 19 1.16 wiz FILESNAME_tmac.vgrind= vgrind.tmac 20 1.9 lukem .endif 21 1.7 christos 22 1.12 tv SCRIPTS= vgrind.sh 23 1.12 tv SCRIPTSDIR= /usr/bin 24 1.12 tv 25 1.11 mycroft realall: vfontedpr vgrindefs.src.db 26 1.5 pk 27 1.14 itojun .include <bsd.endian.mk> 28 1.14 itojun .if ${TARGET_ENDIANNESS} == "1234" 29 1.15 lukem CAP_MKDB_ENDIAN= -l 30 1.14 itojun .elif ${TARGET_ENDIANNESS} == "4321" 31 1.15 lukem CAP_MKDB_ENDIAN= -b 32 1.14 itojun .else 33 1.15 lukem CAP_MKDB_ENDIAN= 34 1.14 itojun .endif 35 1.14 itojun 36 1.10 lukem .if ${MKSHARE} != "no" 37 1.5 pk vgrindefs.src.db: vgrindefs.src 38 1.19 lukem ${_MKTARGET_CREATE} 39 1.22 christos ${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f vgrindefs.src ${.ALLSRC} 40 1.9 lukem .else 41 1.9 lukem vgrindefs.src.db: 42 1.9 lukem .endif 43 1.1 cgd 44 1.1 cgd .include <bsd.prog.mk> 45