From: millert Date: Sun, 4 May 1997 23:35:32 +0000 (+0000) Subject: Change clean/depend targets to allow inclusion of Makefile.inc X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2e4e47af8027d0c89d7405314ad3ea6a4e836633;p=openbsd Change clean/depend targets to allow inclusion of Makefile.inc where there is already a depend: target. --- diff --git a/sys/lib/libsa/Makefile.inc b/sys/lib/libsa/Makefile.inc index d45b9d2710b..14a4ce3937a 100644 --- a/sys/lib/libsa/Makefile.inc +++ b/sys/lib/libsa/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.5 1997/02/06 14:22:32 mickey Exp $ +# $OpenBSD: Makefile.inc,v 1.6 1997/05/04 23:35:32 millert Exp $ # $NetBSD: Makefile.inc,v 1.5 1996/09/30 16:01:18 ws Exp $ # # NOTE: $S must correspond to the top of the 'sys' tree @@ -28,11 +28,13 @@ ${SALIB}: .NOTMAIN __always_make_salib @echo making sure the stand-alone library is up to date... @${SAMAKE} libsa.a -clean:: .NOTMAIN __always_make_salib +clean: .NOTMAIN cleansalib +cleansalib: .NOTMAIN __always_make_salib @echo cleaning the stand-alone library objects @${SAMAKE} clean -depend:: .NOTMAIN __always_make_salib +depend: .NOTMAIN dependsalib +dependsalib: .NOTMAIN __always_make_salib @echo depending the standalone library objects @${SAMAKE} depend diff --git a/sys/lib/libz/Makefile.inc b/sys/lib/libz/Makefile.inc index e7e9ff05b37..574d8464f55 100644 --- a/sys/lib/libz/Makefile.inc +++ b/sys/lib/libz/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.3 1997/04/03 13:01:40 briggs Exp $ +# $OpenBSD: Makefile.inc,v 1.4 1997/05/04 23:35:33 millert Exp $ # $NetBSD: Makefile.inc,v 1.2 1997/01/23 22:29:09 cgd Exp $ # # Configuration variables (default values are below): @@ -52,7 +52,7 @@ ${ZLIB_PROF}: .NOTMAIN __always_make_zlib @${ZMAKE} libz.po .endif -clean:: .NOTMAIN cleanzlib +clean: .NOTMAIN cleanzlib cleanzlib: .NOTMAIN __always_make_zlib @echo cleaning the z library objects @${ZMAKE} clean @@ -62,7 +62,7 @@ cleandirzlib: .NOTMAIN __always_make_zlib @echo cleandiring the z library objects @${ZMAKE} cleandir -depend:: .NOTMAIN dependzlib +depend: .NOTMAIN dependzlib dependzlib: .NOTMAIN __always_make_zlib @echo depending the z library objects @${ZMAKE} depend