diff --git a/Makefile.in b/Makefile.in index 66da95c0b1d..ca1a3c9e4b2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -158,20 +158,20 @@ endif ifdef MOZ_PROFILE_USE ifndef NO_PROFILE_GUIDED_OPTIMIZE ifneq ($(OS_ARCH)_$(GNU_CC), WINNT_) -export:: install-manifests +recurse_pre-export:: install-manifests binaries:: @$(MAKE) install-manifests NO_REMOVE=1 install_manifests=dist/include endif endif else # !MOZ_PROFILE_USE (normal build) -export:: install-manifests +recurse_pre-export:: install-manifests binaries:: @$(MAKE) install-manifests NO_REMOVE=1 install_manifests=dist/include endif # For historical reasons that are unknown, $(DIST)/sdk is always blown away # with no regard for PGO passes. This decision could probably be revisited. -export:: install-dist/sdk +recurse_pre-export:: install-dist/sdk ifndef JS_STANDALONE ifdef ENABLE_TESTS diff --git a/config/baseconfig.mk b/config/baseconfig.mk index 76e1f76705d..a125466abf7 100644 --- a/config/baseconfig.mk +++ b/config/baseconfig.mk @@ -45,7 +45,7 @@ endif # WINNT ifndef INCLUDED_AUTOCONF_MK default:: else -TIERS := export $(if $(COMPILE_ENVIRONMENT),compile )misc libs tools +TIERS := pre-export export $(if $(COMPILE_ENVIRONMENT),compile )misc libs tools endif # These defines are used to support the twin-topsrcdir model for comm-central.