summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-06-11 06:43:35 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-06-11 06:43:35 +0000
commit9fb43cc20f743a4d7bf9f2ae94dbad117ae75687 (patch)
tree5510cb6c9a7ea2fb756dfc22ecdb5d0a24f14dd7 /cygwin
parentbe83b8be34318b74544d435305cb98689eae8089 (diff)
GNUmakefile.in
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/GNUmakefile.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/cygwin/GNUmakefile.in b/cygwin/GNUmakefile.in
new file mode 100644
index 00000000000..e6fd279412d
--- /dev/null
+++ b/cygwin/GNUmakefile.in
@@ -0,0 +1,9 @@
+include Makefile
+
+RUBYCWDLL=rubycw.dll
+
+miniruby$(binsuffix): $(RUBYCWDLL)
+
+$(RUBYCWDLL): $(OBJS) dmyext.o
+ dllwrap -o $(RUBYCWDLL) --export-all --output-lib=$(LIBRUBY_SO) --dllname=$(RUBYCWDLL) -Wl,-e,__cygwin_noncygwin_dll_entry@12 --add-stdcall-alias -s $(OBJS) dmyext.o
+ nm --extern-only $(OBJS) dmyext.o | sed -n '/^........ [CD] _\(.*\)$$/s//#define \1 (*__imp_\1)/p' >import.h