1 # $NetBSD: Makefile,v 1.12.2.2 2002/05/30 23:59:48 tv Exp $ 2 # @(#)Makefile 8.1 (Berkeley) 6/9/93 3 4 .include <bsd.own.mk> 5 6 PROG= vfontedpr 7 SRCS= regexp.c vfontedpr.c 8 MAN= vgrind.1 vgrindefs.5 9 BINDIR= /usr/libexec 10 CLEANFILES+=vgrindefs.src.db 11 12 .if ${MKSHARE} != "no" 13 FILES= tmac.vgrind vgrindefs.src vgrindefs.src.db 14 FILESNAME_vgrindefs.src= vgrindefs 15 FILESNAME_vgrindefs.src.db= vgrindefs.db 16 FILESDIR= /usr/share/misc 17 FILESDIR_tmac.vgrind= /usr/share/tmac 18 .endif 19 20 SCRIPTS= vgrind.sh 21 SCRIPTSDIR= /usr/bin 22 23 CAP_MKDB?= cap_mkdb 24 25 realall: vfontedpr vgrindefs.src.db 26 27 .include <bsd.endian.mk> 28 .if ${TARGET_ENDIANNESS} == "1234" 29 TARGET_ENDIANNESS= -l 30 .elif ${TARGET_ENDIANNESS} == "4321" 31 TARGET_ENDIANNESS= -b 32 .else 33 TARGET_ENDIANNESS= 34 .endif 35 36 .if ${MKSHARE} != "no" 37 vgrindefs.src.db: vgrindefs.src 38 ${CAP_MKDB} ${TARGET_ENDIANNESS} -f vgrindefs.src \ 39 ${.CURDIR}/vgrindefs.src 40 .else 41 vgrindefs.src.db: 42 .endif 43 44 .include <bsd.prog.mk> 45