summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-05-04 23:35:34 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-05-04 23:35:34 +0000
commita3d50b0f16e80c9ab3afdabc9bff3bac248a711e (patch)
tree3fdcfb9040c8e428f79b92336f5dfa22ca7ee4a2
parent524fbdde37c1f9f4447e049b98046e014e00d518 (diff)
Change clean/depend targets to allow inclusion of Makefile.inc
where there is already a depend: target.
-rw-r--r--sys/lib/libsa/Makefile.inc8
-rw-r--r--sys/lib/libz/Makefile.inc6
2 files changed, 8 insertions, 6 deletions
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