[project @ 2003-07-23 15:25:32 by simonmar]
authorsimonmar <unknown>
Wed, 23 Jul 2003 15:25:32 +0000 (15:25 +0000)
committersimonmar <unknown>
Wed, 23 Jul 2003 15:25:32 +0000 (15:25 +0000)
Something strange was going on with the depend rule and
$(STAMP_PKG_CONF); fix it.

mk/target.mk

index b0fce7c..338c8cf 100644 (file)
@@ -77,13 +77,11 @@ include $(TOP)/mk/suffix.mk
 # Compiler produced files that are targets of the source's imports.
 MKDEPENDHS_OBJ_SUFFICES=o
 
-ifneq "$(STAMP_PKG_CONF)" ""
+ifneq "$(BootingFromHc)" "YES"
 PKGCONF_DEP = $(STAMP_PKG_CONF)
-else
-PKGCONF_DEP =
 endif
 
-depend :: $(MKDEPENDHS_SRCS) $(MKDEPENDC_SRCS) $(STAMP_PKG_CONF)
+depend :: $(MKDEPENDHS_SRCS) $(MKDEPENDC_SRCS) $(PKGCONF_DEP)
        @$(RM) .depend
        @touch .depend
 ifneq "$(DOC_SRCS)" ""