diff options
-rw-r--r-- | share/mk/bsd.dep.mk | 5 | ||||
-rw-r--r-- | share/mk/bsd.lib.mk | 4 | ||||
-rw-r--r-- | share/mk/bsd.prog.mk | 4 | ||||
-rw-r--r-- | share/mk/bsd.sgml.mk | 4 |
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) |