This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Implement the sort pragma. Split sort code from pp_ctl.c
[perl5.git] / wince / Makefile.ce
1 # perl makefile for wince
2 #
3 # Time-stamp: <26/10/01 15:10:06 keuchel@keuchelnt>
4
5 SRCDIR     = ..
6 PV         = 57
7 INST_VER   = 5.7.2
8 PERLCEDIR  = H:\src\wince\perl\wince
9 WCEROOT    = N:\Windows CE Tools
10 WCEROOT    = D:\Windows CE Tools
11 NTPERL     = N:\Programme\perl\bin\perl.exe
12 NTPERL     = D:\Programme\ActiveState\perl-5.6\bin\Perl.exe
13 CEPATH     = N:\Programme\Microsoft eMbedded Tools\EVC\WCE211\BIN
14 CEPATH     = D:\Programme\Microsoft eMbedded Tools\EVC\WCE211\BIN
15 CELIBDLLDIR  = h:\src\wince\celib-palm-3.0
16 CECONSOLEDIR = h:\src\wince\w32console
17 # Only for WIN2000
18 #YES        = /y
19 COPY       = copy $(YES)
20 XCOPY      = xcopy $(YES) /f /r /i /d
21 RCOPY      = xcopy $(YES) /f /r /i /e /d
22 NOOP       = @echo
23 # keep this untouched!
24 NULL       =
25
26 CFG=DEBUG
27 #CFG=RELEASE
28
29 !if "$(MACHINE)" == ""
30 MACHINE=wince-arm-hpc-wce300
31 #MACHINE=wince-arm-hpc-wce211
32 #MACHINE=wince-sh3-hpc-wce211
33 #MACHINE=wince-mips-hpc-wce211
34 #MACHINE=wince-sh3-hpc-wce200
35 #MACHINE=wince-mips-hpc-wce200
36 #MACHINE=wince-arm-pocket-wce300
37 #MACHINE=wince-mips-pocket-wce300
38 #MACHINE=wince-sh3-pocket-wce300
39 #MACHINE=wince-x86em-pocket-wce300
40 #MACHINE=wince-mips-palm-wce211
41 #MACHINE=wince-sh3-palm-wce211
42 #MACHINE=wince-x86em-palm-wce211
43 !endif
44
45 ######################################################################
46 # machines
47
48 !if "$(MACHINE)" == "wince-sh3-hpc-wce211"
49 CC         = shcl.exe
50 ARCH       = SH3
51 CPU        = SH3
52 TARGETCPU  = SH3
53 CEVersion  = 211
54 OSVERSION  = WCE211
55 PLATFORM   = MS HPC Pro
56 MCFLAGS    = -MDd -DSH3 -D_SH3_ -DSHx -DPROCESSOR_SH3 -DPALM_SIZE \
57              -I $(CELIBDLLDIR)\inc
58 SUBSYS     = -subsystem:windowsce,2.11
59 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
60 LDLIBPATH  = -libpath:$(CELIBPATH)
61 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
62              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
63 !endif
64
65 !if "$(MACHINE)" == "wince-mips-hpc-wce211"
66 CC         = clmips.exe
67 ARCH       = MIPS
68 CPU        = MIPS
69 TARGETCPU  = MIPS
70 CEVersion  = 211
71 OSVERSION  = WCE211
72 PLATFORM   = MS HPC Pro
73 MCFLAGS    = -D _MT -D _DLL \
74              -D MIPS -D mips -D _MIPS_ -D _mips_ -DPROCESSOR_MIPS \
75              -D PALM_SIZE \
76              -I $(CELIBDLLDIR)\inc
77 SUBSYS     = -subsystem:windowsce,2.11
78 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
79 LDLIBPATH  = -libpath:$(CELIBPATH)
80 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
81              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
82 !endif
83
84 !if "$(MACHINE)" == "wince-mips-hpc-wce200"
85 CC         = clmips.exe
86 ARCH       = MIPS
87 CPU        = MIPS
88 TARGETCPU  = MIPS
89 CEVersion  = 200
90 OSVERSION  = WCE200
91 PLATFORM   = MS HPC
92 # MUST USE -MD to get the right FPE stuff...
93 MCFLAGS    = -D _MT -D _DLL -MD \
94              -D MIPS -D mips -D _MIPS_ -D _mips_ -DPROCESSOR_MIPS \
95              -D PALM_SIZE \
96              -I $(CELIBDLLDIR)\inc
97 SUBSYS     = -subsystem:windowsce,2.00
98 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
99 LDLIBPATH  = -libpath:$(CELIBPATH)
100 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
101              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
102 !endif
103
104 !if "$(MACHINE)" == "wince-sh3-hpc-wce200"
105 CC         = shcl.exe
106 ARCH       = SH3
107 CPU        = SH3
108 TARGETCPU  = SH3
109 CEVersion  = 200
110 OSVERSION  = WCE200
111 PLATFORM   = MS HPC
112 # MUST USE -MD to get the right FPE stuff...
113 MCFLAGS    = -D _MT -D _DLL -MD \
114              -D SH3 -D sh3 -D _SH3_ -D _sh3_ -D SHx -DPROCESSOR_SH3 \
115              -D PALM_SIZE \
116              -I $(CELIBDLLDIR)\inc
117 SUBSYS     = -subsystem:windowsce,2.00
118 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
119 LDLIBPATH  = -libpath:$(CELIBPATH)
120 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
121              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
122 !endif
123
124 !if "$(MACHINE)" == "wince-arm-hpc-wce211"
125 CC         = clarm.exe
126 ARCH       = ARM
127 CPU        = ARM
128 TARGETCPU  = ARM
129 CEVersion  = 211
130 OSVERSION  = WCE211
131 PLATFORM   = MS HPC Pro
132 MCFLAGS    = -D _MT -D _DLL -D ARM -D arm -D _arm_ -D _ARM_ \
133              -DPROCESSOR_ARM -DPALM_SIZE \
134              -I $(CELIBDLLDIR)\inc
135 SUBSYS     = -subsystem:windowsce,2.11
136 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
137 LDLIBPATH  = -libpath:$(CELIBPATH)
138 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
139              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
140 !endif
141
142 !if "$(MACHINE)" == "wince-arm-hpc-wce300"
143 CC         = clarm.exe
144 ARCH       = ARM
145 CPU        = ARM
146 TARGETCPU  = ARM
147 CEVersion  = 300
148 OSVERSION  = WCE300
149 PLATFORM   = HPC2000
150 MCFLAGS    = -D _MT -D _DLL -D ARM -D arm -D _arm_ -D _ARM_ \
151              -DPROCESSOR_ARM -DPALM_SIZE \
152              -I $(CELIBDLLDIR)\inc
153 SUBSYS     = -subsystem:windowsce,3.00
154 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
155 LDLIBPATH  = -libpath:$(CELIBPATH)
156 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
157              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
158 !endif
159
160 !if "$(MACHINE)" == "wince-mips-palm-wce211"
161 CC         = clmips.exe
162 ARCH       = MIPS
163 CPU        = MIPS
164 TARGETCPU  = MIPS
165 CEVersion  = 211
166 OSVERSION  = WCE211
167 PLATFORM   = MS Palm Size PC
168 MCFLAGS    = -DMIPS -D_MIPS_ -DPROCESSOR_MIPS -D PALM_SIZE -D _DLL -D _MT \
169              -I $(CELIBDLLDIR)\inc
170 SUBSYS     = -subsystem:windowsce,2.11
171 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
172 LDLIBPATH  = -libpath:$(CELIBPATH)
173 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
174              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
175 !endif
176
177 !if "$(MACHINE)" == "wince-sh3-palm-wce211"
178 CC         = shcl.exe
179 ARCH       = SH3
180 CPU        = SH3
181 TARGETCPU  = SH3
182 CEVersion  = 211
183 OSVERSION  = WCE211
184 PLATFORM   = MS Palm Size PC
185 MCFLAGS    = -D _MT -D _DLL -DSH3 -D_SH3_ -DSHx -DPROCESSOR_SH3 -DPALM_SIZE \
186              -I $(CELIBDLLDIR)\inc
187 SUBSYS     = -subsystem:windowsce,2.11
188 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
189 LDLIBPATH  = -libpath:$(CELIBPATH)
190 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
191              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
192 !endif
193
194 !if "$(MACHINE)" == "wince-x86em-palm-wce211"
195 CC         = cl.exe
196 ARCH       = X86EM
197 CPU        = X86
198 TARGETCPU  = X86
199 CEVersion  = 211
200 OSVERSION  = WCE211
201 PLATFORM   = MS Palm Size PC
202 MCFLAGS    = -MDd -DX86 -D_X86_ -DPROCESSOR_X86 \
203              -D_WIN32_WCE_EMULATION -DPALM_SIZE \
204              -I $(CELIBDLLDIR)\inc
205 MACH       = -machine:x86
206 SUBSYS     = -subsystem:windows
207 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
208 LDLIBPATH  = -libpath:$(CELIBPATH)
209 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
210              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
211 !endif
212
213 !if "$(MACHINE)" == "wince-x86em-pocket-wce300"
214 CC         = cl.exe
215 ARCH       = X86EM
216 CPU        = X86
217 TARGETCPU  = X86
218 CEVersion  = 300
219 OSVERSION  = WCE300
220 PLATFORM   = MS Pocket PC
221 MCFLAGS    = -DX86 -D_X86_ -DPROCESSOR_X86 -D _MT -D _DLL \
222              -D_WIN32_WCE_EMULATION -DPALM_SIZE -DPOCKET_SIZE \
223              -I $(CELIBDLLDIR)\inc 
224 MACH       = -machine:x86
225 SUBSYS     = -subsystem:windows
226 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
227 LDLIBPATH  = -libpath:$(CELIBPATH)
228 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
229              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
230 !endif
231
232 !if "$(MACHINE)" == "wince-mips-pocket-wce300"
233 CC         = clmips.exe
234 ARCH       = MIPS
235 CPU        = MIPS
236 TARGETCPU  = MIPS
237 CEVersion  = 300
238 OSVERSION  = WCE300
239 PLATFORM   = MS Pocket PC
240 MCFLAGS    = -D MIPS -D mips -D _MIPS_ -D _mips_ -DPROCESSOR_MIPS \
241              -D _MT -D _DLL -DPALM_SIZE -DPOCKET_SIZE \
242              -I $(CELIBDLLDIR)\inc 
243 MACH       = -machine:mips
244 SUBSYS     = -subsystem:windowsce,3.00
245 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
246 LDLIBPATH  = -libpath:$(CELIBPATH)
247 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
248              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
249 !endif
250
251 !if "$(MACHINE)" == "wince-sh3-pocket-wce300"
252 CC         = shcl.exe
253 ARCH       = SH3
254 CPU        = SH3
255 TARGETCPU  = SH3
256 CEVersion  = 300
257 OSVERSION  = WCE300
258 PLATFORM   = MS Pocket PC
259 MCFLAGS    = -D _MT -D _DLL -DSH3 -D_SH3_ -DSHx -DPROCESSOR_SH3 \
260              -DPALM_SIZE -DPOCKET_SIZE \
261              -I $(CELIBDLLDIR)\inc 
262 MACH       = -machine:mips
263 SUBSYS     = -subsystem:windowsce,3.00
264 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
265 LDLIBPATH  = -libpath:$(CELIBPATH)
266 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
267              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
268 !endif
269
270 !if "$(MACHINE)" == "wince-arm-pocket-wce300"
271 CC         = clarm.exe
272 ARCH       = ARM
273 CPU        = ARM
274 TARGETCPU  = ARM
275 CEVersion  = 300
276 OSVERSION  = WCE300
277 PLATFORM   = MS Pocket PC
278 MCFLAGS    = -D ARM -D arm -D _ARM_ -D _arm_ -DPROCESSOR_ARM \
279              -D _MT -D _DLL -DPALM_SIZE -DPOCKET_SIZE \
280              -I $(CELIBDLLDIR)\inc 
281 MACH       = -machine:arm
282 SUBSYS     = -subsystem:windowsce,3.00
283 CELIBPATH  = $(CELIBDLLDIR)\$(MACHINE)-release
284 LDLIBPATH  = -libpath:$(CELIBPATH)
285 STARTOBJS  = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
286              $(CECONSOLEDIR)/$(MACHINE)/w32console.obj
287 !endif
288
289 ######################################################################
290 # common section
291
292 CEDEFS    = -D_WINDOWS -D_WIN32_WCE=$(CEVersion) -DUNDER_CE=$(CEVersion) \
293             $(MCFLAGS) -D PERL
294
295 #CEDEFS    = $(CEDEFS) -DDEBUGGING_OPS
296
297 CECFLAGS  = $(CEDEFS)
298
299 !if "$(CFG)" == "DEBUG"
300 CECFLAGS  = $(CECFLAGS) -Zi -Od
301 !endif
302
303 !if "$(CFG)" == "RELEASE"
304 # -O2 and -Ot give internal compiler error in perl.c and lexer.
305 # Also the dll cannot be loaded by perl.exe...
306 CECFLAGS  = $(CECFLAGS)
307 !endif
308
309 RCDEFS    = /l 0x407 /r /d "UNICODE" /d UNDER_CE=$(CEVersion) \
310             /d _WIN32_WCE=$(CEVersion)
311
312 PATH=$(CEPATH);$(PATH)
313
314 INCLUDE=$(WCEROOT)\$(OSVERSION)\$(PLATFORM)\include
315 LIB=$(WCEROOT)\$(OSVERSION)\$(PLATFORM)\lib\$(ARCH)
316
317 ######################################################################
318
319 !message
320 !message Compiling for $(MACHINE)
321 !message LIB=$(LIB)
322 !message INCLUDE=$(INCLUDE)
323 !message PATH=$(CEPATH)
324 !message
325
326 ######################################################################
327 #
328 # Additional compiler flags can be specified here.
329 #
330
331 BUILDOPT        = $(BUILDOPT) $(CECFLAGS)
332
333 ##################### CHANGE THESE ONLY IF YOU MUST #####################
334
335 !IF "$(CRYPT_SRC)$(CRYPT_LIB)" == ""
336 D_CRYPT         = undef
337 !ELSE
338 D_CRYPT         = define
339 CRYPT_FLAG      = -DHAVE_DES_FCRYPT
340 !ENDIF
341
342 !IF "$(PERL_MALLOC)" == ""
343 PERL_MALLOC     = undef
344 !ENDIF
345
346 !IF "$(USE_5005THREADS)" == ""
347 USE_5005THREADS = undef
348 !ENDIF
349
350 !IF "$(USE_5005THREADS)" == "define"
351 USE_ITHREADS    = undef
352 !ENDIF
353
354 !IF "$(USE_IMP_SYS)" == "define"
355 PERL_MALLOC     = undef
356 !ENDIF
357
358 !IF "$(USE_MULTI)" == ""
359 USE_MULTI       = undef
360 !ENDIF
361
362 !IF "$(USE_ITHREADS)" == ""
363 USE_ITHREADS    = undef
364 !ENDIF
365
366 !IF "$(USE_IMP_SYS)" == ""
367 USE_IMP_SYS     = undef
368 !ENDIF
369
370 !IF "$(USE_PERLCRT)" == ""
371 USE_PERLCRT     = undef
372 !ENDIF
373
374 !IF "$(USE_IMP_SYS)$(USE_MULTI)$(USE_5005THREADS)" == "defineundefundef"
375 USE_MULTI       = define
376 !ENDIF
377
378 !IF "$(USE_ITHREADS)$(USE_MULTI)" == "defineundef"
379 USE_MULTI       = define
380 USE_5005THREADS = undef
381 !ENDIF
382
383 !IF "$(USE_MULTI)$(USE_5005THREADS)" != "undefundef"
384 BUILDOPT        = $(BUILDOPT) -DPERL_IMPLICIT_CONTEXT
385 !ENDIF
386
387 !IF "$(USE_IMP_SYS)" != "undef"
388 BUILDOPT        = $(BUILDOPT) -DPERL_IMPLICIT_SYS
389 !ENDIF
390
391 # new option - automatically defined in perl.h...
392 #BUILDOPT        = $(BUILDOPT) -DUSE_ENVIRON_ARRAY
393
394 PROCESSOR_ARCHITECTURE = $(TARGETCPU)
395 ARCHNAME        = $(PLATFORM)-$(OSVERSION)-$(PROCESSOR_ARCHITECTURE)
396 # unused yet
397 ARCHDIR         = ..\lib\$(ARCHNAME)
398 COREDIR         = ..\lib\CORE
399 AUTODIR         = ..\lib\auto
400 LIBDIR          = ..\lib
401 EXTDIR          = ..\ext
402 PODDIR          = ..\pod
403 EXTUTILSDIR     = $(LIBDIR)\ExtUtils
404
405 LINK32          = link
406 LIB32           = $(LINK32) -lib
407 RSC             = rc
408
409 INCLUDES        = -I.\include -I. -I..
410 DEFINES         = -DWIN32 -D_CONSOLE -DNO_STRICT $(CRYPT_FLAG) $(CECFLAGS)
411 LOCDEFS         = -DPERLDLL -DPERL_CORE
412 CXX_FLAG        = -TP -GX
413
414 PERLEXE_RES     = perl.res
415 PERLDLL_RES     =
416
417 !if "$(CFG)" == "RELEASE"
418 CELIB           = celib.lib
419 !endif
420
421 !if "$(CFG)" == "DEBUG"
422 CELIB           = celib.lib
423 !endif
424
425 CELIBS          = -nodefaultlib \
426                   winsock.lib $(CELIB) coredll.lib
427
428 !if $(CEVersion) > 200
429 CELIBS          = $(CELIBS) corelibc.lib 
430 !else
431 CELIBS          = $(CELIBS) msvcrt.lib 
432 !endif
433
434 LIBBASEFILES    = $(CRYPT_LIB) $(CELIBS)
435
436 LIBFILES        = $(LIBBASEFILES) $(LIBC)
437
438 CFLAGS          = -nologo -Gf -W3 $(INCLUDES) $(DEFINES) $(LOCDEFS) \
439                 $(PCHFLAGS) $(OPTIMIZE)
440
441 LINK_FLAGS      = -nologo -machine:$(PROCESSOR_ARCHITECTURE)
442
443 !if "$(CFG)" == "DEBUG"
444 LINK_FLAGS      = $(LINK_FLAGS) -debug:full -pdb:none 
445 !endif
446
447 OBJOUT_FLAG     = -Fo
448 EXEOUT_FLAG     = -Fe
449
450 CFLAGS_O        = $(CFLAGS) $(BUILDOPT)
451
452 o = .obj
453
454 #
455 # Rules
456
457
458 .SUFFIXES : .c $(o) .dll .lib .exe .rc .res
459
460 .c$(o):
461         $(CC) -c -I$(<D) $(CFLAGS_O) $(OBJOUT_FLAG)$@ $<
462
463 .y.c:
464         $(NOOP)
465
466 $(o).dll:
467         $(LINK32) -dll $(SUBSYS) $(LDLIBPATH) \
468             -implib:$(*B).lib -def:$(*B).def \
469             -out:$@ $(LINK_FLAGS) $(LIBFILES) $< $(LIBPERL)  
470
471 .rc.res:
472         $(RSC) -i.. $<
473
474 # This must be relative to ../lib/CORE, else the ext dll build fails...
475 PERLIMPLIB_EXP  = ..\..\wince\$(MACHINE)\perl$(PV).lib
476 PERLIMPLIB      = $(PERLCEDIR)\$(MACHINE)\perl$(PV).lib
477 PERLDLL         = $(MACHINE)\perl$(PV).dll
478
479 DLLDIR          = $(MACHINE)\dll
480 PERLEXE         = $(MACHINE)\perl.exe
481
482 CONFIGPM        = ..\lib\Config.pm
483 MINIMOD         = ..\lib\ExtUtils\Miniperl.pm
484
485 MAKE            = nmake -nologo
486
487 CFGSH_TMPL      = config.ce
488 CFGH_TMPL       = config_H.ce
489
490 #
491 # filenames given to xsubpp must have forward slashes (since it puts
492 # full pathnames in #line strings)
493 XSUBPP          = $(NTPERL) -I..\..\lib ..\$(EXTUTILSDIR)\xsubpp \
494                 -C++ -prototypes
495
496 MICROCORE_SRC   =               \
497                 ..\av.c         \
498                 ..\deb.c        \
499                 ..\doio.c       \
500                 ..\doop.c       \
501                 ..\dump.c       \
502                 ..\globals.c    \
503                 ..\gv.c         \
504                 ..\hv.c         \
505                 ..\mg.c         \
506                 ..\op.c         \
507                 ..\perl.c       \
508                 ..\perlapi.c    \
509                 ..\perly.c      \
510                 ..\pp.c         \
511                 ..\pp_ctl.c     \
512                 ..\pp_hot.c     \
513                 ..\pp_pack.c    \
514                 ..\pp_sort.c    \
515                 ..\pp_sys.c     \
516                 ..\regcomp.c    \
517                 ..\regexec.c    \
518                 ..\run.c        \
519                 ..\scope.c      \
520                 ..\sharedsv.c   \
521                 ..\sv.c         \
522                 ..\taint.c      \
523                 ..\toke.c       \
524                 ..\universal.c  \
525                 ..\utf8.c       \
526                 ..\util.c       \
527                 ..\xsutils.c
528
529 EXTRACORE_SRC   = $(EXTRACORE_SRC) perllib.c
530
531 !IF "$(PERL_MALLOC)" == "define"
532 EXTRACORE_SRC   = $(EXTRACORE_SRC) ..\malloc.c
533 !ENDIF
534
535 EXTRACORE_SRC   = $(EXTRACORE_SRC) ..\perlio.c
536
537 WIN32_SRC       =               \
538                 .\wince.c       \
539                 .\wincesck.c    \
540                 .\win32thread.c 
541
542 !IF "$(CRYPT_SRC)" != ""
543 WIN32_SRC       = $(WIN32_SRC) .\$(CRYPT_SRC)
544 !ENDIF
545
546 DLL_SRC         = $(DYNALOADER).c
547
548 CORE_NOCFG_H    =               \
549                 ..\av.h         \
550                 ..\cop.h        \
551                 ..\cv.h         \
552                 ..\dosish.h     \
553                 ..\embed.h      \
554                 ..\form.h       \
555                 ..\gv.h         \
556                 ..\handy.h      \
557                 ..\hv.h         \
558                 ..\iperlsys.h   \
559                 ..\mg.h         \
560                 ..\nostdio.h    \
561                 ..\op.h         \
562                 ..\opcode.h     \
563                 ..\perl.h       \
564                 ..\perlapi.h    \
565                 ..\perlsdio.h   \
566                 ..\perlsfio.h   \
567                 ..\perly.h      \
568                 ..\pp.h         \
569                 ..\proto.h      \
570                 ..\regexp.h     \
571                 ..\scope.h      \
572                 ..\sharedsv.h   \
573                 ..\sv.h         \
574                 ..\thread.h     \
575                 ..\unixish.h    \
576                 ..\utf8.h       \
577                 ..\util.h       \
578                 ..\warnings.h   \
579                 ..\XSUB.h       \
580                 ..\EXTERN.h     \
581                 ..\perlvars.h   \
582                 ..\intrpvar.h   \
583                 ..\thrdvar.h    \
584                 .\include\dirent.h      \
585                 .\include\netdb.h       \
586                 .\include\sys\socket.h  \
587                 .\win32.h
588
589 !IF "$(USE_SETARGV)" != ""
590 SETARGV_OBJ     = setargv$(o)
591 !ENDIF
592
593 DYNAMIC_EXT     = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \
594                 Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \
595                 Sys/Hostname
596
597 STATIC_EXT      = DynaLoader
598 NONXS_EXT       = Errno
599
600 DYNALOADER      = $(EXTDIR)\DynaLoader\DynaLoader
601 SOCKET          = $(EXTDIR)\Socket\Socket
602 IO              = $(EXTDIR)\IO\IO
603 DUMPER          = $(EXTDIR)\Data\Dumper\Dumper
604 #
605 FCNTL           = $(EXTDIR)\Fcntl\Fcntl
606 OPCODE          = $(EXTDIR)\Opcode\Opcode
607 SDBM_FILE       = $(EXTDIR)\SDBM_File\SDBM_File
608 POSIX           = $(EXTDIR)\POSIX\POSIX
609 ATTRS           = $(EXTDIR)\attrs\attrs
610 THREAD          = $(EXTDIR)\Thread\Thread
611 B               = $(EXTDIR)\B\B
612 RE              = $(EXTDIR)\re\re
613 ERRNO           = $(EXTDIR)\Errno\Errno
614 PEEK            = $(EXTDIR)\Devel\Peek\Peek
615 BYTELOADER      = $(EXTDIR)\ByteLoader\ByteLoader
616 DPROF           = $(EXTDIR)\Devel\DProf\DProf
617 GLOB            = $(EXTDIR)\File\Glob\Glob
618 HOSTNAME        = $(EXTDIR)\Sys\Hostname\Hostname
619 SOCKET_DLL      = $(AUTODIR)\Socket\Socket.dll
620 FCNTL_DLL       = $(AUTODIR)\Fcntl\Fcntl.dll
621 OPCODE_DLL      = $(AUTODIR)\Opcode\Opcode.dll
622 SDBM_FILE_DLL   = $(AUTODIR)\SDBM_File\SDBM_File.dll
623 IO_DLL          = $(AUTODIR)\IO\IO.dll
624 POSIX_DLL       = $(AUTODIR)\POSIX\POSIX.dll
625 ATTRS_DLL       = $(AUTODIR)\attrs\attrs.dll
626 THREAD_DLL      = $(AUTODIR)\Thread\Thread.dll
627 B_DLL           = $(AUTODIR)\B\B.dll
628 DUMPER_DLL      = $(AUTODIR)\Data\Dumper\Dumper.dll
629 PEEK_DLL        = $(AUTODIR)\Devel\Peek\Peek.dll
630 RE_DLL          = $(AUTODIR)\re\re.dll
631 BYTELOADER_DLL  = $(AUTODIR)\ByteLoader\ByteLoader.dll
632 DPROF_DLL       = $(AUTODIR)\Devel\DProf\DProf.dll
633 GLOB_DLL        = $(AUTODIR)\File\Glob\Glob.dll
634 HOSTNAME_DLL    = $(AUTODIR)\Sys\Hostname\Hostname.dll
635
636 ERRNO_PM        = $(LIBDIR)\Errno.pm
637
638 EXTENSION_C     =               \
639                 $(SOCKET).c     \
640                 $(FCNTL).c      \
641                 $(OPCODE).c     \
642                 $(SDBM_FILE).c  \
643                 $(IO).c         \
644                 $(POSIX).c      \
645                 $(ATTRS).c      \
646                 $(THREAD).c     \
647                 $(RE).c         \
648                 $(DUMPER).c     \
649                 $(PEEK).c       \
650                 $(B).c          \
651                 $(BYTELOADER).c \
652                 $(DPROF).c      \
653                 $(GLOB).c       \
654                 $(HOSTNAME).c
655
656 EXTENSION_DLL   =               \
657                 $(SOCKET_DLL)   \
658                 $(FCNTL_DLL)    \
659                 $(OPCODE_DLL)   \
660                 $(SDBM_FILE_DLL)\
661                 $(IO_DLL)       \
662                 $(POSIX_DLL)    \
663                 $(ATTRS_DLL)    \
664                 $(DUMPER_DLL)   \
665                 $(PEEK_DLL)     \
666                 $(B_DLL)        \
667                 $(RE_DLL)       \
668                 $(THREAD_DLL)   \
669                 $(BYTELOADER_DLL)       \
670                 $(DPROF_DLL)    \
671                 $(GLOB_DLL)     \
672                 $(HOSTNAME_DLL)
673
674 EXTENSION_PM    =               \
675                 $(ERRNO_PM)
676
677 POD2HTML        = $(PODDIR)\pod2html
678 POD2MAN         = $(PODDIR)\pod2man
679 POD2LATEX       = $(PODDIR)\pod2latex
680 POD2TEXT        = $(PODDIR)\pod2text
681
682 CFG_VARS = \
683  "INST_DRV=$(INST_DRV)" \
684  "INST_TOP=$(INST_TOP)" \
685  "INST_VER=$(INST_VER)" \
686  "INST_ARCH=$(INST_ARCH)" \
687  "archname=$(ARCHNAME)" \
688  "cc=$(CC)" \
689  "ccflags=$(OPTIMIZE) $(DEFINES) $(BUILDOPT)" \
690  "cf_by=Rainer Keuchel" \
691  "cf_email=coyxc@rainer-keuchel.de" \
692  "d_crypt=$(D_CRYPT)" \
693  "d_mymalloc=$(PERL_MALLOC)" \
694  "libs=$(LIBFILES)" \
695  "incpath=$(CCINCDIR)" \
696  "libperl=$(PERLIMPLIB_EXP)" \
697  "libpth=$(LIBPATH)" \
698  "libc=$(LIBC)" \
699  "make=nmake" \
700  "static_ext=$(STATIC_EXT)" \
701  "dynamic_ext=$(DYNAMIC_EXT)" \
702  "nonxs_ext=$(NONXS_EXT)" \
703  "use5005threads=$(USE_5005THREADS)" \
704  "useithreads=$(USE_ITHREADS)" \
705  "usethreads=$(USE_5005THREADS)" \
706  "usemultiplicity=$(USE_MULTI)" \
707  "LINK_FLAGS=$(LDLIBPATH) $(LINK_FLAGS) $(SUBSYS)" \
708  "optimize=$(OPTIMIZE)"
709
710 #
711 # Top targets
712 #
713
714 all: $(MINIMOD) $(CONFIGPM) $(PERLEXE)
715
716 $(DYNALOADER)$(o) : $(DYNALOADER).c $(CORE_H) $(EXTDIR)\DynaLoader\dlutils.c
717
718 $(CONFIGPM): config.h ..\config.sh ..\minimod.pl
719         cd .. && $(NTPERL) configpm
720         -mkdir $(COREDIR)
721         $(XCOPY) ..\*.h $(COREDIR)\*.*
722         $(XCOPY) *.h $(COREDIR)\*.*
723         $(XCOPY) ..\ext\re\re.pm $(LIBDIR)\*.*
724         $(RCOPY) include $(COREDIR)\*.*
725         $(NTPERL) -I..\lib config_h.PL "INST_VER=$(INST_VER)"
726
727 ..\config.sh config.h: config.ce config_sh.PL
728         $(NTPERL) -I..\lib config_sh.PL $(CFG_VARS) config.ce > ..\config.sh
729
730 $(MINIMOD) : ..\minimod.pl
731         cd .. && $(NTPERL) minimod.pl > lib\ExtUtils\Miniperl.pm
732
733 perlmain.c : runperl.c 
734         $(COPY) runperl.c perlmain.c
735
736 $(DYNALOADER).c: $(EXTDIR)\DynaLoader\dl_win32.xs $(CONFIGPM)
737         if not exist $(AUTODIR) mkdir $(AUTODIR)
738         cd $(EXTDIR)\$(*B)
739         $(NTPERL) -I..\..\lib $(*B)_pm.PL
740         $(NTPERL) -I..\..\lib XSLoader_pm.PL
741         cd ..\..\wince
742         $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL)
743         $(XCOPY) $(EXTDIR)\$(*B)\XSLoader.pm $(LIBDIR)\$(NULL)
744         cd $(EXTDIR)\$(*B)
745         $(XSUBPP) dl_win32.xs > $(*B).c
746         cd ..\..\wince
747
748 $(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs
749         $(COPY) dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs
750
751 $(DUMPER_DLL): $(PERLEXE) $(DUMPER).xs
752         cd $(EXTDIR)\Data\$(*B)
753         $(NTPERL) -I..\..\..\lib Makefile.PL INSTALLDIRS=perl
754         $(MAKE)
755         cd ..\..\..\wince
756
757 $(DPROF_DLL): $(PERLEXE) $(DPROF).xs
758         cd $(EXTDIR)\Devel\$(*B)
759         $(NTPERL) -I..\..\..\lib Makefile.PL INSTALLDIRS=perl
760         $(MAKE)
761         cd ..\..\..\wince
762
763 $(GLOB_DLL): $(PERLEXE) $(GLOB).xs
764         cd $(EXTDIR)\File\$(*B)
765         $(NTPERL) -I..\..\..\lib Makefile.PL INSTALLDIRS=perl
766         $(MAKE)
767         cd ..\..\..\wince
768
769 $(PEEK_DLL): $(PERLEXE) $(PEEK).xs
770         cd $(EXTDIR)\Devel\$(*B)
771         $(NTPERL) -I..\..\..\lib Makefile.PL INSTALLDIRS=perl
772         $(MAKE)
773         cd ..\..\..\wince
774
775 $(RE_DLL): $(PERLEXE) $(RE).xs
776         cd $(EXTDIR)\$(*B)
777         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
778         $(MAKE)
779         cd ..\..\wince
780
781 $(B_DLL): $(PERLEXE) $(B).xs
782         cd $(EXTDIR)\$(*B)
783         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
784         $(MAKE)
785         cd ..\..\wince
786
787 $(THREAD_DLL): $(PERLEXE) $(THREAD).xs
788         cd $(EXTDIR)\$(*B)
789         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
790         $(MAKE)
791         cd ..\..\wince
792
793 $(ATTRS_DLL): $(PERLEXE) $(ATTRS).xs
794         cd $(EXTDIR)\$(*B)
795         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
796         $(MAKE)
797         cd ..\..\wince
798
799 $(POSIX_DLL): $(PERLEXE) $(POSIX).xs
800         cd $(EXTDIR)\$(*B)
801         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
802         $(MAKE)
803         cd ..\..\wince
804
805 $(IO_DLL): $(PERLEXE) $(IO).xs
806         cd $(EXTDIR)\$(*B)
807         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
808         $(MAKE)
809         cd ..\..\wince
810
811 $(SDBM_FILE_DLL) : $(PERLEXE) $(SDBM_FILE).xs
812         cd $(EXTDIR)\$(*B)
813         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
814         $(MAKE)
815         cd ..\..\wince
816
817 $(FCNTL_DLL): $(PERLEXE) $(FCNTL).xs
818         cd $(EXTDIR)\$(*B)
819         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
820         $(MAKE)
821         cd ..\..\wince
822
823 $(OPCODE_DLL): $(PERLEXE) $(OPCODE).xs
824         cd $(EXTDIR)\$(*B)
825         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
826         $(MAKE)
827         cd ..\..\wince
828
829 $(SOCKET_DLL): $(PERLEXE) $(SOCKET).xs
830         cd $(EXTDIR)\$(*B)
831         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
832         $(MAKE)
833         cd ..\..\wince
834
835 $(HOSTNAME_DLL): $(PERLEXE) $(HOSTNAME).xs
836         cd $(EXTDIR)\Sys\$(*B)
837         $(NTPERL) -I..\..\..\lib Makefile.PL INSTALLDIRS=perl
838         $(MAKE)
839         cd ..\..\..\wince
840
841 $(BYTELOADER_DLL): $(PERLEXE) $(BYTELOADER).xs
842         cd $(EXTDIR)\$(*B)
843         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
844         $(MAKE)
845         cd ..\..\wince
846
847 $(ERRNO_PM): $(PERLEXE) $(ERRNO)_pm.PL
848         cd $(EXTDIR)\$(*B)
849         $(NTPERL) -I..\..\lib Makefile.PL INSTALLDIRS=perl
850         $(MAKE)
851         cd ..\..\wince
852
853 $(PERLEXE_RES): perl.rc perl.ico
854         rc $(RCDEFS) perl.rc
855
856 clean: 
857         -rm -f $(MACHINE)/dll/*
858         -rm -f $(MACHINE)/*.obj
859         -rm -f $(MACHINE)/*.exe
860         -rm -f $(MACHINE)/*.dll
861         -rm -f $(MACHINE)/*.lib
862         -rm -f ../config.sh ../lib/Config.pm
863         -rm -f config.h perl.res
864
865 !if "$(MACHINE)" == "wince-sh3-hpc"
866 install_perlexe: $(PERLEXE)
867         cedel /speicherkarte2/bin/perl.exe
868         cecopy pc:../perl.exe ce:/speicherkarte2/bin
869
870 install_perldll: $(PERLDLL)
871         cedel /speicherkarte2/bin/perl$(PV).dll
872         cecopy pc:../perl$(PV).dll ce:/speicherkarte2/bin
873
874 install_perl: install_perlexe install_perldll
875
876 test_perl:
877         cecopy pc:test.pl ce:/speicherkarte2/bin
878         ceexec /speicherkarte2/bin/perl.exe /speicherkarte2/bin/test.pl
879 #       ceexec /speicherkarte2/bin/perl.exe -V
880
881 install_lib: ../lib/Config.pm
882         cecopy  pc:../lib/Config.pm ce:/speicherkarte2/usr/lib/perl5
883 !endif
884
885 !if "$(MACHINE)" == "wince-arm-hpc"
886 install_perlexe: $(PERLEXE)
887         -cedel /speicherkarte/bin/perl.exe
888         cecopy pc:$(MACHINE)/perl.exe ce:/speicherkarte/bin
889
890 install_perldll: $(PERLDLL)
891         -cedel /speicherkarte/bin/perl$(PV).dll
892         cecopy pc:$(MACHINE)/perl$(PV).dll ce:/speicherkarte/bin
893
894 install_perl: install_perlexe install_perldll
895
896 test_perl:
897         cecopy pc:test.pl ce:/speicherkarte/bin
898         ceexec /speicherkarte/bin/perl.exe /speicherkarte/bin/test.pl
899 #       ceexec /speicherkarte2/bin/perl.exe -V
900
901 install_lib: ../lib/Config.pm
902         cecopy  pc:../lib/Config.pm ce:/speicherkarte/usr/lib/perl5
903 !endif
904
905 !if "$(MACHINE)" == "wince-mips-hpc"
906 install_perlexe: $(PERLEXE)
907         cecopy pc:../perl.exe ce:/netzwerk/compaq/bin
908
909 install_perldll: $(PERLDLL)
910         cecopy pc:../perl$(PV).dll ce:/netzwerk/compaq/bin
911
912 install_perl: install_perlexe install_perldll
913
914 test_perl:
915         cecopy pc:test.pl ce:/netzwerk/compaq/bin
916         ceexec /netzwerk/compaq/bin/perl.exe /netzwerk/compaq/bin/test.pl
917 #       ceexec /netzwerk/compaq/bin/perl.exe -V
918
919 install_lib: ../lib/Config.pm
920         cecopy  pc:../lib/Config.pm ce:/netzwerk/compaq/usr/lib/perl5
921 !endif
922
923 !if "$(MACHINE)" == "wince-x86em-pocket"
924 install_lib:
925         ftpcopy ../lib/Config.pm ftp!ftp@localhost:/perl/lib
926         ftpcopy ../lib/Exporter.pm ftp!ftp@localhost:/perl/lib
927         ftpcopy ../lib/Exporter/Heavy.pm ftp!ftp@localhost:/perl/lib/Exporter
928
929 install_perlexe: $(PERLEXE)
930         cecopy pc:../perl.exe ce:/netzwerk/compaq/bin
931
932 install_perldll: $(PERLDLL)
933         cecopy pc:../perl$(PV).dll ce:/netzwerk/compaq/bin
934
935 install_perl: install_perlexe install_perldll
936
937 test_perl:
938         echo Not yet
939 !endif
940
941
942 XDLLOBJS = \
943 $(DLLDIR)\av.obj \
944 $(DLLDIR)\deb.obj \
945 $(DLLDIR)\doio.obj \
946 $(DLLDIR)\doop.obj \
947 $(DLLDIR)\dump.obj \
948 $(DLLDIR)\globals.obj \
949 $(DLLDIR)\gv.obj \
950 $(DLLDIR)\hv.obj \
951 $(DLLDIR)\locale.obj \
952 $(DLLDIR)\mg.obj \
953 $(DLLDIR)\numeric.obj \
954 $(DLLDIR)\op.obj \
955 $(DLLDIR)\perl.obj \
956 $(DLLDIR)\perlapi.obj \
957 $(DLLDIR)\perlio.obj \
958 $(DLLDIR)\perly.obj \
959 $(DLLDIR)\pp.obj \
960 $(DLLDIR)\pp_ctl.obj \
961 $(DLLDIR)\pp_hot.obj \
962 $(DLLDIR)\pp_pack.obj \
963 $(DLLDIR)\pp_sort.obj \
964 $(DLLDIR)\pp_sys.obj \
965 $(DLLDIR)\regcomp.obj \
966 $(DLLDIR)\regexec.obj \
967 $(DLLDIR)\run.obj \
968 $(DLLDIR)\scope.obj \
969 $(DLLDIR)\sharedsv.obj \
970 $(DLLDIR)\sv.obj \
971 $(DLLDIR)\taint.obj \
972 $(DLLDIR)\toke.obj \
973 $(DLLDIR)\universal.obj \
974 $(DLLDIR)\utf8.obj \
975 $(DLLDIR)\util.obj \
976 $(DLLDIR)\win32thread.obj \
977 $(DLLDIR)\wince.obj \
978 $(DLLDIR)\wincesck.obj \
979 $(DLLDIR)\xsutils.obj \
980 $(DLLDIR)\perllib.obj \
981 $(DLLDIR)\DynaLoader.obj
982
983 {$(SRCDIR)}.c{$(DLLDIR)}.obj:
984     $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB -Fo$(DLLDIR)\ $<
985
986 {$(SRCDIR)/wince}.c{$(DLLDIR)}.obj:
987     $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB -Fo$(DLLDIR)\ $<
988
989 $(PERLDLL) : $(DLLDIR) perldll.def $(XDLLOBJS) $(PERLDLL_RES)
990         $(LINK32) -dll -def:perldll.def -out:$@ \
991                   $(SUBSYS) $(LDLIBPATH) \
992                   $(LINK_FLAGS) $(LIBFILES) \
993                   $(XDLLOBJS) $(PERLDLL_RES)
994
995 $(DLLDIR) :
996         if not exist "$(DLLDIR)" mkdir "$(DLLDIR)"
997
998 $(DLLDIR)\DynaLoader.obj: $(EXTDIR)\DynaLoader\DynaLoader.c
999     $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB -Fo$(DLLDIR)\ \
1000           $(EXTDIR)\DynaLoader\DynaLoader.c
1001
1002 XPERLEXEOBJS = \
1003 $(MACHINE)\perlmain.obj
1004
1005 $(PERLEXE) : $(PERLDLL) $(CONFIGPM) $(XPERLEXEOBJS) $(PERLEXE_RES) $(STARTOBJS)
1006         $(LINK32) $(SUBSYS) $(LDLIBPATH) \
1007             -entry:wWinMainCRTStartup \
1008             -out:$(MACHINE)\perl.exe \
1009             -stack:0x100000 $(LINK_FLAGS) $(STARTOBJS) $(XPERLEXEOBJS) \
1010             $(PERLIMPLIB) $(PERLEXE_RES) $(LIBFILES)
1011
1012 $(MACHINE)\perlmain.obj : perlmain.c
1013         $(CC) $(CFLAGS_O) -UPERLDLL -Fo$(MACHINE)\ -c perlmain.c
1014
1015 iodll:     $(IO_DLL)
1016 socketdll: $(SOCKET_DLL)
1017 dumperdll: $(DUMPER_DLL)
1018
1019 dlls: socketdll iodll dumperdll
1020         -xmkdir -p $(MACHINE)/lib/auto/IO
1021         cp ../lib/auto/IO/IO.bs $(MACHINE)/lib/auto/IO
1022         cp ../lib/auto/IO/IO.dll $(MACHINE)/lib/auto/IO
1023         -xmkdir $(MACHINE)/lib/auto/Socket
1024         cp ../lib/auto/Socket/Socket.bs $(MACHINE)/lib/auto/Socket
1025         cp ../lib/auto/Socket/Socket.dll $(MACHINE)/lib/auto/Socket
1026         -xmkdir -p $(MACHINE)/lib/auto/Data/Dumper
1027         cp ../lib/auto/Data/Dumper/Dumper.bs $(MACHINE)/lib/auto/Data/Dumper
1028         cp ../lib/auto/Data/Dumper/Dumper.dll $(MACHINE)/lib/auto/Data/Dumper
1029
1030 makedist: all dlls
1031         $(COPY) $(CELIBPATH)\celib.dll $(MACHINE)
1032         cp perl.txt $(MACHINE)
1033         cp registry.bat $(MACHINE)
1034         cp ../lib/Config.pm $(MACHINE)/lib
1035         cd $(MACHINE)
1036         rm -f perl-$(MACHINE).tar.gz
1037         sh -c "tar cf perl-$(MACHINE).tar *.exe *.dll *.txt *.bat lib"
1038         gzip -9 perl-$(MACHINE).tar
1039         mv perl-$(MACHINE).tar.gz h:/freenet/new
1040         cd ..
1041
1042 !if "$(MACHINE)" == "wince-arm-hpc-wce300"
1043 install: all
1044         cecopy pc:$(MACHINE)/perl.exe ce:/speicherkarte/bin
1045         cecopy pc:$(MACHINE)/perl$(PV).dll ce:/speicherkarte/bin
1046 install_dlls: dlls
1047         cecopy pc:../lib/auto/IO/io.dll ce:/speicherkarte/usr/lib/perl5/auto/IO/io.dll
1048 !endif
1049
1050 !if "$(MACHINE)" == "wince-arm-hpc-wce211"
1051 install: all
1052         cecopy pc:$(MACHINE)/perl.exe ce:/speicherkarte/bin
1053         cecopy pc:$(MACHINE)/perl$(PV).dll ce:/speicherkarte/bin
1054 !endif
1055
1056 !if "$(MACHINE)" == "wince-mips-hpc-wce211"
1057 install:
1058         cecopy pc:$(MACHINE)/perl.exe ce:/bin
1059         cecopy pc:$(MACHINE)/perl$(PV).dll ce:/bin
1060 !endif
1061
1062 !if "$(MACHINE)" == "wince-mips-hpc-wce200"
1063 install:
1064         cecopy pc:$(MACHINE)/perl.exe ce:/bin
1065         cecopy pc:$(MACHINE)/perl$(PV).dll ce:/bin
1066 !endif
1067
1068 !if "$(MACHINE)" == "wince-sh3-hpc-wce211"
1069 install:
1070         cecopy pc:$(MACHINE)/perl.exe ce:/speicherkarte2/bin
1071         cecopy pc:$(MACHINE)/perl$(PV).dll ce:/speicherkarte2/bin
1072 !endif
1073
1074 perl.ico:
1075         perl makeico.pl