diff options
author | eivind <eivind@FreeBSD.org> | 1998-03-12 20:02:17 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-03-12 20:02:17 +0000 |
commit | 4e506c209b6eb53854933be0c1f53c26e9172680 (patch) | |
tree | eaecd5756c5c27fbb95c179a548c7d8034b20efb | |
parent | a7622141981320b9270201031c72c1c5759388b5 (diff) | |
download | FreeBSD-src-4e506c209b6eb53854933be0c1f53c26e9172680.zip FreeBSD-src-4e506c209b6eb53854933be0c1f53c26e9172680.tar.gz |
Introduce the 'regress' target.
Silently approved by: -hackers, -current
-rw-r--r-- | share/mk/bsd.doc.mk | 6 | ||||
-rw-r--r-- | share/mk/bsd.info.mk | 6 | ||||
-rw-r--r-- | share/mk/bsd.kmod.mk | 8 | ||||
-rw-r--r-- | share/mk/bsd.lib.mk | 6 | ||||
-rw-r--r-- | share/mk/bsd.prog.mk | 6 | ||||
-rw-r--r-- | share/mk/bsd.subdir.mk | 4 | ||||
-rw-r--r-- | sys/conf/kmod.mk | 8 |
7 files changed, 36 insertions, 8 deletions
diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk index 7d3b3d4..96fa37f 100644 --- a/share/mk/bsd.doc.mk +++ b/share/mk/bsd.doc.mk @@ -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> diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk index 7a1e009..f5426d5 100644 --- a/share/mk/bsd.info.mk +++ b/share/mk/bsd.info.mk @@ -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> diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk index 581b012..20d03c5 100644 --- a/share/mk/bsd.kmod.mk +++ b/share/mk/bsd.kmod.mk @@ -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> diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index e14143b..2a3118c 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -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 diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 52e7917..5060a3f 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -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 diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk index 3636ae7..43d0f58 100644 --- a/share/mk/bsd.subdir.mk +++ b/share/mk/bsd.subdir.mk @@ -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 diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 581b012..20d03c5 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -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> |