summaryrefslogtreecommitdiff
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
commitcc2c313903ff348f588a121238e1be532ad58fba (patch)
tree94e4ed1547d8f5716c32a35620a475048d0ac320 /cygwin
parent9144491376799259d3430ad36c0c862b21c053a2 (diff)
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/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 e1b1f7c..cdaa22a 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)