summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-08-23 22:33:33 +0000
committerjkh <jkh@FreeBSD.org>1996-08-23 22:33:33 +0000
commit4a6f54f391cee4d1a7c50b6aa3d75c0dab417c49 (patch)
treef1b75da327be8bb1db7daf82e71351e563ca7f6f
parent748de7f8e2f2c68bbda11c0c0678c39fef50caad (diff)
downloadFreeBSD-src-4a6f54f391cee4d1a7c50b6aa3d75c0dab417c49.zip
FreeBSD-src-4a6f54f391cee4d1a7c50b6aa3d75c0dab417c49.tar.gz
Make it possible to turn the depend pass off entirely with a NO_DEPEND
variable. Requested-By: wollman
-rw-r--r--share/mk/bsd.dep.mk5
-rw-r--r--share/mk/bsd.lib.mk4
-rw-r--r--share/mk/bsd.prog.mk4
-rw-r--r--share/mk/bsd.sgml.mk4
4 files changed, 10 insertions, 7 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index 15f7297..a5e4518 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -1,4 +1,4 @@
-# $Id: bsd.dep.mk,v 1.5 1996/06/24 04:23:52 jkh Exp $
+# $Id: bsd.dep.mk,v 1.6 1996/07/27 22:16:54 jkh Exp $
#
# The include file <bsd.dep.mk> handles Makefile dependencies.
#
@@ -27,6 +27,9 @@
# Create a tags file for the source files.
#
+.if !defined(NO_DEPEND)
+DEPEND?= depend
+.endif
MKDEPCMD?= mkdep
DEPENDFILE?= .depend
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index a3c74e3..2f8864b 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.39 1996/08/11 12:24:44 peter Exp $
+# $Id: bsd.lib.mk,v 1.40 1996/08/23 16:48:57 jkh Exp $
#
.if exists(${.CURDIR}/../Makefile.inc)
@@ -121,7 +121,7 @@ _LIBS+=lib${LIB}_pic.a
PICFLAG=-fpic
.endif
-all: depend ${_LIBS} all-man _SUBDIR # llib-l${LIB}.ln
+all: ${DEPEND} ${_LIBS} all-man _SUBDIR # llib-l${LIB}.ln
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 0bba36b..2f27935 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.35 1996/06/29 03:12:49 phk Exp $
+# $Id: bsd.prog.mk,v 1.36 1996/08/23 16:49:02 jkh Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@@ -135,7 +135,7 @@ MAN1= ${PROG}.1
# here (or does maninstall always work when nothing is made?),
.MAIN: all
-all: depend ${PROG} all-man _SUBDIR
+all: ${DEPEND} ${PROG} all-man _SUBDIR
.if !target(clean)
clean: _SUBDIR
diff --git a/share/mk/bsd.sgml.mk b/share/mk/bsd.sgml.mk
index aabfbad..4a1d97b 100644
--- a/share/mk/bsd.sgml.mk
+++ b/share/mk/bsd.sgml.mk
@@ -1,7 +1,7 @@
# bsd.sgml.mk - 8 Sep 1995 John Fieber
# This file is in the public domain.
#
-# $Id: bsd.sgml.mk,v 1.6 1996/06/24 04:24:14 jkh Exp $
+# $Id: bsd.sgml.mk,v 1.7 1996/08/23 16:49:06 jkh Exp $
#
# The include file <bsd.sgml.mk> handles installing sgml documents.
# <bsd.prog.mk> includes the file named "../Makefile.inc" if it exists,
@@ -68,7 +68,7 @@ LPR?= lpr
DOCS= ${FORMATS:S/^/${DOC}./g}
.MAIN: all
-all: depend ${DOCS}
+all: ${DOCS}
# If FORMATS is empty, do nothing
.if empty(FORMATS)
OpenPOWER on IntegriCloud