More tweaks for make depend under autoconf.
This commit is contained in:
Родитель
77a75c0900
Коммит
bbba70cdf8
|
@ -788,10 +788,17 @@ ifneq (,$(filter-out OS2 WINNT,$(OS_ARCH)))
|
|||
$(MKDEPENDENCIES)::
|
||||
@$(MAKE_OBJDIR)
|
||||
touch $(MKDEPENDENCIES)
|
||||
ifdef USE_AUTOCONF
|
||||
$(MKDEPEND) -p$(OBJDIR_NAME)/ -o'.o' -f$(MKDEPENDENCIES) $(INCLUDES) $(a
|
||||
ddprefix $(srcdir)/,$(CSRCS) $(CPPSRCS))
|
||||
@mv depend.mk depend.mk.old && cat depend.mk.old | sed "s|^$(OBJDIR_NAME
|
||||
)/$(srcdir)/|$(OBJDIR_NAME)/|g" > depend.mk && rm -f depend.mk.old
|
||||
else
|
||||
$(MKDEPEND) -p$(OBJDIR_NAME)/ -o'.o' -f$(MKDEPENDENCIES) $(INCLUDES) $(CSRCS) $(CPPSRCS)
|
||||
endif
|
||||
|
||||
$(MKDEPEND)::
|
||||
cd $(DEPTH)/config; $(MAKE) nsinstall
|
||||
cd $(DEPTH)/config; $(MAKE) nsinstall tweak_nspr
|
||||
cd $(MKDEPEND_DIR); $(MAKE)
|
||||
|
||||
# Rules to for detection
|
||||
|
|
Загрузка…
Ссылка в новой задаче