diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-04 13:50:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-04 13:50:48 +0000 |
commit | f9da3539ed166d30e0bd797f6e1d7675da1e0359 (patch) | |
tree | 878ce36fcb948741b8696236539a5133a192054b /win32 | |
parent | d6ad092f0efd195878627e72589389e573e66a20 (diff) | |
download | ruby-f9da3539ed166d30e0bd797f6e1d7675da1e0359.tar.gz |
* Makefile.in, */Makefile.sub, mkconfig.rb: keep rbconfig.rb old if
unchanged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index ea3d0512f9..e90a4be83a 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -1,6 +1,7 @@ # -*- makefile -*- SHELL = $(COMSPEC) +MAKEFILES = Makefile $(srcdir)/wince/Makefile.sub #### Start of system configuration section. #### @@ -154,6 +155,8 @@ LIBRUBY_SO = $(RUBY_SO_NAME).dll LIBRUBY = $(RUBY_SO_NAME).lib LIBRUBYARG = $(LIBRUBY) +PREP = miniruby$(EXEEXT) + !if !defined(EXTSTATIC) EXTSTATIC = !endif @@ -209,8 +212,7 @@ SCRIPT_ARGS = "--dest-dir=$(DESTDIR)" \ "--make-flags=$(MAKEFLAGS)" EXTMK_ARGS = $(SCRIPT_ARGS) --extout="$(EXTOUT)" --extension $(EXTS) --extstatic $(EXTSTATIC) -- -all: ext miniruby$(EXEEXT) rbconfig.rb \ - $(LIBRUBY) $(MISCLIBS) +all: ext rbconfig.rb $(LIBRUBY) $(MISCLIBS) @$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) ext: @@ -312,7 +314,7 @@ config.h: #define RUBY_SITE_ARCHLIB "/lib/ruby/site_ruby/$(MAJOR).$(MINOR)/$(ARCH)-$(RT)" <<KEEP -config.status: Makefile $(srcdir)/win32/Makefile.sub +config.status: $(MAKEFILES) @echo Creating <<$@ # Generated automatically by Makefile.sub. s,@SHELL@,$$(COMSPEC),;t t @@ -440,7 +442,7 @@ $(LIBRUBY_SO): $(LIBRUBY_A) $(DLDOBJS) $(RUBYDEF) $*.res $(LIBRUBY_LDSHARED) $(MAINOBJ) $(DLDOBJS) $(LIBRUBY_A) $*.res $(LIBS) \ -Fe$@ $(LDFLAGS) $(LIBRUBY_DLDFLAGS) -$(RUBYDEF): $(LIBRUBY_A) miniruby$(EXEEXT) +$(RUBYDEF): $(LIBRUBY_A) $(PREP) $(MINIRUBY) $(srcdir)/win32/mkexports.rb -output=$@ $(LIBRUBY_A) {$(srcdir)/win32}.def.lib: @@ -531,7 +533,7 @@ extconf: $(MINIRUBY) -run -e mkdir -- -p "$(EXTCONFDIR)" $(RUNRUBY) -C "$(EXTCONFDIR)" $(EXTCONF) $(EXTCONFARGS) -rbconfig.rb: miniruby$(EXEEXT) config.status +rbconfig.rb: $(PREP) config.status @$(MINIRUBY) $(srcdir)/mkconfig.rb -srcdir=$(srcdir) \ -install_name=$(RUBY_INSTALL_NAME) \ -so_name=$(RUBY_SO_NAME) rbconfig.rb |