From f48e1d0fca051d42e03388b3c3c3c8eabe997b35 Mon Sep 17 00:00:00 2001 From: asami Date: Tue, 5 Aug 1997 03:49:49 +0000 Subject: Merge buildworld/installworld patch to Makefile from RELENG_2_2. Patch a couple *.mk files to enable -current world building on really old machines (e.g., 2.1.5). Reviewed by: too many many people to list here, special thanks to bde --- share/mk/bsd.prog.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/mk/bsd.prog.mk') diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 8e39cd4..febc393 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.52 1997/06/28 08:14:10 pst Exp $ +# $Id: bsd.prog.mk,v 1.53 1997/07/31 06:12:04 asami Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -63,7 +63,7 @@ clean: _SUBDIR .endif .endif -.if defined(PROG) +.if defined(PROG) && !defined(NOEXTRADEPEND) _EXTRADEPEND: echo ${PROG}: `${CC} -Wl,-f ${CFLAGS} ${LDFLAGS} ${LDDESTDIR} \ ${LDADD:S/^/-Wl,/}` >> ${DEPENDFILE} -- cgit v1.1