1999-08-13 01:45:20 -04:00
|
|
|
include Makefile
|
|
|
|
|
2000-05-13 12:13:31 -04:00
|
|
|
ARCH=@arch@
|
1999-08-13 01:45:20 -04:00
|
|
|
|
2000-05-13 12:13:31 -04:00
|
|
|
ifneq (,$(findstring mingw, $(ARCH)))
|
|
|
|
DLL = rubymg.dll
|
|
|
|
DLLWRAP_FLAGS =
|
|
|
|
else
|
|
|
|
DLL = rubycw.dll
|
|
|
|
DLLWRAP_FLAGS = -Wl,-e,__cygwin_noncygwin_dll_entry@12
|
|
|
|
endif
|
1999-08-13 01:45:20 -04:00
|
|
|
|
2000-05-14 05:36:29 -04:00
|
|
|
ifeq (,$(strip $(LIBRUBY_ALIASES)))
|
2000-05-13 12:13:31 -04:00
|
|
|
miniruby$(EXEEXT): $(DLL)
|
2000-05-14 05:36:29 -04:00
|
|
|
endif
|
2000-05-13 12:13:31 -04:00
|
|
|
|
|
|
|
$(DLL): $(OBJS) dmyext.o
|
|
|
|
$(LDSHARED) $(DLDFLAGS) -o $(DLL) --output-lib=$(LIBRUBY_SO) --dllname=$(DLL) --add-stdcall-alias $(OBJS) dmyext.o $(LIBS)
|