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