1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* Makefile.in (MKPREP): appended $(RBCONFIG).

* common.mk (enc.mk, prelude.c): not depend on $(RBCONFIG) on mswin32
  to get of compiling twice each time.

* win32/Makefile.sub (prelude.c): not depend on $(PREP).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-05-28 08:41:52 +00:00
parent 72eb7e2a41
commit 23c2cf545c
4 changed files with 13 additions and 12 deletions

View file

@ -1,3 +1,12 @@
Wed May 28 17:41:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* Makefile.in (MKPREP): appended $(RBCONFIG).
* common.mk (enc.mk, prelude.c): not depend on $(RBCONFIG) on mswin32
to get of compiling twice each time.
* win32/Makefile.sub (prelude.c): not depend on $(PREP).
Wed May 28 17:37:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/mkexports.rb (Exports::Mswin#each_export): speed up.

View file

@ -205,4 +205,4 @@ distclean-local::
ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c
MKPREP = $(PREP)
MKPREP = $(PREP) $(RBCONFIG)

View file

@ -377,7 +377,7 @@ encs: enc.mk $(LIBRUBY)
$(MAKE) -f enc.mk $(MFLAGS)
enc.mk: $(srcdir)/enc/make_encmake.rb $(srcdir)/enc/Makefile.in $(srcdir)/enc/depend \
$(srcdir)/lib/mkmf.rb $(MKPREP) $(RBCONFIG)
$(srcdir)/lib/mkmf.rb $(MKPREP)
$(MINIRUBY) $(srcdir)/enc/make_encmake.rb --builtin-encs="$(BUILTIN_ENCOBJS)" $@
.PRECIOUS: $(MKFILES)
@ -742,12 +742,12 @@ transdb.h: $(PREP)
miniprelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $@
prelude.c: $(srcdir)/tool/compile_prelude.rb $(PRELUDE_SCRIPTS) $(MKPREP) $(RBCONFIG)
prelude.c: $(srcdir)/tool/compile_prelude.rb $(PRELUDE_SCRIPTS) $(MKPREP)
$(MINIRUBY) -I$(srcdir) -rrbconfig $(srcdir)/tool/compile_prelude.rb \
$(PRELUDE_SCRIPTS) $@.new
$(IFCHANGE) "$@" "$@.new"
golf_prelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/golf_prelude.rb $(MKPREP) $(RBCONFIG)
golf_prelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/golf_prelude.rb $(MKPREP)
$(MINIRUBY) -I$(srcdir) -rrbconfig $(srcdir)/tool/compile_prelude.rb $(srcdir)/golf_prelude.rb $@.new
$(IFCHANGE) "$@" "$@.new"

View file

@ -752,11 +752,3 @@ dir.$(OBJEXT) win32.$(OBJEXT): {$(srcdir)}win32/dir.h
ext/extinit.obj: ext/extinit.c $(SETUP)
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c
!if !exist(prelude.c)
prelude.c: $(PREP)
!endif
!if !exist(golf_prelude.c)
golf_prelude.c: $(PREP)
!endif