head	1.22;
access;
symbols
	netbsd-11-0-RC4:1.22
	netbsd-11-0-RC3:1.22
	netbsd-11-0-RC2:1.22
	netbsd-11-0-RC1:1.22
	perseant-exfatfs-base-20250801:1.22
	netbsd-11:1.22.0.38
	netbsd-11-base:1.22
	netbsd-10-1-RELEASE:1.22
	perseant-exfatfs-base-20240630:1.22
	perseant-exfatfs:1.22.0.36
	perseant-exfatfs-base:1.22
	netbsd-8-3-RELEASE:1.22
	netbsd-9-4-RELEASE:1.22
	netbsd-10-0-RELEASE:1.22
	netbsd-10-0-RC6:1.22
	netbsd-10-0-RC5:1.22
	netbsd-10-0-RC4:1.22
	netbsd-10-0-RC3:1.22
	netbsd-10-0-RC2:1.22
	netbsd-10-0-RC1:1.22
	netbsd-10:1.22.0.34
	netbsd-10-base:1.22
	netbsd-9-3-RELEASE:1.22
	cjep_sun2x-base1:1.22
	cjep_sun2x:1.22.0.32
	cjep_sun2x-base:1.22
	cjep_staticlib_x-base1:1.22
	netbsd-9-2-RELEASE:1.22
	cjep_staticlib_x:1.22.0.30
	cjep_staticlib_x-base:1.22
	netbsd-9-1-RELEASE:1.22
	phil-wifi-20200421:1.22
	phil-wifi-20200411:1.22
	is-mlppp:1.22.0.28
	is-mlppp-base:1.22
	phil-wifi-20200406:1.22
	netbsd-8-2-RELEASE:1.22
	netbsd-9-0-RELEASE:1.22
	netbsd-9-0-RC2:1.22
	netbsd-9-0-RC1:1.22
	phil-wifi-20191119:1.22
	netbsd-9:1.22.0.26
	netbsd-9-base:1.22
	phil-wifi-20190609:1.22
	netbsd-8-1-RELEASE:1.22
	netbsd-8-1-RC1:1.22
	pgoyette-compat-merge-20190127:1.22
	pgoyette-compat-20190127:1.22
	pgoyette-compat-20190118:1.22
	pgoyette-compat-1226:1.22
	pgoyette-compat-1126:1.22
	pgoyette-compat-1020:1.22
	pgoyette-compat-0930:1.22
	pgoyette-compat-0906:1.22
	netbsd-7-2-RELEASE:1.22
	pgoyette-compat-0728:1.22
	netbsd-8-0-RELEASE:1.22
	phil-wifi:1.22.0.24
	phil-wifi-base:1.22
	pgoyette-compat-0625:1.22
	netbsd-8-0-RC2:1.22
	pgoyette-compat-0521:1.22
	pgoyette-compat-0502:1.22
	pgoyette-compat-0422:1.22
	netbsd-8-0-RC1:1.22
	pgoyette-compat-0415:1.22
	pgoyette-compat-0407:1.22
	pgoyette-compat-0330:1.22
	pgoyette-compat-0322:1.22
	pgoyette-compat-0315:1.22
	netbsd-7-1-2-RELEASE:1.22
	pgoyette-compat:1.22.0.22
	pgoyette-compat-base:1.22
	netbsd-7-1-1-RELEASE:1.22
	matt-nb8-mediatek:1.22.0.20
	matt-nb8-mediatek-base:1.22
	perseant-stdc-iso10646:1.22.0.18
	perseant-stdc-iso10646-base:1.22
	netbsd-8:1.22.0.16
	netbsd-8-base:1.22
	prg-localcount2-base3:1.22
	prg-localcount2-base2:1.22
	prg-localcount2-base1:1.22
	prg-localcount2:1.22.0.14
	prg-localcount2-base:1.22
	pgoyette-localcount-20170426:1.22
	bouyer-socketcan-base1:1.22
	pgoyette-localcount-20170320:1.22
	netbsd-7-1:1.22.0.12
	netbsd-7-1-RELEASE:1.22
	netbsd-7-1-RC2:1.22
	netbsd-7-nhusb-base-20170116:1.22
	bouyer-socketcan:1.22.0.10
	bouyer-socketcan-base:1.22
	pgoyette-localcount-20170107:1.22
	netbsd-7-1-RC1:1.22
	pgoyette-localcount-20161104:1.22
	netbsd-7-0-2-RELEASE:1.22
	localcount-20160914:1.22
	netbsd-7-nhusb:1.22.0.8
	netbsd-7-nhusb-base:1.22
	pgoyette-localcount-20160806:1.22
	pgoyette-localcount-20160726:1.22
	pgoyette-localcount:1.22.0.6
	pgoyette-localcount-base:1.22
	netbsd-7-0-1-RELEASE:1.22
	netbsd-7-0:1.22.0.4
	netbsd-7-0-RELEASE:1.22
	netbsd-7-0-RC3:1.22
	netbsd-7-0-RC2:1.22
	netbsd-7-0-RC1:1.22
	netbsd-5-2-3-RELEASE:1.20
	netbsd-5-1-5-RELEASE:1.20
	netbsd-6-0-6-RELEASE:1.21
	netbsd-6-1-5-RELEASE:1.21
	netbsd-7:1.22.0.2
	netbsd-7-base:1.22
	yamt-pagecache-base9:1.21
	yamt-pagecache-tag8:1.21
	netbsd-6-1-4-RELEASE:1.21
	netbsd-6-0-5-RELEASE:1.21
	tls-earlyentropy:1.21.0.22
	tls-earlyentropy-base:1.22
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.21
	riastradh-drm2-base3:1.21
	netbsd-6-1-3-RELEASE:1.21
	netbsd-6-0-4-RELEASE:1.21
	netbsd-5-2-2-RELEASE:1.20
	netbsd-5-1-4-RELEASE:1.20
	netbsd-6-1-2-RELEASE:1.21
	netbsd-6-0-3-RELEASE:1.21
	netbsd-5-2-1-RELEASE:1.20
	netbsd-5-1-3-RELEASE:1.20
	netbsd-6-1-1-RELEASE:1.21
	riastradh-drm2-base2:1.21
	riastradh-drm2-base1:1.21
	riastradh-drm2:1.21.0.16
	riastradh-drm2-base:1.21
	netbsd-6-1:1.21.0.20
	netbsd-6-0-2-RELEASE:1.21
	netbsd-6-1-RELEASE:1.21
	netbsd-6-1-RC4:1.21
	netbsd-6-1-RC3:1.21
	agc-symver:1.21.0.18
	agc-symver-base:1.21
	netbsd-6-1-RC2:1.21
	netbsd-6-1-RC1:1.21
	yamt-pagecache-base8:1.21
	netbsd-5-2:1.20.0.46
	netbsd-6-0-1-RELEASE:1.21
	yamt-pagecache-base7:1.21
	netbsd-5-2-RELEASE:1.20
	netbsd-5-2-RC1:1.20
	matt-nb6-plus-nbase:1.21
	yamt-pagecache-base6:1.21
	netbsd-6-0:1.21.0.14
	netbsd-6-0-RELEASE:1.21
	netbsd-6-0-RC2:1.21
	tls-maxphys:1.21.0.12
	tls-maxphys-base:1.22
	matt-nb6-plus:1.21.0.10
	matt-nb6-plus-base:1.21
	netbsd-6-0-RC1:1.21
	yamt-pagecache-base5:1.21
	yamt-pagecache-base4:1.21
	netbsd-6:1.21.0.8
	netbsd-6-base:1.21
	netbsd-5-1-2-RELEASE:1.20
	netbsd-5-1-1-RELEASE:1.20
	yamt-pagecache-base3:1.21
	yamt-pagecache-base2:1.21
	yamt-pagecache:1.21.0.6
	yamt-pagecache-base:1.21
	cherry-xenmp:1.21.0.4
	cherry-xenmp-base:1.21
	bouyer-quota2-nbase:1.21
	bouyer-quota2:1.21.0.2
	bouyer-quota2-base:1.21
	matt-mips64-premerge-20101231:1.21
	matt-nb5-mips64-premerge-20101231:1.20
	matt-nb5-pq3:1.20.0.44
	matt-nb5-pq3-base:1.20
	netbsd-5-1:1.20.0.42
	netbsd-5-1-RELEASE:1.20
	netbsd-5-1-RC4:1.20
	matt-nb5-mips64-k15:1.20
	netbsd-5-1-RC3:1.20
	netbsd-5-1-RC2:1.20
	netbsd-5-1-RC1:1.20
	netbsd-5-0-2-RELEASE:1.20
	matt-nb5-mips64-premerge-20091211:1.20
	matt-premerge-20091211:1.21
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.20
	matt-nb4-mips64-k7-u2a-k9b:1.20
	matt-nb5-mips64-u1-k1-k5:1.20
	matt-nb5-mips64:1.20.0.40
	netbsd-5-0-1-RELEASE:1.20
	jym-xensuspend-nbase:1.21
	netbsd-5-0:1.20.0.38
	netbsd-5-0-RELEASE:1.20
	netbsd-5-0-RC4:1.20
	netbsd-5-0-RC3:1.20
	netbsd-5-0-RC2:1.20
	jym-xensuspend:1.20.0.36
	jym-xensuspend-base:1.21
	netbsd-5-0-RC1:1.20
	netbsd-5:1.20.0.34
	netbsd-5-base:1.20
	matt-mips64-base2:1.20
	matt-mips64:1.20.0.32
	mjf-devfs2:1.20.0.30
	mjf-devfs2-base:1.20
	netbsd-4-0-1-RELEASE:1.20
	wrstuden-revivesa-base-3:1.20
	wrstuden-revivesa-base-2:1.20
	wrstuden-fixsa-newbase:1.20
	wrstuden-revivesa-base-1:1.20
	yamt-pf42-base4:1.20
	yamt-pf42-base3:1.20
	hpcarm-cleanup-nbase:1.20
	yamt-pf42-baseX:1.20
	yamt-pf42-base2:1.20
	wrstuden-revivesa:1.20.0.28
	wrstuden-revivesa-base:1.20
	yamt-pf42:1.20.0.26
	yamt-pf42-base:1.20
	keiichi-mipv6-nbase:1.20
	keiichi-mipv6:1.20.0.24
	keiichi-mipv6-base:1.20
	matt-armv6-nbase:1.20
	matt-armv6-prevmlocking:1.20
	wrstuden-fixsa-base-1:1.20
	netbsd-4-0:1.20.0.22
	netbsd-4-0-RELEASE:1.20
	cube-autoconf:1.20.0.20
	cube-autoconf-base:1.20
	netbsd-4-0-RC5:1.20
	netbsd-4-0-RC4:1.20
	netbsd-4-0-RC3:1.20
	netbsd-4-0-RC2:1.20
	netbsd-4-0-RC1:1.20
	matt-armv6:1.20.0.18
	matt-armv6-base:1.20
	matt-mips64-base:1.20
	hpcarm-cleanup:1.20.0.16
	hpcarm-cleanup-base:1.20
	netbsd-3-1-1-RELEASE:1.20
	netbsd-3-0-3-RELEASE:1.20
	wrstuden-fixsa:1.20.0.14
	wrstuden-fixsa-base:1.20
	abandoned-netbsd-4-base:1.20
	abandoned-netbsd-4:1.20.0.8
	netbsd-3-1:1.20.0.10
	netbsd-3-1-RELEASE:1.20
	netbsd-3-0-2-RELEASE:1.20
	netbsd-3-1-RC4:1.20
	netbsd-3-1-RC3:1.20
	netbsd-3-1-RC2:1.20
	netbsd-3-1-RC1:1.20
	netbsd-4:1.20.0.12
	netbsd-4-base:1.20
	chap-midi-nbase:1.20
	netbsd-3-0-1-RELEASE:1.20
	chap-midi:1.20.0.6
	chap-midi-base:1.20
	netbsd-3-0:1.20.0.4
	netbsd-3-0-RELEASE:1.20
	netbsd-3-0-RC6:1.20
	netbsd-3-0-RC5:1.20
	netbsd-3-0-RC4:1.20
	netbsd-3-0-RC3:1.20
	netbsd-3-0-RC2:1.20
	netbsd-3-0-RC1:1.20
	netbsd-2-0-3-RELEASE:1.19
	netbsd-2-1:1.19.0.6
	netbsd-2-1-RELEASE:1.19
	netbsd-2-1-RC6:1.19
	netbsd-2-1-RC5:1.19
	netbsd-2-1-RC4:1.19
	netbsd-2-1-RC3:1.19
	netbsd-2-1-RC2:1.19
	netbsd-2-1-RC1:1.19
	netbsd-2-0-2-RELEASE:1.19
	netbsd-3:1.20.0.2
	netbsd-3-base:1.20
	netbsd-2-0-1-RELEASE:1.19
	netbsd-2:1.19.0.4
	netbsd-2-base:1.19
	netbsd-2-0-RELEASE:1.19
	netbsd-2-0-RC5:1.19
	netbsd-2-0-RC4:1.19
	netbsd-2-0-RC3:1.19
	netbsd-2-0-RC2:1.19
	netbsd-2-0-RC1:1.19
	netbsd-2-0:1.19.0.2
	netbsd-2-0-base:1.19
	netbsd-1-6-PATCH002-RELEASE:1.12.2.2
	netbsd-1-6-PATCH002:1.12.2.2
	netbsd-1-6-PATCH002-RC4:1.12.2.2
	netbsd-1-6-PATCH002-RC3:1.12.2.2
	netbsd-1-6-PATCH002-RC2:1.12.2.2
	netbsd-1-6-PATCH002-RC1:1.12.2.2
	netbsd-1-6-PATCH001:1.12.2.2
	netbsd-1-6-PATCH001-RELEASE:1.12.2.2
	netbsd-1-6-PATCH001-RC3:1.12.2.2
	netbsd-1-6-PATCH001-RC2:1.12.2.2
	netbsd-1-6-PATCH001-RC1:1.12.2.2
	fvdl_fs64_base:1.14
	netbsd-1-6-RELEASE:1.12.2.2
	netbsd-1-6-RC3:1.12.2.2
	netbsd-1-6-RC2:1.12.2.2
	netbsd-1-6-RC1:1.12.2.2
	netbsd-1-6:1.12.0.2
	netbsd-1-6-base:1.12
	netbsd-1-5-PATCH003:1.11
	netbsd-1-5-PATCH002:1.11
	netbsd-1-5-PATCH001:1.11
	netbsd-1-5-RELEASE:1.11
	netbsd-1-5-BETA2:1.11
	netbsd-1-5-BETA:1.11
	netbsd-1-4-PATCH003:1.10
	netbsd-1-5-ALPHA2:1.11
	netbsd-1-5:1.11.0.4
	netbsd-1-5-base:1.11
	minoura-xpg4dl-base:1.11
	minoura-xpg4dl:1.11.0.2
	netbsd-1-4-PATCH002:1.10
	wrstuden-devbsize-19991221:1.10
	wrstuden-devbsize:1.10.0.6
	wrstuden-devbsize-base:1.10
	comdex-fall-1999:1.10.0.4
	comdex-fall-1999-base:1.10
	netbsd-1-4-PATCH001:1.10
	netbsd-1-4-RELEASE:1.10
	netbsd-1-4:1.10.0.2
	netbsd-1-4-base:1.10
	netbsd-1-3-PATCH003:1.8
	netbsd-1-3-PATCH003-CANDIDATE2:1.8
	netbsd-1-3-PATCH003-CANDIDATE1:1.8
	netbsd-1-3-PATCH003-CANDIDATE0:1.8
	netbsd-1-3-PATCH002:1.8
	netbsd-1-3-PATCH001:1.8
	netbsd-1-3-RELEASE:1.8
	netbsd-1-3-BETA:1.8
	netbsd-1-3:1.8.0.2
	netbsd-1-3-base:1.8
	netbsd-1-2-PATCH001:1.5
	netbsd-1-2-RELEASE:1.5
	netbsd-1-2-BETA:1.5
	netbsd-1-2:1.5.0.6
	netbsd-1-2-base:1.5
	netbsd-1-1-PATCH001:1.5
	netbsd-1-1-RELEASE:1.5
	netbsd-1-1:1.5.0.2
	netbsd-1-1-base:1.5
	lite-2:1.1.1.1
	netbsd-1-0-PATCH06:1.2
	netbsd-1-0-PATCH05:1.2
	netbsd-1-0-PATCH04:1.2
	lite-1:1.1.1.1
	CSRG:1.1.1
	netbsd-1-0-PATCH03:1.2
	netbsd-1-0-PATCH02:1.2
	netbsd-1-0-PATCH1:1.2
	netbsd-1-0-PATCH0:1.2
	netbsd-1-0-RELEASE:1.2
	netbsd-1-0:1.2.0.2
	netbsd-1-0-base:1.2
	netbsd-0-9-RELEASE:1.1
	netbsd-0-9-BETA:1.1
	netbsd-0-9-ALPHA2:1.1
	netbsd-0-9-ALPHA:1.1
	netbsd-0-9:1.1.0.2
	netbsd-0-9-base:1.1
	netbsd-0-8:1.1
	netbsd-alpha-1:1.1;
locks; strict;
comment	@# @;


1.22
date	2014.07.15.13.17.15;	author christos;	state Exp;
branches;
next	1.21;
commitid	Z93A1qo8S6jWytIx;

1.21
date	2009.04.14.22.15.28;	author lukem;	state Exp;
branches
	1.21.12.1
	1.21.22.1;
next	1.20;

1.20
date	2004.04.23.22.14.57;	author christos;	state Exp;
branches
	1.20.36.1;
next	1.19;

1.19
date	2003.10.21.10.01.22;	author lukem;	state Exp;
branches;
next	1.18;

1.18
date	2003.10.19.04.30.30;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	2003.07.10.10.34.45;	author lukem;	state Exp;
branches;
next	1.16;

1.16
date	2003.06.30.19.08.37;	author wiz;	state Exp;
branches;
next	1.15;

1.15
date	2003.05.18.08.20.35;	author lukem;	state Exp;
branches;
next	1.14;

1.14
date	2002.05.30.21.40.50;	author itojun;	state Exp;
branches;
next	1.13;

1.13
date	2002.05.30.10.45.04;	author itojun;	state Exp;
branches;
next	1.12;

1.12
date	2002.01.31.19.32.11;	author tv;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2000.01.23.18.26.14;	author mycroft;	state Exp;
branches;
next	1.10;

1.10
date	99.02.13.02.54.57;	author lukem;	state Exp;
branches;
next	1.9;

1.9
date	98.09.27.17.22.13;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	97.03.27.11.06.20;	author mycroft;	state Exp;
branches;
next	1.7;

1.7
date	97.03.24.21.59.59;	author christos;	state Exp;
branches;
next	1.6;

1.6
date	96.10.18.06.23.43;	author thorpej;	state Exp;
branches;
next	1.5;

1.5
date	94.12.23.21.11.56;	author pk;	state Exp;
branches;
next	1.4;

1.4
date	94.12.22.12.31.23;	author cgd;	state Exp;
branches;
next	1.3;

1.3
date	94.11.17.08.27.58;	author jtc;	state Exp;
branches;
next	1.2;

1.2
date	93.07.30.22.30.17;	author mycroft;	state Exp;
branches;
next	1.1;

1.1
date	93.04.09.13.00.18;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.21.12.1
date	2014.08.20.00.05.05;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.21.22.1
date	2014.08.10.06.59.11;	author tls;	state Exp;
branches;
next	;
commitid	1Hcvc1LQYtGtDMLx;

1.20.36.1
date	2009.05.13.19.20.10;	author jym;	state Exp;
branches;
next	;

1.12.2.1
date	2002.05.30.23.50.57;	author tv;	state Exp;
branches;
next	1.12.2.2;

1.12.2.2
date	2002.05.30.23.59.48;	author tv;	state Exp;
branches;
next	;

1.1.1.1
date	94.11.17.08.09.43;	author jtc;	state Exp;
branches;
next	;


desc
@@


1.22
log
@first attempt at toolification.
@
text
@#	$NetBSD: Makefile,v 1.21 2009/04/14 22:15:28 lukem Exp $
#	@@(#)Makefile	8.1 (Berkeley) 6/9/93

WARNS=6
.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 ${.ALLSRC}
.else
vgrindefs.src.db:
.endif

.include <bsd.prog.mk>
@


1.21
log
@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
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2004/04/23 22:14:57 christos Exp $
d4 1
d17 2
a18 2
FILESDIR=			/usr/share/misc
FILESDIR_tmac.vgrind=		/usr/share/tmac
d39 1
a39 2
	${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f vgrindefs.src \
	    ${.CURDIR}/vgrindefs.src
@


1.21.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
a3 1
WARNS=6
d16 2
a17 2
FILESDIR?=			/usr/share/misc
FILESDIR_tmac.vgrind?=		/usr/share/tmac
d38 2
a39 1
	${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f vgrindefs.src ${.ALLSRC}
@


1.21.22.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2014/07/15 13:17:15 christos Exp $
a3 1
WARNS=6
d16 2
a17 2
FILESDIR?=			/usr/share/misc
FILESDIR_tmac.vgrind?=		/usr/share/tmac
d38 2
a39 1
	${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f vgrindefs.src ${.ALLSRC}
@


1.20
log
@constify, warns = 3
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2003/10/21 10:01:22 lukem Exp $
a5 1
WARNS=	3
@


1.20.36.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2009/04/14 22:15:28 lukem Exp $
d6 1
@


1.19
log
@Rework how MAKEVERBOSE operates:

    *	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2003/10/19 04:30:30 lukem Exp $
d6 1
@


1.18
log
@support MAKEVERBOSE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2003/07/10 10:34:45 lukem Exp $
d37 1
a37 2
	${_MKMSGCREATE}
	${_MKCMD}\
@


1.17
log
@Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2003/06/30 19:08:37 wiz Exp $
d37 2
@


1.16
log
@Adapt to new naming conventions for tmac files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2003/05/18 08:20:35 lukem Exp $
a23 2
CAP_MKDB?=	cap_mkdb

d37 1
a37 1
	${CAP_MKDB} ${CAP_MKDB_ENDIAN} -f vgrindefs.src \
@


1.15
log
@Set CAP_MKDB_ENDIAN to the cap_mkdb(8) endian flag, rather than
overriding TARGET_ENDIANNESS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2002/05/30 21:40:50 itojun Exp $
d18 1
@


1.14
log
@have bsd.endian.mk, which detects target endian.
generate *.db in target endian.  (see tech-userlevel for discussions)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2002/05/30 10:45:04 itojun Exp $
d29 1
a29 1
TARGET_ENDIANNESS=	-l
d31 1
a31 1
TARGET_ENDIANNESS=	-b
d33 1
a33 1
TARGET_ENDIANNESS=
d38 1
a38 1
	${CAP_MKDB} ${TARGET_ENDIANNESS} -f vgrindefs.src \
@


1.13
log
@comment; no need to care about endianness, as DB keys are ascii strings
(modulo possible DB lookup performance issue)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2002/01/31 19:32:11 tv Exp $
d27 9
a35 1
# there's no issue of endianness as DB keys are ascii strings.
d38 2
a39 1
	${CAP_MKDB} -f vgrindefs.src ${.CURDIR}/vgrindefs.src
@


1.12
log
@Make it possible for cap_mkdb to be a host tool.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2000/01/23 18:26:14 mycroft Exp $
d27 1
@


1.12.2.1
log
@Pull up revision 1.13 (requested by itojun in ticket #100):
comment; no need to care about endianness, as DB keys are ascii strings
(modulo possible DB lookup performance issue)
@
text
@d1 1
a1 1
#	$NetBSD$
a26 1
# there's no issue of endianness as DB keys are ascii strings.
@


1.12.2.2
log
@Pull up revision 1.14 (requested by itojun in ticket #100):
have bsd.endian.mk, which detects target endian.
generate *.db in target endian.  (see tech-userlevel for discussions)
@
text
@d27 1
a27 9
.include <bsd.endian.mk>
.if ${TARGET_ENDIANNESS} == "1234"
TARGET_ENDIANNESS=	-l
.elif ${TARGET_ENDIANNESS} == "4321"
TARGET_ENDIANNESS=	-b
.else
TARGET_ENDIANNESS=
.endif

d30 1
a30 2
	${CAP_MKDB} ${TARGET_ENDIANNESS} -f vgrindefs.src \
	    ${.CURDIR}/vgrindefs.src
@


1.11
log
@More .mk file fallout.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1999/02/13 02:54:57 lukem Exp $
d20 4
a23 2
SCRIPTS=vgrind.sh
SCRIPTSDIR=/usr/bin
d29 1
a29 1
	cap_mkdb -f vgrindefs.src ${.CURDIR}/vgrindefs.src
@


1.10
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1998/09/27 17:22:13 lukem Exp $
d23 1
a23 1
all: vfontedpr vgrindefs.src.db
@


1.9
log
@don't install in /usr/share if NOSHARE is defined
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1997/03/27 11:06:20 mycroft Exp $
d4 2
d12 1
a12 1
.if !defined(NOSHARE)
d25 1
a25 1
.if !defined(NOSHARE)
@


1.8
log
@Set SCRIPTSDIR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1997/03/24 21:59:59 christos Exp $
d10 1
d16 1
d23 1
d26 3
@


1.7
log
@- Makefile cleanups
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1996/10/18 06:23:43 thorpej Exp $
d17 1
@


1.6
log
@Use ${INSTALL}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1994/12/23 21:11:56 pk Exp $
d10 8
a21 10

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${.CURDIR}/vgrind.sh ${DESTDIR}/usr/bin/vgrind
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${.CURDIR}/vgrindefs.src ${DESTDIR}/usr/share/misc/vgrindefs
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
	    vgrindefs.src.db ${DESTDIR}/usr/share/misc/vgrindefs.db
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tmac.vgrind \
	    ${DESTDIR}/usr/share/tmac
@


1.5
log
@Don't build .db file at install time.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1994/12/22 12:31:23 cgd Exp $
d16 1
a16 1
	install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
d18 3
a20 3
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/vgrindefs.src \
	    ${DESTDIR}/usr/share/misc/vgrindefs
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
d22 1
a22 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tmac.vgrind \
@


1.4
log
@specify man pages the new way.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1994/11/17 08:27:58 jtc Exp $
d10 5
a15 1
	cap_mkdb -f vgrindefs.src ${.CURDIR}/vgrindefs.src
@


1.3
log
@Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
@
text
@d1 1
a1 1
#	$NetBSD: $
d6 1
a6 2
MAN1=	vgrind.0
MAN5=	vgrindefs.0
@


1.2
log
@Add RCS identifiers.
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.8 (Berkeley) 6/5/90
#	$Id: $
d5 1
a5 1
SRCS=	regexp.c vfontedpr.c vgrindefs.c
d9 1
d12 1
d17 2
@


1.1
log
@added, from net/2 (patch 124).
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.8 (Berkeley) 6/5/90
@


1.1.1.1
log
@imported from 4.4lite
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.1 (Berkeley) 6/9/93
d4 1
a4 1
SRCS=	regexp.c vfontedpr.c
a7 1
CLEANFILES+=vgrindefs.src.db
a9 1
	cap_mkdb -f vgrindefs.src ${.CURDIR}/vgrindefs.src
a13 2
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
	    vgrindefs.src.db ${DESTDIR}/usr/share/misc/vgrindefs.db
@
