summaryrefslogtreecommitdiffstats
path: root/cygwin
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-14 08:21:30 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-14 08:21:30 +0000
commita687a687c6f4623faf31227289048f8cf3f306bf (patch)
tree94e4ed1547d8f5716c32a35620a475048d0ac320 /cygwin
parent6a5aff500f6aec632e308d7d7f75311aea3e2c7f (diff)
downloadruby-a687a687c6f4623faf31227289048f8cf3f306bf.tar.gz
ruby-a687a687c6f4623faf31227289048f8cf3f306bf.tar.xz
ruby-a687a687c6f4623faf31227289048f8cf3f306bf.zip
eban
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/GNUmakefile.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/cygwin/GNUmakefile.in b/cygwin/GNUmakefile.in
index e1b1f7c6e..cdaa22ae3 100644
--- a/cygwin/GNUmakefile.in
+++ b/cygwin/GNUmakefile.in
@@ -22,14 +22,14 @@ endif
RUBYDEF = $(RUBY_INSTALL_NAME).def
-miniruby$(EXEEXT): $(DLL)
+rbconfig.rb: $(DLL)
-$(DLL): $(OBJS) dmyext.o $(RUBYDEF)
+$(DLL): $(OBJS) dmyext.@OBJEXT@ $(RUBYDEF)
$(LDSHARED) $(DLDFLAGS) -o $(DLL) --output-lib=$(LIBRUBY_SO) \
--dllname=$(DLLNAME) --add-stdcall-alias --def=$(RUBYDEF) \
- $(RUBYEXP) $(OBJS) dmyext.o $(LIBS)
+ $(RUBYEXP) $(OBJS) dmyext.@OBJEXT@ $(LIBS)
-$(RUBYDEF): $(OBJS) dmyext.o
+$(RUBYDEF): $(OBJS) dmyext.@OBJEXT@
echo EXPORTS > $(RUBYDEF)
- @NM@ --extern-only --defined-only $(OBJS) dmyext.o | \
- sed -n '/^........ [CDT] _\(.*\)$$/s//\1/p' >> $(RUBYDEF)
+ @NM@ --extern-only --defined-only $(OBJS) dmyext.@OBJEXT@ | \
+ @MINIRUBY@ -ne 'print $$1, "\n" if / [CDT] _(.*)$$/' >> $(RUBYDEF)