author | Mike Hommey <mh+mozilla@glandium.org> |
Fri, 25 Feb 2011 15:02:04 +0100 | |
changeset 63464 | 5a2868b3e63b4ff485614fe6e628ceed9ccf03e3 |
parent 63463 | 7a6af03e7ae24ba65db48716274b07b95dc6b707 |
child 63465 | bcb2525312785f41eb9125e17e0ed5a756f7a85f |
push id | 1 |
push user | root |
push date | Tue, 26 Apr 2011 22:38:44 +0000 |
treeherder | mozilla-beta@bfdb6e623a36 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | khuey |
bugs | 584474 |
milestone | 2.0b12pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/accessible/src/Makefile.in +++ b/accessible/src/Makefile.in @@ -69,13 +69,8 @@ ifdef MOZ_XUL DIRS += xul endif ifndef DISABLE_XFORMS_HOOKS DIRS += xforms endif include $(topsrcdir)/config/rules.mk - -GARBAGE += $(LIB_PREFIX)accessibility_toolkit_s.$(LIB_SUFFIX) $(LIB_PREFIX)accessibility_toolkit_s.$(LIB_SUFFIX).fake - -libs:: - $(INSTALL) $(PLATFORM_DIR)/$(LIB_PREFIX)accessibility_toolkit_s.$(LIB_SUFFIX) $(wildcard $(PLATFORM_DIR)/$(LIB_PREFIX)accessibility_toolkit_s.$(LIB_SUFFIX).fake) .
--- a/accessible/src/atk/Makefile.in +++ b/accessible/src/atk/Makefile.in @@ -38,16 +38,17 @@ DEPTH = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = accessibility LIBRARY_NAME = accessibility_toolkit_s +EXPORT_LIBRARY = .. LIBXUL_LIBRARY = 1 CPPSRCS = \ nsAccessNodeWrap.cpp \ nsAccessibleWrap.cpp \ nsDocAccessibleWrap.cpp \ nsRootAccessibleWrap.cpp \
--- a/accessible/src/mac/Makefile.in +++ b/accessible/src/mac/Makefile.in @@ -38,16 +38,17 @@ DEPTH = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = accessibility LIBRARY_NAME = accessibility_toolkit_s +EXPORT_LIBRARY = .. LIBXUL_LIBRARY = 1 CMMSRCS = nsAccessNodeWrap.mm \ nsDocAccessibleWrap.mm \ nsRootAccessibleWrap.mm \ nsAccessibleWrap.mm \
--- a/accessible/src/msaa/Makefile.in +++ b/accessible/src/msaa/Makefile.in @@ -38,16 +38,17 @@ DEPTH = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = accessibility LIBRARY_NAME = accessibility_toolkit_s +EXPORT_LIBRARY = .. LIBXUL_LIBRARY = 1 CPPSRCS = \ nsAccessNodeWrap.cpp \ nsAccessibleWrap.cpp \ nsTextAccessibleWrap.cpp \ nsDocAccessibleWrap.cpp \
--- a/accessible/src/other/Makefile.in +++ b/accessible/src/other/Makefile.in @@ -38,16 +38,17 @@ DEPTH = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = accessibility LIBRARY_NAME = accessibility_toolkit_s +EXPORT_LIBRARY = .. LIBXUL_LIBRARY = 1 CPPSRCS = \ nsAccessNodeWrap.cpp \ nsAccessibleWrap.cpp \ nsRootAccessibleWrap.cpp \ $(NULL)
--- a/config/rules.mk +++ b/config/rules.mk @@ -883,25 +883,34 @@ GLOBAL_DEPS += Makefile Makefile.in $(DE ############################################## ifdef PARALLEL_DIRS libs:: $(PARALLEL_DIRS_libs) $(PARALLEL_DIRS_libs): %_libs: %/Makefile +@$(call SUBMAKE,libs,$*) endif +ifdef EXPORT_LIBRARY +ifeq ($(EXPORT_LIBRARY),1) +ifdef IS_COMPONENT +EXPORT_LIBRARY = $(DEPTH)/staticlib/components +else +EXPORT_LIBRARY = $(DEPTH)/staticlib +endif +else +# If EXPORT_LIBRARY has a value, we'll be installing there. We also need to cleanup there +GARBAGE += $(foreach lib,$(LIBRARY) $(FAKE_LIBRARY),$(EXPORT_LIBRARY)/$(lib)) +endif +endif # EXPORT_LIBRARY + libs:: $(SUBMAKEFILES) $(MAKE_DIRS) $(HOST_LIBRARY) $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(HOST_PROGRAM) $(PROGRAM) $(HOST_SIMPLE_PROGRAMS) $(SIMPLE_PROGRAMS) $(JAVA_LIBRARY) ifndef NO_DIST_INSTALL ifdef LIBRARY ifdef EXPORT_LIBRARY # Stage libs that will be linked into a static build -ifdef IS_COMPONENT - $(INSTALL) $(IFLAGS1) $(LIBRARY) $(FAKE_LIBRARY) $(DEPTH)/staticlib/components -else - $(INSTALL) $(IFLAGS1) $(LIBRARY) $(FAKE_LIBRARY) $(DEPTH)/staticlib -endif + $(INSTALL) $(IFLAGS1) $(LIBRARY) $(FAKE_LIBRARY) $(EXPORT_LIBRARY) endif # EXPORT_LIBRARY ifdef DIST_INSTALL ifdef IS_COMPONENT $(error Shipping static component libs makes no sense.) else $(INSTALL) $(IFLAGS1) $(LIBRARY) $(DIST)/lib endif endif # DIST_INSTALL
--- a/embedding/components/printingui/src/Makefile.in +++ b/embedding/components/printingui/src/Makefile.in @@ -56,11 +56,8 @@ endif ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) PLATFORM_DIR = mac endif DIRS = $(PLATFORM_DIR) include $(topsrcdir)/config/rules.mk - -libs:: - $(INSTALL) $(PLATFORM_DIR)/$(LIB_PREFIX)printingui_s.$(LIB_SUFFIX) $(wildcard $(PLATFORM_DIR)/$(LIB_PREFIX)printingui_s.$(LIB_SUFFIX).fake) .
--- a/embedding/components/printingui/src/mac/Makefile.in +++ b/embedding/components/printingui/src/mac/Makefile.in @@ -39,16 +39,17 @@ DEPTH = ../../../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = embedcomponents LIBRARY_NAME = printingui_s +EXPORT_LIBRARY = .. LIBXUL_LIBRARY = 1 CMMSRCS = nsPrintingPromptServiceX.mm CPPSRCS = \ nsPrintProgressParams.cpp \
--- a/embedding/components/printingui/src/os2/Makefile.in +++ b/embedding/components/printingui/src/os2/Makefile.in @@ -39,16 +39,17 @@ DEPTH = ../../../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = embedcomponents LIBRARY_NAME = printingui_s +EXPORT_LIBRARY = .. LIBXUL_LIBRARY = 1 CPPSRCS = \ nsPrintingPromptService.cpp \ nsPrintProgressParams.cpp \ nsPrintProgress.cpp \ $(NULL)
--- a/embedding/components/printingui/src/unixshared/Makefile.in +++ b/embedding/components/printingui/src/unixshared/Makefile.in @@ -39,16 +39,17 @@ DEPTH = ../../../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = embedcomponents LIBRARY_NAME = printingui_s +EXPORT_LIBRARY = .. LIBXUL_LIBRARY = 1 CPPSRCS = \ nsPrintingPromptService.cpp \ nsPrintProgressParams.cpp \ nsPrintProgress.cpp \ $(NULL)
--- a/embedding/components/printingui/src/win/Makefile.in +++ b/embedding/components/printingui/src/win/Makefile.in @@ -39,16 +39,17 @@ DEPTH = ../../../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = embedcomponents LIBRARY_NAME = printingui_s +EXPORT_LIBRARY = .. LIBXUL_LIBRARY = 1 CPPSRCS = \ nsPrintingPromptService.cpp \ nsPrintProgressParams.cpp \ nsPrintProgress.cpp \ nsPrintDialogUtil.cpp \
--- a/js/src/config/rules.mk +++ b/js/src/config/rules.mk @@ -883,25 +883,34 @@ GLOBAL_DEPS += Makefile Makefile.in $(DE ############################################## ifdef PARALLEL_DIRS libs:: $(PARALLEL_DIRS_libs) $(PARALLEL_DIRS_libs): %_libs: %/Makefile +@$(call SUBMAKE,libs,$*) endif +ifdef EXPORT_LIBRARY +ifeq ($(EXPORT_LIBRARY),1) +ifdef IS_COMPONENT +EXPORT_LIBRARY = $(DEPTH)/staticlib/components +else +EXPORT_LIBRARY = $(DEPTH)/staticlib +endif +else +# If EXPORT_LIBRARY has a value, we'll be installing there. We also need to cleanup there +GARBAGE += $(foreach lib,$(LIBRARY) $(FAKE_LIBRARY),$(EXPORT_LIBRARY)/$(lib)) +endif +endif # EXPORT_LIBRARY + libs:: $(SUBMAKEFILES) $(MAKE_DIRS) $(HOST_LIBRARY) $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(HOST_PROGRAM) $(PROGRAM) $(HOST_SIMPLE_PROGRAMS) $(SIMPLE_PROGRAMS) $(JAVA_LIBRARY) ifndef NO_DIST_INSTALL ifdef LIBRARY ifdef EXPORT_LIBRARY # Stage libs that will be linked into a static build -ifdef IS_COMPONENT - $(INSTALL) $(IFLAGS1) $(LIBRARY) $(FAKE_LIBRARY) $(DEPTH)/staticlib/components -else - $(INSTALL) $(IFLAGS1) $(LIBRARY) $(FAKE_LIBRARY) $(DEPTH)/staticlib -endif + $(INSTALL) $(IFLAGS1) $(LIBRARY) $(FAKE_LIBRARY) $(EXPORT_LIBRARY) endif # EXPORT_LIBRARY ifdef DIST_INSTALL ifdef IS_COMPONENT $(error Shipping static component libs makes no sense.) else $(INSTALL) $(IFLAGS1) $(LIBRARY) $(DIST)/lib endif endif # DIST_INSTALL
--- a/xpcom/reflect/xptcall/src/md/os2/Makefile.in +++ b/xpcom/reflect/xptcall/src/md/os2/Makefile.in @@ -39,16 +39,17 @@ DEPTH = ../../../../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = xpcom LIBRARY_NAME = xptcmd +EXPORT_LIBRARY = ../.. MOZILLA_INTERNAL_API = 1 CPPSRCS = \ ../unix/xptcinvoke_gcc_x86_unix.cpp \ xptcstubs_gcc_x86_os2.cpp \ $(NULL) LOCAL_INCLUDES = \ -I$(srcdir)/../unix \ @@ -64,11 +65,8 @@ include $(topsrcdir)/config/config.mk # we don't want the shared lib, but we want to force the creation of a static lib. FORCE_STATIC_LIB = 1 include $(topsrcdir)/config/rules.mk DEFINES += -DEXPORT_XPTC_API LOCAL_INCLUDES += -I$(srcdir)/../.. - -libs:: $(LIBRARY) - $(INSTALL) $(LIBRARY) $(FAKE_LIBRARY) ../..
--- a/xpcom/reflect/xptcall/src/md/unix/Makefile.in +++ b/xpcom/reflect/xptcall/src/md/unix/Makefile.in @@ -40,16 +40,17 @@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ NO_PROFILE_GUIDED_OPTIMIZE = 1 include $(DEPTH)/config/autoconf.mk MODULE = xpcom LIBRARY_NAME = xptcmd +EXPORT_LIBRARY = ../.. MOZILLA_INTERNAL_API = 1 # # The default is this buildable, but non-functioning code. # CPPSRCS = $(error XPTCall not implemented on this platform!) @@ -568,11 +569,8 @@ xptcstubs_asm_x86_solaris_SUNW.o: $(DIST -e 's/^\(STUB_ENTRY\)(\([0-9][0-9][0-9]\))/\13\(\2\)/' \ $(DIST)/include/xptcstubsdef.inc > ./xptcstubsdef_asm.solx86 $(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) -I./ $(srcdir)/xptcstubs_asm_x86_solaris_SUNW.s endif @rm -f ./xptcstubsdef_asm.solx86 endif endif endif - -libs:: $(LIBRARY) - $(INSTALL) $(LIBRARY) $(FAKE_LIBRARY) ../..
--- a/xpcom/reflect/xptcall/src/md/win32/Makefile.in +++ b/xpcom/reflect/xptcall/src/md/win32/Makefile.in @@ -39,16 +39,17 @@ DEPTH = ../../../../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = xpcom LIBRARY_NAME = xptcmd +EXPORT_LIBRARY = ../.. MOZILLA_INTERNAL_API = 1 # # The default is this buildable, but non-functioning code. # ifdef GNU_CXX CPPSRCS = \ ../unix/xptcinvoke_gcc_x86_unix.cpp \ @@ -106,13 +107,8 @@ endif # we don't want the shared lib, but we want to force the creation of a static lib. FORCE_STATIC_LIB = 1 include $(topsrcdir)/config/rules.mk DEFINES += -DEXPORT_XPTC_API -D_IMPL_NS_COM LOCAL_INCLUDES += -I$(srcdir)/../.. - -GARBAGE += ../../$(LIBRARY) ../../$(FAKE_LIBRARY) - -libs:: $(LIBRARY) - $(INSTALL) $(LIBRARY) $(FAKE_LIBRARY) ../..