ruby-changes:37404
From: ngoto <ko1@a...>
Date: Tue, 3 Feb 2015 19:43:43 +0900 (JST)
Subject: [ruby-changes:37404] ngoto:r49485 (trunk): * common.mk (ruby-glommed.o): dependency on $(OBJ) should be written
ngoto 2015-02-03 19:43:27 +0900 (Tue, 03 Feb 2015) New Revision: 49485 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49485 Log: * common.mk (ruby-glommed.o): dependency on $(OBJ) should be written in common.mk (in which OBJ is defined) because of Makefile include and parse order. This partly reverts r49419. [ruby-dev:48849] [Bug #10808] * Makefile.in (ruby-glommed.o): ditto. * Makefile.in (ruby-glommed.o): remove excess $(DTRACE_OBJ) because it is included in $(OBJS) since r49451. * Makefile.in (probes.o): should depend on $(DTRACE_DEPENDENT_OBJS) Modified files: trunk/ChangeLog trunk/Makefile.in trunk/common.mk Index: ChangeLog =================================================================== --- ChangeLog (revision 49484) +++ ChangeLog (revision 49485) @@ -1,3 +1,17 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Feb 3 19:27:16 2015 Naohisa Goto <ngotogenome@g...> + + * common.mk (ruby-glommed.o): dependency on $(OBJ) should be written + in common.mk (in which OBJ is defined) because of Makefile include + and parse order. This partly reverts r49419. + [ruby-dev:48849] [Bug #10808] + + * Makefile.in (ruby-glommed.o): ditto. + + * Makefile.in (ruby-glommed.o): remove excess $(DTRACE_OBJ) because + it is included in $(OBJS) since r49451. + + * Makefile.in (probes.o): should depend on $(DTRACE_DEPENDENT_OBJS) + Tue Feb 3 17:15:45 2015 Nobuyoshi Nakada <nobu@r...> * lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): get rid of Index: common.mk =================================================================== --- common.mk (revision 49484) +++ common.mk (revision 49485) @@ -713,6 +713,8 @@ verconf.h: $(srcdir)/template/verconf.h. https://github.com/ruby/ruby/blob/trunk/common.mk#L713 $(ECHO) creating $@ $(Q) $(MINIRUBY) "$(srcdir)/tool/generic_erb.rb" -o $@ $(srcdir)/template/verconf.h.tmpl +ruby-glommed.$(OBJEXT): $(OBJS) + $(OBJS): {$(VPATH)}config.h {$(VPATH)}missing.h INSNS2VMOPT = --srcdir="$(srcdir)" Index: Makefile.in =================================================================== --- Makefile.in (revision 49484) +++ Makefile.in (revision 49485) @@ -382,7 +382,7 @@ enc/jis/props.h: enc/jis/props.kwd https://github.com/ruby/ruby/blob/trunk/Makefile.in#L382 @$(ECHO) copying dummy $(DEST_FILE) $(Q) $(CP) $(OS_SRC_FILE) $(OS_DEST_FILE) -probes.@OBJEXT@: $(srcdir)/probes.d +probes.@OBJEXT@: $(srcdir)/probes.d $(DTRACE_DEPENDENT_OBJS) @$(ECHO) processing probes in object files $(Q) stamp="$*.stamp"; \ if test -f "$$stamp" -o -f "$@"; then \ @@ -398,9 +398,9 @@ probes.@OBJEXT@: $(srcdir)/probes.d https://github.com/ruby/ruby/blob/trunk/Makefile.in#L398 # DTrace static library hacks described here: # http://mail.opensolaris.org/pipermail/dtrace-discuss/2005-August/000207.html -ruby-glommed.$(OBJEXT): $(OBJS) $(DTRACE_OBJ) +ruby-glommed.$(OBJEXT): @$(ECHO) generating a glommed object with DTrace probes for static library - $(Q) $(LD) -r -o $@ $(OBJS) $(DTRACE_OBJ) + $(Q) $(LD) -r -o $@ $(OBJS) clean-local:: $(Q)$(RM) ext/extinit.c ext/extinit.$(OBJEXT) ext/ripper/y.output \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/