Make it possible to turn the depend pass off entirely with a NO_DEPEND
variable. Requested-By: wollman
This commit is contained in:
parent
1c1f145f2b
commit
67cebbd1da
@ -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
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user