summaryrefslogtreecommitdiff
path: root/wince/Makefile.ce
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-07 03:41:17 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-07 03:41:17 +0000
commitc96f74cebd2ba17e2fcad5375199dd60d38b38e0 (patch)
tree4b321cc191edc89a62a5689b89937c4581c52132 /wince/Makefile.ce
parent3871c2ef9aa1dfeba4631a17efdbf486012d47a6 (diff)
downloadperl-c96f74cebd2ba17e2fcad5375199dd60d38b38e0.tar.gz
More WinCE tweaking for Vadim Konovalov.
p4raw-id: //depot/perl@19158
Diffstat (limited to 'wince/Makefile.ce')
-rw-r--r--wince/Makefile.ce17
1 files changed, 14 insertions, 3 deletions
diff --git a/wince/Makefile.ce b/wince/Makefile.ce
index d02f1a4717..af482dc648 100644
--- a/wince/Makefile.ce
+++ b/wince/Makefile.ce
@@ -192,7 +192,7 @@ CPU = ARM
TARGETCPU = ARM
CEVersion = 300
OSVERSION = WCE300
-PLATFORM = HPC2000
+#PLATFORM = HPC2000
MCFLAGS = -D _MT -D _DLL -D ARM -D arm -D _arm_ -D _ARM_ \
-DPROCESSOR_ARM -DPALM_SIZE \
-I $(CELIBDLLDIR)\inc
@@ -349,9 +349,13 @@ CECFLAGS = $(CECFLAGS) -Zi -Od
!if "$(CFG)" == "RELEASE"
# -O2 and -Ot give internal compiler error in perl.c and lexer.
# Also the dll cannot be loaded by perl.exe...
+!if "$(CPU)" == "SH3"
+!else
CECFLAGS = $(CECFLAGS) -O2 -Ot
!endif
+!endif
+
RCDEFS = /l 0x407 /r /d "UNICODE" /d UNDER_CE=$(CEVersion) \
/d _WIN32_WCE=$(CEVersion)
@@ -756,7 +760,7 @@ $(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs
#----------------------------------------------------------------------------------
Extensions: ..\win32\buildext.pl $(PERLDEP) $(CONFIGPM)
$(HPERL) -I..\lib -I..\win32 -MCross=$(CROSS_NAME) ..\win32\buildext.pl $(MAKE) $(PERLDEP) $(EXTDIR) \
- !POSIX !Time/HiRes
+ !POSIX !Time/HiRes !XS/Typemap
Extensions_clean:
-if exist $(MINIPERL) $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) $(EXTDIR) clean
@@ -902,7 +906,14 @@ install: all
!endif
dist: all
- $(HPERL) -I..\lib -MCross=$(CROSS_NAME) makedist.pl --distdir=dist-$(CROSS_NAME)
+ $(HPERL) -I..\lib -MCross=$(CROSS_NAME) makedist.pl --distdir=dist-$(CROSS_NAME) --cross-name=$(CROSS_NAME)
+
+zipdist: all
+ $(HPERL) -I..\lib -MCross=$(CROSS_NAME) makedist.pl --distdir=dist-$(CROSS_NAME) --cross-name=$(CROSS_NAME)
+ $(HPERL) -I..\lib -MCross=$(CROSS_NAME) makedist.pl --distdir=dist-$(CROSS_NAME) --cross-name=$(CROSS_NAME) --zip
+
+zip:
+ $(HPERL) -I..\lib -MCross=$(CROSS_NAME) makedist.pl --distdir=dist-$(CROSS_NAME) --cross-name=$(CROSS_NAME) --zip
perl.ico:
$(HPERL) makeico.pl