diff --git a/Makefile.in b/Makefile.in index c2490ff522c..7c843b7877f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -45,7 +45,7 @@ libs binaries export tools:: $(topsrcdir)/js/src/configure js/src/config.status endif endif -ifdef BUILDING_JS +ifdef JS_STANDALONE .PHONY: CLOBBER CLOBBER: else @@ -115,7 +115,7 @@ install-manifests: $(addprefix install-dist-,$(install_manifests)) # that would remove the resulting files. # Eventually, a standalone js build would just be able to build nspr itself, # removing the need for the former. -ifdef BUILDING_JS +ifdef JS_STANDALONE NO_REMOVE=1 endif @@ -156,7 +156,7 @@ endif # with no regard for PGO passes. This decision could probably be revisited. export:: install-dist-sdk -ifndef BUILDING_JS +ifndef JS_STANDALONE ifdef ENABLE_TESTS # Additional makefile targets to call automated test suites include $(topsrcdir)/testing/testsuite-targets.mk @@ -200,7 +200,7 @@ endif SYM_STORE_SOURCE_DIRS := $(topsrcdir) -ifndef BUILDING_JS +ifndef JS_STANDALONE include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk ifdef MOZ_SYMBOLS_EXTRA_BUILDID @@ -271,7 +271,7 @@ check:: @relcount=`find $(DIST)/bin -name '*.so' | xargs objdump -R | grep R_386_PC32 | wc -l` && if test $$relcount -gt 0; then echo 'FAILED: R_386_PC32 relocations detected in a shared library. Did you use a system header without adding it to config/system-headers?'; exit 1; else echo 'PASSED'; fi endif -ifdef BUILDING_JS +ifdef JS_STANDALONE # Delegate js-specific rules to js check-%: $(MAKE) -C js/src $@ diff --git a/config/Makefile.in b/config/Makefile.in index 688009acc64..14bfc0d5cf7 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -34,7 +34,7 @@ INSTALL_TARGETS += NSINSTALL endif endif -ifndef BUILDING_JS +ifndef JS_STANDALONE HEADERS_FILES = \ $(DEPTH)/mozilla-config.h \ $(NULL) @@ -49,7 +49,7 @@ include $(topsrcdir)/config/rules.mk HOST_CFLAGS += -DUNICODE -D_UNICODE -ifndef BUILDING_JS +ifndef JS_STANDALONE # Generate a new buildid every time we "export" in config... that's only # supposed to be once per-build! export:: @@ -112,7 +112,7 @@ GARBAGE += \ FORCE: -ifndef BUILDING_JS +ifndef JS_STANDALONE check-preqs += check-jar-mn endif check-preqs += check-makefiles diff --git a/config/recurse.mk b/config/recurse.mk index d36b60477f9..bbf333acafe 100644 --- a/config/recurse.mk +++ b/config/recurse.mk @@ -200,7 +200,6 @@ endif # ifeq (1_.,$(MOZ_PSEUDO_DERECURSE)_$(DEPTH)) ifdef MOZ_PSEUDO_DERECURSE ifeq (.,$(DEPTH)) # top-level directories -ifdef BUILDING_JS ifndef JS_STANDALONE # Only define recurse_targets for js, when it is built as part of gecko. recurse_targets := $(addsuffix /binaries,$(call TIER_DIRS,binaries)) @@ -208,7 +207,6 @@ recurse_targets := $(addsuffix /binaries,$(call TIER_DIRS,binaries)) want_abspaths = 1 endif endif -endif ifdef COMPILE_ENVIRONMENT diff --git a/config/rules.mk b/config/rules.mk index 6dd58deba7c..03ab7a76446 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -359,10 +359,6 @@ ifdef MOZ_UPDATE_XTERM UPDATE_TITLE = printf '\033]0;%s in %s\007' $(1) $(relativesrcdir)/$(2) ; endif -ifdef BUILDING_JS -NO_BUILDSTATUS_MESSAGES=1 -endif - ifdef MACH ifndef NO_BUILDSTATUS_MESSAGES define BUILDSTATUS diff --git a/config/static-checking-config.mk b/config/static-checking-config.mk index c57e2a9c2bb..449a76f9ae0 100644 --- a/config/static-checking-config.mk +++ b/config/static-checking-config.mk @@ -7,7 +7,7 @@ DEHYDRA_SCRIPT = $(topsrcdir)/config/static-checking.js -ifndef BUILDING_JS +ifndef JS_STANDALONE DEHYDRA_MODULES = \ $(topsrcdir)/xpcom/analysis/final.js \ $(topsrcdir)/xpcom/analysis/must-override.js \ diff --git a/js/src/configure.in b/js/src/configure.in index 3d503a8b8a0..f27f5ade0c5 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -167,7 +167,6 @@ else fi AC_SUBST(JS_STANDALONE) BUILDING_JS=1 -AC_SUBST(BUILDING_JS) AC_SUBST(autoconfmk) MOZ_ARG_WITH_STRING(gonk,