diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-23 02:17:37 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-23 02:17:37 +0000 |
| commit | debd74a68076eecfdcaf788d5467d62717e3f66f (patch) | |
| tree | b97a7bec6937b72f4bb94e3351ddea6d4ab57674 /bcc32 | |
| parent | 5ca882ec08224705d5f1ba9c606318c018971a2b (diff) | |
* Makefile.in, common.mk, {win,bcc}32/Makefile.sub (revision.h): auto
update. [ruby-core:17373]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32')
| -rw-r--r-- | bcc32/Makefile.sub | 6 | ||||
| -rw-r--r-- | bcc32/setup.mak | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index 713b5c69df..651107dee9 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -61,6 +61,7 @@ AR = tlib PURIFY = AUTOCONF = autoconf +IFCHANGE = $(srcdir:/=\)\win32\ifchange.bat RM = $(srcdir:/=\)\win32\rm.bat !if !defined(PROCESSOR_ARCHITECTURE) @@ -201,6 +202,9 @@ rubyw: $(WPROGRAM) !include $(srcdir)/common.mk +revision.h: revision.h.tmp + @$(IFCHANGE) "$(srcdir)/$@" "revision.h.tmp" + $(MKFILES): $(srcdir)/bcc32/Makefile.sub $(srcdir)/bcc32/configure.bat $(srcdir)/bcc32/setup.mak $(COMSPEC) /C $(srcdir:/=\)\bcc32\configure.bat $(configure_args) @echo $(MKFILES) should be updated, re-run $(MAKE). @@ -216,7 +220,7 @@ config: config.status config.status: $(CONFIG_H) $(CONFIG_H): $(MKFILES) $(srcdir)/bcc32/Makefile.sub - @$(srcdir:/=\)\win32\ifchange.bat config.h &&| + @$(IFCHANGE) config.h &&| \#define HAVE_SYS_TYPES_H 1 \#define HAVE_SYS_STAT_H 1 \#define HAVE_STDLIB_H 1 diff --git a/bcc32/setup.mak b/bcc32/setup.mak index 483292ed51..13a6539586 100644 --- a/bcc32/setup.mak +++ b/bcc32/setup.mak @@ -84,6 +84,7 @@ $(BANG)endif -version-: nul @cpp32 -I$(srcdir) -P- -o$(MAKEFILE) > nul &&| +\#define RUBY_REVISION 0 \#include "version.h" MAJOR = RUBY_VERSION_MAJOR MINOR = RUBY_VERSION_MINOR |
