# perl makefile for wince
#
-# Time-stamp: <01/08/01 21:11:35 keuchel@w2k>
+# Time-stamp: <26/10/01 15:10:06 keuchel@keuchelnt>
SRCDIR = ..
PV = 57
-INST_VER = 5.7.2
+INST_VER = 5.7.3
PERLCEDIR = H:\src\wince\perl\wince
WCEROOT = N:\Windows CE Tools
-#WCEROOT = D:\Windows CE Tools
+WCEROOT = D:\Windows CE Tools
NTPERL = N:\Programme\perl\bin\perl.exe
-#NTPERL = D:\Programme\ActiveState\perl-5.6\bin\Perl.exe
+NTPERL = D:\Programme\ActiveState\perl-5.6\bin\Perl.exe
CEPATH = N:\Programme\Microsoft eMbedded Tools\EVC\WCE211\BIN
-#CEPATH = D:\Programme\Microsoft eMbedded Tools\EVC\WCE211\BIN
-CELIBDLLDIR = h:\src\wince\celib-palm
+CEPATH = D:\Programme\Microsoft eMbedded Tools\EVC\WCE211\BIN
+CELIBDLLDIR = h:\src\wince\celib-palm-3.0
CECONSOLEDIR = h:\src\wince\w32console
# Only for WIN2000
-YES = /y
+#YES = /y
COPY = copy $(YES)
XCOPY = xcopy $(YES) /f /r /i /d
RCOPY = xcopy $(YES) /f /r /i /e /d
# common section
CEDEFS = -D_WINDOWS -D_WIN32_WCE=$(CEVersion) -DUNDER_CE=$(CEVersion) \
- $(MCFLAGS)
+ $(MCFLAGS) -D PERL
+
#CEDEFS = $(CEDEFS) -DDEBUGGING_OPS
CECFLAGS = $(CEDEFS)
CRYPT_FLAG = -DHAVE_DES_FCRYPT
!ENDIF
-!IF "$(USE_OBJECT)" == "define"
-PERL_MALLOC = undef
-USE_5005THREADS = undef
-USE_MULTI = undef
-USE_IMP_SYS = define
-!ENDIF
-
!IF "$(PERL_MALLOC)" == ""
PERL_MALLOC = undef
!ENDIF
USE_MULTI = undef
!ENDIF
-!IF "$(USE_OBJECT)" == ""
-USE_OBJECT = undef
-!ENDIF
-
!IF "$(USE_ITHREADS)" == ""
USE_ITHREADS = undef
!ENDIF
USE_PERLCRT = undef
!ENDIF
-!IF "$(USE_IMP_SYS)$(USE_MULTI)$(USE_5005THREADS)$(USE_OBJECT)" == "defineundefundefundef"
+!IF "$(USE_IMP_SYS)$(USE_MULTI)$(USE_5005THREADS)" == "defineundefundef"
USE_MULTI = define
!ENDIF
-!IF "$(USE_ITHREADS)$(USE_MULTI)$(USE_OBJECT)" == "defineundefundef"
+!IF "$(USE_ITHREADS)$(USE_MULTI)" == "defineundef"
USE_MULTI = define
USE_5005THREADS = undef
!ENDIF
-!IF "$(USE_MULTI)$(USE_5005THREADS)$(USE_OBJECT)" != "undefundefundef"
+!IF "$(USE_MULTI)$(USE_5005THREADS)" != "undefundef"
BUILDOPT = $(BUILDOPT) -DPERL_IMPLICIT_CONTEXT
!ENDIF
PERLEXE_RES = perl.res
PERLDLL_RES =
-!IF "$(USE_OBJECT)" == "define"
-OPTIMIZE = $(OPTIMIZE) $(CXX_FLAG)
-BUILDOPT = $(BUILDOPT) -DPERL_OBJECT
-!ENDIF
-
!if "$(CFG)" == "RELEASE"
CELIB = celib.lib
!endif
..\pp.c \
..\pp_ctl.c \
..\pp_hot.c \
+ ..\pp_pack.c \
+ ..\pp_sort.c \
..\pp_sys.c \
..\regcomp.c \
..\regexec.c \
..\run.c \
..\scope.c \
- ..\sharedsv.c \
..\sv.c \
..\taint.c \
..\toke.c \
EXTRACORE_SRC = $(EXTRACORE_SRC) ..\malloc.c
!ENDIF
-!IF "$(USE_OBJECT)" != "define"
EXTRACORE_SRC = $(EXTRACORE_SRC) ..\perlio.c
-!ENDIF
WIN32_SRC = \
.\wince.c \
..\proto.h \
..\regexp.h \
..\scope.h \
- ..\sharedsv.h \
..\sv.h \
..\thread.h \
..\unixish.h \
$(MAKE)
cd ..\..\wince
-$(PERLEXE_RES): perl.rc
+$(PERLEXE_RES): perl.rc perl.ico
rc $(RCDEFS) perl.rc
clean:
$(DLLDIR)\pp_ctl.obj \
$(DLLDIR)\pp_hot.obj \
$(DLLDIR)\pp_pack.obj \
+$(DLLDIR)\pp_sort.obj \
$(DLLDIR)\pp_sys.obj \
$(DLLDIR)\regcomp.obj \
$(DLLDIR)\regexec.obj \
$(DLLDIR)\run.obj \
$(DLLDIR)\scope.obj \
-$(DLLDIR)\sharedsv.obj \
$(DLLDIR)\sv.obj \
$(DLLDIR)\taint.obj \
$(DLLDIR)\toke.obj \
cecopy pc:$(MACHINE)/perl.exe ce:/speicherkarte2/bin
cecopy pc:$(MACHINE)/perl$(PV).dll ce:/speicherkarte2/bin
!endif
+
+perl.ico:
+ perl makeico.pl