* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
!if "$(srcdir)" != ""
|
|
|
|
WIN32DIR = $(srcdir)/win32
|
|
|
|
!elseif "$(WIN32DIR)" == "win32"
|
|
|
|
srcdir = .
|
|
|
|
!elseif "$(WIN32DIR)" == "$(WIN32DIR:/win32=)/win32"
|
|
|
|
srcdir = $(WIN32DIR:/win32=)
|
|
|
|
!else
|
|
|
|
srcdir = $(WIN32DIR)/..
|
|
|
|
!endif
|
2005-04-02 17:35:02 +04:00
|
|
|
!ifndef prefix
|
|
|
|
prefix = /usr
|
|
|
|
!endif
|
2003-05-24 13:17:35 +04:00
|
|
|
OS = mswince
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
RT = msvcrt
|
|
|
|
INCLUDE = !include
|
|
|
|
APPEND = echo>>$(MAKEFILE)
|
|
|
|
!ifdef MAKEFILE
|
|
|
|
MAKE = $(MAKE) -f $(MAKEFILE)
|
|
|
|
!else
|
|
|
|
MAKEFILE = Makefile
|
|
|
|
!endif
|
|
|
|
ARCH = PROCESSOR_ARCHITECTURE
|
|
|
|
CPU = PROCESSOR_LEVEL
|
|
|
|
CPP = cl -nologo -EP
|
|
|
|
|
|
|
|
all: -prologue- -generic- -epilogue-
|
|
|
|
i386-$(OS): -prologue- -i386- -epilogue-
|
|
|
|
i486-$(OS): -prologue- -i486- -epilogue-
|
|
|
|
i586-$(OS): -prologue- -i586- -epilogue-
|
|
|
|
i686-$(OS): -prologue- -i686- -epilogue-
|
|
|
|
alpha-$(OS): -prologue- -alpha- -epilogue-
|
|
|
|
|
|
|
|
# CE
|
|
|
|
mips-hpc2k-wince: -prologue- -mips- -hpc2k- -epilogue-
|
|
|
|
mips-ppc-wince: -prologue- -mips- -ppc- -epilogue-
|
|
|
|
mips-hpcpro-wince: -prologue- -mips- -hpcpro- -epilogue-
|
|
|
|
arm-hpc2k-wince: -prologue- -arm- -hpc2k- -epilogue-
|
|
|
|
arm-ppc-wince: -prologue- -arm- -ppc- -epilogue-
|
|
|
|
arm-hpcpro-wince: -prologue- -arm- -hpcpro- -epilogue-
|
|
|
|
sh3-ppc-wince: -prologue- -sh3- -ppc- -epilogue-
|
2003-10-01 05:17:41 +04:00
|
|
|
sh3-hpcpro-wince: -prologue- -sh3- -hpcpro- -epilogue-
|
|
|
|
sh4-hpcpro-wince: -prologue- -sh4- -hpcpro- -epilogue-
|
2003-05-24 13:17:35 +04:00
|
|
|
armv4-.net41-wince: -prologue- -armv4- -.net41- -epilogue-
|
2003-06-01 08:44:45 +04:00
|
|
|
armv4t-.net41-wince: -prologue- -armv4t- -.net41- -epilogue-
|
2003-10-01 05:17:41 +04:00
|
|
|
armv4i-sig3-wince: -prologue- -armv4i- -sig3- -epilogue-
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
|
|
|
|
-prologue-: nul
|
|
|
|
@type << > $(MAKEFILE)
|
|
|
|
### Makefile for ruby $(OS) ###
|
|
|
|
srcdir = $(srcdir:\=/)
|
2005-04-02 17:35:02 +04:00
|
|
|
prefix = $(prefix:\=/)
|
|
|
|
EXTSTATIC = $(EXTSTATIC)
|
|
|
|
!if defined(RDOCTARGET)
|
|
|
|
RDOCTARGET = $(RDOCTARGET)
|
|
|
|
!endif
|
2005-04-20 02:28:28 +04:00
|
|
|
!if defined(EXTOUT)
|
|
|
|
EXTOUT = $(EXTOUT)
|
|
|
|
!endif
|
2007-01-23 09:41:22 +03:00
|
|
|
!if defined(BASERUBY)
|
|
|
|
BASERUBY = $(BASERUBY)
|
|
|
|
!endif
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
<<
|
2007-07-21 10:39:26 +04:00
|
|
|
@$(CPP) -I$(srcdir) <<"Creating $(MAKEFILE)" >> $(MAKEFILE)
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
#include "version.h"
|
|
|
|
MAJOR = RUBY_VERSION_MAJOR
|
|
|
|
MINOR = RUBY_VERSION_MINOR
|
|
|
|
TEENY = RUBY_VERSION_TEENY
|
2005-08-03 19:27:13 +04:00
|
|
|
MSC_VER = _MSC_VER
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
<<
|
|
|
|
|
|
|
|
-generic-: nul
|
|
|
|
!if defined($(ARCH)) || defined($(CPU))
|
|
|
|
@type << >>$(MAKEFILE)
|
|
|
|
!if defined($(ARCH))
|
|
|
|
$(ARCH) = $(PROCESSOR_ARCHITECTURE)
|
|
|
|
!endif
|
|
|
|
!if defined($(CPU))
|
|
|
|
$(CPU) = $(PROCESSOR_LEVEL)
|
|
|
|
!endif
|
|
|
|
|
|
|
|
<<
|
|
|
|
!endif
|
|
|
|
|
|
|
|
-alpha-: nul
|
|
|
|
@$(APPEND) $(ARCH) = alpha
|
|
|
|
-ix86-: nul
|
|
|
|
@$(APPEND) $(ARCH) = x86
|
|
|
|
|
|
|
|
-i386-: -ix86-
|
|
|
|
@$(APPEND) $(CPU) = 3
|
|
|
|
-i486-: -ix86-
|
|
|
|
@$(APPEND) $(CPU) = 4
|
|
|
|
-i586-: -ix86-
|
|
|
|
@$(APPEND) $(CPU) = 5
|
|
|
|
-i686-: -ix86-
|
|
|
|
@$(APPEND) $(CPU) = 6
|
|
|
|
|
|
|
|
# CE
|
|
|
|
-mips- -arm- -sh3- -sh4-::
|
|
|
|
@$(APPEND) $(ARCH) = $(@:-=)
|
|
|
|
-mips- -arm-::
|
|
|
|
@$(APPEND) CC = cl$(@:-=)
|
|
|
|
-sh3- -sh4-::
|
|
|
|
@$(APPEND) CC = shcl
|
2003-10-01 05:17:41 +04:00
|
|
|
-armv4- -armv4i-::
|
2003-05-24 13:17:35 +04:00
|
|
|
@$(APPEND) CC = clarm
|
2003-06-01 08:44:45 +04:00
|
|
|
@$(APPEND) ARCHFOLDER = $(@:-=)
|
2003-10-01 05:17:41 +04:00
|
|
|
-armv4t-::
|
|
|
|
@$(APPEND) CC = clthumb
|
|
|
|
@$(APPEND) ARCHFOLDER = $(@:-=)
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
|
|
|
|
-arm-::
|
|
|
|
@$(APPEND) CECPUDEF = -DARM -D_ARM_
|
|
|
|
-mips-::
|
|
|
|
@$(APPEND) CECPUDEF = -DMIPS -D_MIPS_
|
|
|
|
-sh3-::
|
|
|
|
@$(APPEND) CECPUDEF = -DSHx -DSH3 -D_SH3_
|
|
|
|
-sh4-::
|
|
|
|
@$(APPEND) CECPUDEF = -DSHx -DSH4 -D_SH4_
|
2003-10-01 05:17:41 +04:00
|
|
|
@$(APPEND) QSH4 = -Qsh4
|
2003-05-24 13:17:35 +04:00
|
|
|
-armv4-::
|
|
|
|
@$(APPEND) CECPUDEF = -DARM -D_ARM_ -DARMV4
|
2003-06-01 08:44:45 +04:00
|
|
|
@$(APPEND) $(ARCH) = ARM
|
2003-10-01 05:17:41 +04:00
|
|
|
-armv4t- -armv4i-::
|
2003-06-08 08:38:06 +04:00
|
|
|
@$(APPEND) CECPUDEF = -DARM -D_ARM_ -DARMV4T -DTHUMB -D_THUMB_
|
2003-06-01 08:44:45 +04:00
|
|
|
@$(APPEND) $(ARCH) = THUMB
|
2003-05-24 13:17:35 +04:00
|
|
|
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
|
|
|
|
-hpc2k-: -hpc2000-
|
|
|
|
-ppc-: "-MS Pocket PC-"
|
|
|
|
-hpcpro2-: "-MS HPC Pro-"
|
|
|
|
-hpcpro-: "-MS HPC Pro--"
|
|
|
|
|
|
|
|
-mswin32-:
|
|
|
|
@type << >>$(MAKEFILE)
|
|
|
|
OS = mswin32
|
|
|
|
RT = msvcrt
|
|
|
|
<<
|
|
|
|
|
|
|
|
-mswince-:
|
|
|
|
@type << >>$(MAKEFILE)
|
|
|
|
!ifdef CE_TOOLS_DIR
|
|
|
|
CE_TOOLS_DIR = $(CE_TOOLS_DIR)
|
|
|
|
!endif
|
|
|
|
!ifdef EMBEDDED_TOOLS_DIR
|
|
|
|
EMBEDDED_TOOLS_DIR = $(EMBEDDED_TOOLS_DIR)
|
|
|
|
!endif
|
|
|
|
|
|
|
|
OS = mswince
|
|
|
|
RT = $$(OS)
|
|
|
|
<<
|
|
|
|
|
2003-05-24 13:17:35 +04:00
|
|
|
-mswince4-:
|
|
|
|
@type << >>$(MAKEFILE)
|
|
|
|
!ifdef CE_TOOLS4_DIR
|
|
|
|
CE_TOOLS4_DIR = $(CE_TOOLS4_DIR)
|
|
|
|
!endif
|
|
|
|
!ifdef EMBEDDED_TOOLS4_DIR
|
|
|
|
EMBEDDED_TOOLS4_DIR = $(EMBEDDED_TOOLS4_DIR)
|
|
|
|
!endif
|
|
|
|
|
|
|
|
OS = mswince
|
|
|
|
RT = $$(OS)
|
|
|
|
<<
|
|
|
|
|
|
|
|
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
-mswince-3.00 -mswince-2.11: -mswince-
|
|
|
|
@type << >>$(MAKEFILE)
|
|
|
|
SUBSYSVERSION = $(@:-mswince-=)
|
|
|
|
PATH = $$(EMBEDDED_TOOLS_DIR)/common/evc/bin;$$(EMBEDDED_TOOLS_DIR)/EVC/WCE$$(SUBSYSVERSION:.=)/bin
|
|
|
|
<<
|
|
|
|
|
2003-05-24 13:17:35 +04:00
|
|
|
-mswince-4.10: -mswince4-
|
|
|
|
@type << >>$(MAKEFILE)
|
|
|
|
SUBSYSVERSION = $(@:-mswince-=)
|
2003-10-01 05:17:41 +04:00
|
|
|
EXTLIBS = ws2.lib
|
2003-05-24 13:17:35 +04:00
|
|
|
PATH = $$(EMBEDDED_TOOLS4_DIR)/common/evc/bin;$$(EMBEDDED_TOOLS4_DIR)/EVC/WCE$$(SUBSYSVERSION:.=)/bin
|
|
|
|
<<
|
|
|
|
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
-hpc2000- "-MS Pocket PC-": -mswince-3.00
|
|
|
|
"-MS HPC Pro-" "-MS HPC Pro--": -mswince-2.11
|
2003-10-01 05:17:41 +04:00
|
|
|
-.net41- -sig3-: -mswince-4.10
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
|
|
|
|
-hpc2000-:
|
|
|
|
@type << >>$(MAKEFILE)
|
2003-06-08 08:38:06 +04:00
|
|
|
SUBSYSTEM = windowsce,3.0
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
INCLUDE = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/$(@:-=)/include
|
|
|
|
LIB = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/$(@:-=)/lib/$$(PROCESSOR_ARCHITECTURE)
|
|
|
|
<<
|
|
|
|
|
|
|
|
"-MS Pocket PC-":
|
|
|
|
@type << >>$(MAKEFILE)
|
2003-06-08 08:38:06 +04:00
|
|
|
SUBSYSTEM = windowsce,3.0
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
INCLUDE = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/MS Pocket PC/include
|
|
|
|
LIB = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/MS Pocket PC/lib/$$(PROCESSOR_ARCHITECTURE)
|
|
|
|
<<
|
|
|
|
|
|
|
|
|
|
|
|
"-MS HPC Pro--":
|
|
|
|
@type << >>$(MAKEFILE)
|
2003-06-08 08:38:06 +04:00
|
|
|
SUBSYSTEM = windowsce,2.11
|
2003-06-01 08:44:45 +04:00
|
|
|
INCLUDE = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/MS HPC Pro/include
|
|
|
|
LIB = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/MS HPC Pro/lib/$$(PROCESSOR_ARCHITECTURE)
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
<<
|
|
|
|
|
2003-05-24 13:17:35 +04:00
|
|
|
-.net41-:
|
|
|
|
@type << >>$(MAKEFILE)
|
2003-06-08 08:38:06 +04:00
|
|
|
SUBSYSTEM = windowsce,4.1
|
2003-05-24 13:17:35 +04:00
|
|
|
INCLUDE = $$(CE_TOOLS4_DIR)/wce400/STANDARDSDK/include/$$(ARCHFOLDER)
|
|
|
|
LIB = $$(CE_TOOLS4_DIR)/wce400/STANDARDSDK/lib/$$(ARCHFOLDER)
|
|
|
|
<<
|
|
|
|
|
2003-10-01 05:17:41 +04:00
|
|
|
-sig3-:
|
|
|
|
@type << >>$(MAKEFILE)
|
|
|
|
SUBSYSTEM = windowsce,4.1
|
|
|
|
INCLUDE = $$(CE_TOOLS4_DIR)/wce410/sigmarionIII SDK/include/$$(ARCHFOLDER)
|
|
|
|
LIB = $$(CE_TOOLS4_DIR)/wce410/sigmarionIII SDK/lib/$$(ARCHFOLDER)
|
|
|
|
<<
|
2003-05-24 13:17:35 +04:00
|
|
|
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
-epilogue-: nul
|
|
|
|
@type << >>$(MAKEFILE)
|
|
|
|
!ifdef RUBY_INSTALL_NAME
|
|
|
|
RUBY_INSTALL_NAME = $(RUBY_INSTALL_NAME)
|
|
|
|
!else ifdef RUBY_SUFFIX
|
|
|
|
RUBY_INSTALL_NAME = ruby$(RUBY_SUFFIX)
|
|
|
|
!endif
|
|
|
|
!ifdef RUBY_SO_NAME
|
|
|
|
RUBY_SO_NAME = $(RUBY_SO_NAME)
|
|
|
|
!else
|
|
|
|
# RUBY_SO_NAME = $$(RT)-$$(RUBY_INSTALL_NAME)$$(MAJOR)$$(MINOR)
|
|
|
|
!endif
|
|
|
|
# CFLAGS = -nologo $$(DEBUGFLAGS) $$(OPTFLAGS) $$(PROCESSOR_FLAG)
|
|
|
|
CPPFLAGS = -I. -I$$(srcdir) -I$$(srcdir)/missing -I$$(srcdir)/wince \
|
|
|
|
$$(CECPUDEF) -DUNDER_CE -D_WIN32_WCE=$$(SUBSYSVERSION:.=) \
|
|
|
|
-DFILENAME_MAX=MAX_PATH -DTLS_OUT_OF_INDEXES=0xFFFFFFFF \
|
2003-10-01 05:17:41 +04:00
|
|
|
-DBUFSIZ=512 -D_UNICODE -DUNICODE $$(QSH4)
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
# STACK = 0x10000,0x1000
|
|
|
|
# LDFLAGS = $$(CFLAGS) -Fm
|
|
|
|
# XLDFLAGS =
|
|
|
|
# RFLAGS = -r
|
|
|
|
# EXTLIBS =
|
|
|
|
|
|
|
|
$(INCLUDE) $$(srcdir)/wince/Makefile.sub
|
|
|
|
<<
|
2004-11-16 11:37:59 +03:00
|
|
|
@$(srcdir:/=\)\win32\rm.bat config.h config.status
|
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-26 09:25:30 +04:00
|
|
|
@echo type `$(MAKE)' to make ruby for $(OS).
|