Commit de309222 authored by simonmar's avatar simonmar
Browse files

[project @ 2002-07-23 11:25:27 by simonmar]

if $(STAMP_PKG_CONF) is non-null, then wait for it before generating
dependencies.  This avoids a race with 'make -j' where package.conf
could get modified while the compiler is reading it.
parent 55079266
...@@ -72,7 +72,13 @@ include $(TOP)/mk/package.mk ...@@ -72,7 +72,13 @@ include $(TOP)/mk/package.mk
# Compiler produced files that are targets of the source's imports. # Compiler produced files that are targets of the source's imports.
MKDEPENDHS_OBJ_SUFFICES=o MKDEPENDHS_OBJ_SUFFICES=o
depend :: $(MKDEPENDHS_SRCS) $(MKDEPENDC_SRCS) ifneq "$(STAMP_PKG_CONF)" ""
PKGCONF_DEP = $(STAMP_PKG_CONF)
else
PKGCONF_DEP =
endif
depend :: $(MKDEPENDHS_SRCS) $(MKDEPENDC_SRCS) $(STAMP_PKG_CONF)
@$(RM) .depend @$(RM) .depend
@touch .depend @touch .depend
ifneq "$(DOC_SRCS)" "" ifneq "$(DOC_SRCS)" ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment