This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
AUTHORS update.
[perl5.git] / wince / Makefile.ce
index 40dff94..343095e 100644 (file)
@@ -1,21 +1,21 @@
 # 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
 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
@@ -290,7 +290,8 @@ STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
 # common section
 
 CEDEFS    = -D_WINDOWS -D_WIN32_WCE=$(CEVersion) -DUNDER_CE=$(CEVersion) \
-            $(MCFLAGS) 
+            $(MCFLAGS) -D PERL
+
 #CEDEFS    = $(CEDEFS) -DDEBUGGING_OPS
 
 CECFLAGS  = $(CEDEFS)
@@ -338,13 +339,6 @@ D_CRYPT            = define
 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
@@ -365,10 +359,6 @@ PERL_MALLOC        = undef
 USE_MULTI      = undef
 !ENDIF
 
-!IF "$(USE_OBJECT)" == ""
-USE_OBJECT     = undef
-!ENDIF
-
 !IF "$(USE_ITHREADS)" == ""
 USE_ITHREADS   = undef
 !ENDIF
@@ -381,16 +371,16 @@ USE_IMP_SYS       = undef
 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
 
@@ -424,11 +414,6 @@ CXX_FLAG   = -TP -GX
 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
@@ -525,11 +510,14 @@ MICROCORE_SRC     =               \
                ..\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       \
@@ -544,9 +532,7 @@ EXTRACORE_SRC       = $(EXTRACORE_SRC) perllib.c
 EXTRACORE_SRC  = $(EXTRACORE_SRC) ..\malloc.c
 !ENDIF
 
-!IF "$(USE_OBJECT)" != "define"
 EXTRACORE_SRC  = $(EXTRACORE_SRC) ..\perlio.c
-!ENDIF
 
 WIN32_SRC      =               \
                .\wince.c       \
@@ -583,6 +569,7 @@ CORE_NOCFG_H        =               \
                ..\proto.h      \
                ..\regexp.h     \
                ..\scope.h      \
+               ..\sharedsv.h   \
                ..\sv.h         \
                ..\thread.h     \
                ..\unixish.h    \
@@ -863,7 +850,7 @@ $(ERRNO_PM): $(PERLEXE) $(ERRNO)_pm.PL
        $(MAKE)
        cd ..\..\wince
 
-$(PERLEXE_RES): perl.rc
+$(PERLEXE_RES): perl.rc perl.ico
        rc $(RCDEFS) perl.rc
 
 clean: 
@@ -973,11 +960,13 @@ $(DLLDIR)\pp.obj \
 $(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 \
@@ -1081,3 +1070,6 @@ install:
        cecopy pc:$(MACHINE)/perl.exe ce:/speicherkarte2/bin
        cecopy pc:$(MACHINE)/perl$(PV).dll ce:/speicherkarte2/bin
 !endif
+
+perl.ico:
+       perl makeico.pl