diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-03 09:38:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-03 09:38:40 +0000 |
commit | b417f99856471ff24a6cda4f059ac3938b76b379 (patch) | |
tree | 4f20ff4a932659300910e0c699d6735a13d8a07b /bcc32 | |
parent | 25fa9649d3ec44b78ff3fb69b1fa01acd6ceae9b (diff) | |
download | ruby-b417f99856471ff24a6cda4f059ac3938b76b379.tar.gz ruby-b417f99856471ff24a6cda4f059ac3938b76b379.tar.xz ruby-b417f99856471ff24a6cda4f059ac3938b76b379.zip |
* {bcc32,win32,wince}/Makefile.sub (config.h): check if affected
when makefiles are modified.
* {bcc32,win32,wince}/Makefile.sub (config.status): add variables
for tests.
* win32/ifchange.bat: try to update a file only if modified.
* win32/resource.rb: more descriptions.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32')
-rw-r--r-- | bcc32/Makefile.sub | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index 8d91be753..902a93451 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -198,11 +198,14 @@ rubyw: $(WPROGRAM) PHONY: Makefile -config: config.h config.status +CONFIG_H = ./.config.h.time -config.h: - @echo Creating $(@:.\=) - @type > $@ &&| +config: config.status + +config.status: $(CONFIG_H) + +$(CONFIG_H): $(MKFILES) $(srcdir)bcc32/Makefile.sub + @$(srcdir:/=\)win32\ifchange.bat config.h &&| \#define HAVE_SYS_TYPES_H 1 \#define HAVE_SYS_STAT_H 1 \#define HAVE_STDLIB_H 1 @@ -275,6 +278,7 @@ config.h: \#define RUBY_ARCHLIB "/lib/ruby/$(MAJOR).$(MINOR)/$(ARCH)-$(OS)" \#define RUBY_SITE_ARCHLIB "/lib/ruby/site_ruby/$(MAJOR).$(MINOR)/$(ARCH)-$(OS)" | + @exit > $@ config.status: $(MKFILES) $(srcdir)bcc32/Makefile.sub $(srcdir)common.mk @echo Creating $@ @@ -344,6 +348,11 @@ s,@STRIP@,$(STRIP),;t t s,@EXTSTATIC@,$(EXTSTATIC),;t t s,@setup@,Setup,;t t s,@MINIRUBY@,$(MINIRUBY),;t t +s,@PREP@,miniruby$(EXEEXT),;t t +s,@RUNRUBY@,$(RUNRUBY),;t t +s,@EXTOUT@,$(EXTOUT),;t t +s,@ARCHFILE@,,;t t +s,@RDOCTARGET@,,;t t s,@LIBRUBY_LDSHARED@,$$(LDSHARED),;t t s,@LIBRUBY_DLDFLAGS@,-Gi $$(DLDFLAGS),;t t s,@RUBY_INSTALL_NAME@,$(RUBY_INSTALL_NAME),;t t |