зеркало из https://github.com/mozilla/gecko-dev.git
Neaten up the handling of configure script regeneration in client.mk.
Add a new 'configure-files' target, just for updating autoconf-generated files.
This commit is contained in:
Родитель
4579219e06
Коммит
29d3d1d847
16
client.mk
16
client.mk
|
@ -162,6 +162,7 @@ endif
|
||||||
|
|
||||||
endif # MOZ_BUILD_PROJECTS
|
endif # MOZ_BUILD_PROJECTS
|
||||||
|
|
||||||
|
# 'configure' scripts generated by autoconf.
|
||||||
CONFIGURES := $(TOPSRCDIR)/configure
|
CONFIGURES := $(TOPSRCDIR)/configure
|
||||||
CONFIGURES += $(TOPSRCDIR)/nsprpub/configure
|
CONFIGURES += $(TOPSRCDIR)/nsprpub/configure
|
||||||
|
|
||||||
|
@ -274,20 +275,15 @@ EXTRA_CONFIG_DEPS := \
|
||||||
$(wildcard $(TOPSRCDIR)/build/autoconf/*.m4) \
|
$(wildcard $(TOPSRCDIR)/build/autoconf/*.m4) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
$(TOPSRCDIR)/configure: $(TOPSRCDIR)/configure.in $(EXTRA_CONFIG_DEPS)
|
$(CONFIGURES): %: %.in $(EXTRA_CONFIG_DEPS)
|
||||||
@echo Generating $@ using autoconf
|
@echo Generating $@ using autoconf
|
||||||
cd $(TOPSRCDIR); $(AUTOCONF)
|
cd $(@D); $(AUTOCONF)
|
||||||
|
|
||||||
$(TOPSRCDIR)/nsprpub/configure: $(TOPSRCDIR)/nsprpub/configure.in $(EXTRA_CONFIG_DEPS)
|
|
||||||
@echo Generating $@ using autoconf
|
|
||||||
cd $(TOPSRCDIR)/nsprpub; $(AUTOCONF)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CONFIG_STATUS_DEPS := \
|
CONFIG_STATUS_DEPS := \
|
||||||
$(TOPSRCDIR)/configure \
|
$(wildcard $(CONFIGURES)) \
|
||||||
$(TOPSRCDIR)/allmakefiles.sh \
|
$(TOPSRCDIR)/allmakefiles.sh \
|
||||||
$(TOPSRCDIR)/.mozconfig.mk \
|
$(TOPSRCDIR)/.mozconfig.mk \
|
||||||
$(wildcard $(TOPSRCDIR)/nsprpub/configure) \
|
|
||||||
$(wildcard $(TOPSRCDIR)/directory/c-sdk/configure) \
|
$(wildcard $(TOPSRCDIR)/directory/c-sdk/configure) \
|
||||||
$(wildcard $(TOPSRCDIR)/config/milestone.txt) \
|
$(wildcard $(TOPSRCDIR)/config/milestone.txt) \
|
||||||
$(wildcard $(TOPSRCDIR)/config/chrome-versions.sh) \
|
$(wildcard $(TOPSRCDIR)/config/chrome-versions.sh) \
|
||||||
|
@ -307,7 +303,9 @@ ifdef MOZ_TOOLS
|
||||||
CONFIGURE = $(TOPSRCDIR)/configure
|
CONFIGURE = $(TOPSRCDIR)/configure
|
||||||
endif
|
endif
|
||||||
|
|
||||||
configure:: $(CONFIGURES)
|
configure-files: $(CONFIGURES)
|
||||||
|
|
||||||
|
configure:: configure-files
|
||||||
ifdef MOZ_BUILD_PROJECTS
|
ifdef MOZ_BUILD_PROJECTS
|
||||||
@if test ! -d $(MOZ_OBJDIR); then $(MKDIR) $(MOZ_OBJDIR); else true; fi
|
@if test ! -d $(MOZ_OBJDIR); then $(MKDIR) $(MOZ_OBJDIR); else true; fi
|
||||||
endif
|
endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче