Change clean/depend targets to allow inclusion of Makefile.inc
authormillert <millert@openbsd.org>
Sun, 4 May 1997 23:35:32 +0000 (23:35 +0000)
committermillert <millert@openbsd.org>
Sun, 4 May 1997 23:35:32 +0000 (23:35 +0000)
where there is already a depend: target.

sys/lib/libsa/Makefile.inc
sys/lib/libz/Makefile.inc

index d45b9d2..14a4ce3 100644 (file)
@@ -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
 
index e7e9ff0..574d846 100644 (file)
@@ -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