зеркало из https://github.com/mozilla/gecko-dev.git
Bug 462272: Record dependency on generated header javascript-trace.h, r=mrbkap, NPOB
Record object files' dependency on javascript-trace.h, when HAVE_DTRACE is set. Use $(CURDIR) where javascript-trace.h appears as a target or dependency, to ensure that VPATH doesn't cause us to use a copy other than the one in the object directory.
This commit is contained in:
Родитель
fe94462ac9
Коммит
369bf05488
|
@ -263,7 +263,7 @@ endif
|
|||
ifdef HAVE_DTRACE
|
||||
INSTALLED_HEADERS += \
|
||||
jsdtracef.h \
|
||||
javascript-trace.h \
|
||||
$(CURDIR)/javascript-trace.h \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
|
@ -651,8 +651,10 @@ jsautooplen.h: host_jsoplengen$(HOST_BIN_SUFFIX)
|
|||
$(CPPSRCS:%.cpp=%.$(OBJ_SUFFIX)): jsautokw.h jsautooplen.h
|
||||
|
||||
ifdef HAVE_DTRACE
|
||||
javascript-trace.h: $(srcdir)/javascript-trace.d
|
||||
$(CURDIR)/javascript-trace.h: $(srcdir)/javascript-trace.d
|
||||
dtrace -h -s $(srcdir)/javascript-trace.d -o javascript-trace.h.in
|
||||
sed 's/if _DTRACE_VERSION/ifdef INCLUDE_MOZILLA_DTRACE/' \
|
||||
javascript-trace.h.in > javascript-trace.h
|
||||
|
||||
$(CPPSRCS:%.cpp=%.$(OBJ_SUFFIX)): $(CURDIR)/javascript-trace.h
|
||||
endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче