Explicitly recurse into gnu/usr.bin/cc34/cc_prep for depend to ensure
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 20 Jun 2004 20:54:09 +0000 (20:54 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 20 Jun 2004 20:54:09 +0000 (20:54 +0000)
that the source tree is prepared for us. This may otherwise fail for
buildworld.

gnu/lib/gcc34/libgcc/Makefile

index 0a9c5c0..b713ce5 100644 (file)
@@ -1,4 +1,4 @@
-# $DragonFly: src/gnu/lib/gcc34/libgcc/Makefile,v 1.1 2004/06/14 22:27:52 joerg Exp $
+# $DragonFly: src/gnu/lib/gcc34/libgcc/Makefile,v 1.2 2004/06/20 20:54:09 joerg Exp $
 
 .include "../Makefile.inc"
 .include "${STOPDIR}/cc_tools/Makefile.tools"
@@ -43,4 +43,10 @@ ${F:R:S/$/.o/}: ${F}
        ${CC} ${CFLAGS} -fnon-call-exceptions -c ${.IMPSRC}
 .endfor
 
+depend: cc_prep
+.ORDER: cc_prep ${SRCS}
+
+cc_prep: .PHONY
+       cd ${STOPDIR}/cc_prep; make depend
+
 .include <bsd.lib.mk>