summaryrefslogtreecommitdiffstats
path: root/wince/setup.mak
diff options
context:
space:
mode:
authoruema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-01 04:44:45 +0000
committeruema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-01 04:44:45 +0000
commite726f12ba46f1081b566fec14a2cb2988586872f (patch)
treefd6ab49ddda8377a46ac13f04417e773785e3add /wince/setup.mak
parentde2f9fe3cae48b49d8bd2ab20118419a8da155cc (diff)
downloadruby-e726f12ba46f1081b566fec14a2cb2988586872f.tar.gz
ruby-e726f12ba46f1081b566fec14a2cb2988586872f.tar.xz
ruby-e726f12ba46f1081b566fec14a2cb2988586872f.zip
* wince/string_wce.c: add strpbrk() for hpcpro support.
* wince/setup.mak: add hpcpro(CE2.11) & armv4t(CE.NET) support. * wince/resource.rb: ditto. * wince/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince/setup.mak')
-rw-r--r--wince/setup.mak16
1 files changed, 9 insertions, 7 deletions
diff --git a/wince/setup.mak b/wince/setup.mak
index 49d4309d4..316d0f3a0 100644
--- a/wince/setup.mak
+++ b/wince/setup.mak
@@ -40,6 +40,7 @@ sh3-ppc-wince: -prologue- -sh3- -ppc- -epilogue-
sh3-hpcpro-wince: -prologue- -sh3- -hpcpro2- -epilogue-
sh4-hpcpro-wince: -prologue- -sh4- -hpcpro2- -epilogue-
armv4-.net41-wince: -prologue- -armv4- -.net41- -epilogue-
+armv4t-.net41-wince: -prologue- -armv4t- -.net41- -epilogue-
-prologue-: nul
@type << > $(MAKEFILE)
@@ -87,10 +88,9 @@ $(CPU) = $(PROCESSOR_LEVEL)
@$(APPEND) CC = cl$(@:-=)
-sh3- -sh4-::
@$(APPEND) CC = shcl
--armv4-::
+-armv4- -armv4t-::
@$(APPEND) CC = clarm
- @$(APPEND) ARCHFOLDER = armv4
- @$(APPEND) $(ARCH) = arm
+ @$(APPEND) ARCHFOLDER = $(@:-=)
-arm-::
@@ -103,6 +103,10 @@ $(CPU) = $(PROCESSOR_LEVEL)
@$(APPEND) CECPUDEF = -DSHx -DSH4 -D_SH4_
-armv4-::
@$(APPEND) CECPUDEF = -DARM -D_ARM_ -DARMV4
+ @$(APPEND) $(ARCH) = ARM
+-armv4t-::
+ @$(APPEND) CECPUDEF = -DARM -D_ARM_ -DARMV4T
+ @$(APPEND) $(ARCH) = THUMB
-hpc2k-: -hpc2000-
@@ -176,16 +180,14 @@ LIB = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/MS Pocket PC/lib/$$(PROCESSOR_ARC
"-MS HPC Pro--":
@type << >>$(MAKEFILE)
-INCLUDE = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/$(@:-=)/include
-LIB = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/$(@:-=)/lib
+INCLUDE = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/MS HPC Pro/include
+LIB = $$(CE_TOOLS_DIR)/wce$$(SUBSYSVERSION:.=)/MS HPC Pro/lib/$$(PROCESSOR_ARCHITECTURE)
<<
-.net41-:
@type << >>$(MAKEFILE)
INCLUDE = $$(CE_TOOLS4_DIR)/wce400/STANDARDSDK/include/$$(ARCHFOLDER)
LIB = $$(CE_TOOLS4_DIR)/wce400/STANDARDSDK/lib/$$(ARCHFOLDER)
-#INCLUDE = $$(CE_TOOLS4_DIR)/wce400/STANDARDSDK/include/$$(PROCESSOR_ARCHITECTURE)
-#LIB = $$(CE_TOOLS4_DIR)/wce400/STANDARDSDK/lib/$$(PROCESSOR_ARCHITECTURE)
<<