ruby-changes:36542
From: nobu <ko1@a...>
Date: Fri, 28 Nov 2014 05:04:59 +0900 (JST)
Subject: [ruby-changes:36542] nobu:r48624 (trunk): common.mk: INITOBJS
nobu 2014-11-28 05:04:48 +0900 (Fri, 28 Nov 2014) New Revision: 48624 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48624 Log: common.mk: INITOBJS * common.mk (INITOBJS): rename DMYEXT. Modified files: trunk/Makefile.in trunk/common.mk trunk/win32/Makefile.sub Index: common.mk =================================================================== --- common.mk (revision 48623) +++ common.mk (revision 48624) @@ -31,10 +31,10 @@ PLATFORM_D = ./$(PLATFORM_DIR)/.time https://github.com/ruby/ruby/blob/trunk/common.mk#L31 RDOCOUT = $(EXTOUT)/rdoc CAPIOUT = doc/capi -DMYEXT = dmyext.$(OBJEXT) dmyenc.$(OBJEXT) +INITOBJS = dmyext.$(OBJEXT) dmyenc.$(OBJEXT) NORMALMAINOBJ = main.$(OBJEXT) MAINOBJ = $(NORMALMAINOBJ) -DLDOBJS = $(DMYEXT) +DLDOBJS = $(INITOBJS) EXTSOLIBS = MINIOBJS = $(ARCHMINIOBJS) miniinit.$(OBJEXT) miniprelude.$(OBJEXT) ENC_MK = enc.mk @@ -109,7 +109,7 @@ EXPORTOBJS = $(DLNOBJ) \ https://github.com/ruby/ruby/blob/trunk/common.mk#L109 $(COMMONOBJS) OBJS = $(EXPORTOBJS) prelude.$(OBJEXT) -ALLOBJS = $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT) +ALLOBJS = $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(INITOBJS) GOLFOBJS = goruby.$(OBJEXT) golf_prelude.$(OBJEXT) @@ -216,7 +216,7 @@ mini: PHONY miniruby$(EXEEXT) https://github.com/ruby/ruby/blob/trunk/common.mk#L216 $(PROGRAM) $(WPROGRAM): $(LIBRUBY) $(MAINOBJ) $(OBJS) $(EXTOBJS) $(SETUP) $(PREP) -$(LIBRUBY_A): $(OBJS) $(MAINOBJ) $(DTRACE_OBJ) $(DTRACE_GLOMMED_OBJ) $(DMYEXT) $(ARCHFILE) +$(LIBRUBY_A): $(OBJS) $(MAINOBJ) $(DTRACE_OBJ) $(DTRACE_GLOMMED_OBJ) $(INITOBJS) $(ARCHFILE) $(LIBRUBY_SO): $(OBJS) $(DLDOBJS) $(LIBRUBY_A) $(PREP) $(LIBRUBY_SO_UPDATE) $(BUILTIN_ENCOBJS) Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 48623) +++ win32/Makefile.sub (revision 48624) @@ -938,7 +938,7 @@ miniruby: miniruby$(EXEEXT) https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L938 miniruby$(EXEEXT): @echo $(LIBS) $(ECHO) linking $(@:\=/) - $(Q) $(PURIFY) $(CC) $(MAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT) $(LIBS) -Fe$@ -link $(LDFLAGS) + $(Q) $(PURIFY) $(CC) $(MAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(INITOBJS) $(LIBS) -Fe$@ -link $(LDFLAGS) @$(RM) miniruby.lib miniruby.exp $(Q) miniruby.exe -v $(Q) $(LDSHARED_1) @@ -978,9 +978,9 @@ $(STUBPROGRAM): stub.$(OBJEXT) $(LIBRUBY https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L978 $(Q) $(LDSHARED_2) !endif -$(LIBRUBY_A): $(OBJS) $(DMYEXT) +$(LIBRUBY_A): $(OBJS) $(INITOBJS) $(ECHO) linking static-library $(@:\=/) - $(Q) $(AR) $(ARFLAGS)$@ $(OBJS) $(DMYEXT) + $(Q) $(AR) $(ARFLAGS)$@ $(OBJS) $(INITOBJS) $(LIBRUBY): $(RUBYDEF) $(ECHO) linking import-library $(@:\=/) Index: Makefile.in =================================================================== --- Makefile.in (revision 48623) +++ Makefile.in (revision 48624) @@ -201,7 +201,7 @@ all: https://github.com/ruby/ruby/blob/trunk/Makefile.in#L201 miniruby$(EXEEXT): @-if test -f $@; then $(MV) -f $@ $@.old; $(RM) $@.old; fi $(ECHO) linking $@ - $(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT) $(DTRACE_OBJ) $(MAINLIBS) $(LIBS) $(OUTFLAG)$@ + $(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(INITOBJS) $(DTRACE_OBJ) $(MAINLIBS) $(LIBS) $(OUTFLAG)$@ $(PROGRAM): @$(RM) $@ @@ -215,7 +215,7 @@ $(PROGRAM): https://github.com/ruby/ruby/blob/trunk/Makefile.in#L215 $(LIBRUBY_A): @$(RM) $@ $(ECHO) linking static-library $@ - $(Q) $(AR) $(ARFLAGS) $@ $(LIBRUBY_A_OBJS) $(DMYEXT) + $(Q) $(AR) $(ARFLAGS) $@ $(LIBRUBY_A_OBJS) $(INITOBJS) @-$(RANLIB) $@ 2> /dev/null || true $(ECHO) verifying static-library $@ @$(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(LIBRUBY_A) $(MAINLIBS) $(EXTLIBS) $(LIBS) $(OUTFLAG)conftest$(EXEEXT) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/