Introduce the 'regress' target.

Silently approved by:	-hackers, -current
This commit is contained in:
Eivind Eklund 1998-03-12 20:02:17 +00:00
parent 57a0e7b124
commit 69b87d3e06
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34528
7 changed files with 36 additions and 8 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91
# $Id: bsd.doc.mk,v 1.41 1997/11/09 15:03:11 wosch Exp $
# $Id: bsd.doc.mk,v 1.42 1998/02/25 01:35:16 bde Exp $
#
# The include file <bsd.doc.mk> handles installing BSD troff documents.
#
@ -174,5 +174,9 @@ depend:
maninstall:
.endif
.if !target(regress)
regress:
.endif
.include <bsd.dep.mk>
.include <bsd.obj.mk>

View File

@ -1,4 +1,4 @@
# $Id: bsd.info.mk,v 1.47 1997/12/16 18:29:48 bde Exp $
# $Id: bsd.info.mk,v 1.48 1997/12/26 00:19:23 jkh Exp $
#
# The include file <bsd.info.mk> handles installing GNU (tech)info files.
# Texinfo is a documentation system that uses a single source
@ -213,5 +213,9 @@ install:
maninstall: _SUBDIR
.endif
.if !target(regress)
regress:
.endif
.include <bsd.dep.mk>
.include <bsd.obj.mk>

View File

@ -1,5 +1,5 @@
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
# $Id: bsd.kmod.mk,v 1.45 1998/03/06 05:43:46 bde Exp $
# $Id: bsd.kmod.mk,v 1.46 1998/03/06 07:28:01 bde Exp $
#
# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
#
@ -232,6 +232,12 @@ KERN= ${.CURDIR}/../../sys/kern
vnode_if.h: ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
sh ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
_sysregress: ${_INLINKS} ${PROG}
ld -A /sys/compile/LKM/kernel ${PROG} ${DEPLKMS} -o lkm_verify_tmp
rm lkm_verify_tmp
regress: _sysregress
.include <bsd.obj.mk>
.include <bsd.dep.mk>

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
# $Id: bsd.lib.mk,v 1.68 1998/03/06 08:08:36 bde Exp $
# $Id: bsd.lib.mk,v 1.69 1998/03/07 13:13:41 bde Exp $
#
.if exists(${.CURDIR}/../Makefile.inc)
@ -292,6 +292,10 @@ afterinstall: realinstall
.endif
.endif
.if !target(regress)
regress:
.endif
DISTRIBUTION?= bin
.if !target(distribute)
distribute: _SUBDIR

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
# $Id: bsd.prog.mk,v 1.64 1998/03/06 06:48:39 bde Exp $
# $Id: bsd.prog.mk,v 1.65 1998/03/06 07:28:01 bde Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@ -145,6 +145,10 @@ maninstall:
all-man:
.endif
.if !target(regress)
regress:
.endif
.if ${BINFORMAT} != aout || make(checkdpadd)
.include <bsd.libnames.mk>
.endif

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
# $Id: bsd.subdir.mk,v 1.18 1997/06/21 15:40:34 jkh Exp $
# $Id: bsd.subdir.mk,v 1.19 1997/11/15 13:09:52 wosch Exp $
#
# The include file <bsd.subdir.mk> contains the default targets
# for building subdirectories. It has the same seven targets
@ -58,7 +58,7 @@ ${SUBDIR}::
.for __target in all checkdpadd clean cleandir depend lint \
maninstall obj objlink
maninstall obj objlink regress
.if !target(${__target})
${__target}: _SUBDIRUSE
.endif

View File

@ -1,5 +1,5 @@
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
# $Id: bsd.kmod.mk,v 1.45 1998/03/06 05:43:46 bde Exp $
# $Id: bsd.kmod.mk,v 1.46 1998/03/06 07:28:01 bde Exp $
#
# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
#
@ -232,6 +232,12 @@ KERN= ${.CURDIR}/../../sys/kern
vnode_if.h: ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
sh ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
_sysregress: ${_INLINKS} ${PROG}
ld -A /sys/compile/LKM/kernel ${PROG} ${DEPLKMS} -o lkm_verify_tmp
rm lkm_verify_tmp
regress: _sysregress
.include <bsd.obj.mk>
.include <bsd.dep.mk>