This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add parallelness to win32/GNUmakefile
[perl5.git] / win32 / GNUmakefile
CommitLineData
342634f3 1#
2# Makefile to build perl on Windows using GNU make + gcc + MinGW.
3#
4# This is set up to build a perl.exe that runs off a shared library
16d5aac1 5# (perl523.dll). Also makes individual DLLs for the XS extensions.
342634f3 6#
7# The easiest way to customize the build process is to use parameters like this:
8#
9# c:\dev\perlsrc\win32> gmake INST_TOP=c:\sw\perl CCHOME=c:\sw\mingw USE_64_BIT_INT=define
10
11
12##
13## Make sure you read README.win32 *before* you mess with anything here!
14##
15
16#
17# We set this to point to cmd.exe in case GNU Make finds sh.exe in the path.
18# Comment this line out if necessary
19#
20SHELL := cmd.exe
21
22# define whether you want to use native gcc compiler or cross-compiler
23# possible values: gcc
24# i686-w64-mingw32-gcc
25# x86_64-w64-mingw32-gcc
26GCCBIN := gcc
27
28ifeq ($(GCCBIN),x86_64-w64-mingw32-gcc)
29GCCCROSS := x86_64-w64-mingw32
30endif
31ifeq ($(GCCBIN),i686-w64-mingw32-gcc)
32GCCCROSS := i686-w64-mingw32
33endif
34
35GCCTARGET := $(shell $(GCCBIN) -dumpmachine)
36GCCVER1 := $(shell for /f "delims=. tokens=1,2,3" %%i in ('gcc -dumpversion') do echo %%i)
37GCCVER2 := $(shell for /f "delims=. tokens=1,2,3" %%i in ('gcc -dumpversion') do echo %%j)
38GCCVER3 := $(shell for /f "delims=. tokens=1,2,3" %%i in ('gcc -dumpversion') do echo %%k)
39
40ifeq ($(GCCTARGET),x86_64-w64-mingw32)
41WIN64 := define
42ARCHITECTURE := x64
43endif
44ifeq ($(GCCTARGET),i686-w64-mingw32)
45WIN64 := undef
46ARCHITECTURE := x86
47endif
48
49##
50## Build configuration. Edit the values below to suit your needs.
51##
52
53#
54# Set these to wherever you want "gmake install" to put your
55# newly built perl.
56#
57INST_DRV := c:
58INST_TOP := $(INST_DRV)\perl
59
60#
61# Comment this out if you DON'T want your perl installation to be versioned.
62# This means that the new installation will overwrite any files from the
63# old installation at the same INST_TOP location. Leaving it enabled is
64# the safest route, as perl adds the extra version directory to all the
65# locations it installs files to. If you disable it, an alternative
66# versioned installation can be obtained by setting INST_TOP above to a
67# path that includes an arbitrary version string.
68#
b95300a8 69#INST_VER := \5.23.8
342634f3 70
71#
72# Comment this out if you DON'T want your perl installation to have
73# architecture specific components. This means that architecture-
74# specific files will be installed along with the architecture-neutral
75# files. Leaving it enabled is safer and more flexible, in case you
76# want to build multiple flavors of perl and install them together in
77# the same location. Commenting it out gives you a simpler
78# installation that is easier to understand for beginners.
79#
80#INST_ARCH := \$(ARCHNAME)
81
82#
83# Uncomment this if you want perl to run
84# $Config{sitelibexp}\sitecustomize.pl
85# before anything else. This script can then be set up, for example,
86# to add additional entries to @INC.
87#
88#USE_SITECUST := define
89
90#
91# uncomment to enable multiple interpreters. This is needed for fork()
92# emulation and for thread support, and is auto-enabled by USE_IMP_SYS
93# and USE_ITHREADS below.
94#
95USE_MULTI := define
96
97#
98# Interpreter cloning/threads; now reasonably complete.
99# This should be enabled to get the fork() emulation. This needs (and
100# will auto-enable) USE_MULTI above.
101#
102USE_ITHREADS := define
103
104#
105# uncomment to enable the implicit "host" layer for all system calls
106# made by perl. This is also needed to get fork(). This needs (and
107# will auto-enable) USE_MULTI above.
108#
109USE_IMP_SYS := define
110
111#
112# Comment out next assign to disable perl's I/O subsystem and use compiler's
113# stdio for IO - depending on your compiler vendor and run time library you may
114# then get a number of fails from make test i.e. bugs - complain to them not us ;-).
115# You will also be unable to take full advantage of perl5.8's support for multiple
116# encodings and may see lower IO performance. You have been warned.
117#
118USE_PERLIO := define
119
120#
121# Comment this out if you don't want to enable large file support for
122# some reason. Should normally only be changed to maintain compatibility
123# with an older release of perl.
124#
125USE_LARGE_FILES := define
126
127#
128# Uncomment this if you're building a 32-bit perl and want 64-bit integers.
129# (If you're building a 64-bit perl then you will have 64-bit integers whether
130# or not this is uncommented.)
131# Note: This option is not supported in 32-bit MSVC60 builds.
132#
133#USE_64_BIT_INT := define
134
135#
136# Uncomment this if you want to support the use of long doubles.
137#
138#USE_LONG_DOUBLE :=define
139
140#
bf543eaf
DD
141# Uncomment this if you want to disable looking up values from
142# HKEY_CURRENT_USER\Software\Perl and HKEY_LOCAL_MACHINE\Software\Perl in
143# the Registry.
144#
145#USE_NO_REGISTRY := define
146
147#
148# uncomment next line if you want debug version of perl (big/slow)
342634f3 149# If not enabled, we automatically try to use maximum optimization
150# with all compilers that are known to have a working optimizer.
151#
152#CFG := Debug
153
154#
155# uncomment to enable linking with setargv.obj under the Visual C
156# compiler. Setting this options enables perl to expand wildcards in
157# arguments, but it may be harder to use alternate methods like
158# File::DosGlob that are more powerful. This option is supported only with
159# Visual C.
160#
161#USE_SETARGV := define
162
163#
164# set this if you wish to use perl's malloc
165# WARNING: Turning this on/off WILL break binary compatibility with extensions
166# you may have compiled with/without it. Be prepared to recompile all
167# extensions if you change the default. Currently, this cannot be enabled
168# if you ask for USE_IMP_SYS above.
169#
170#PERL_MALLOC := define
171
172#
173# set this to enable debugging mstats
174# This must be enabled to use the Devel::Peek::mstat() function. This cannot
175# be enabled without PERL_MALLOC as well.
176#
177#DEBUG_MSTATS := define
178
179#
180# set this to additionally provide a statically linked perl-static.exe.
181# Note that dynamic loading will not work with this perl, so you must
182# include required modules statically using the STATIC_EXT or ALL_STATIC
16d5aac1 183# variables below. A static library perl523s.lib will also be created.
342634f3 184# Ordinary perl.exe is not affected by this option.
185#
186#BUILD_STATIC := define
187
188#
189# in addition to BUILD_STATIC the option ALL_STATIC makes *every*
190# extension get statically built
191# This will result in a very large perl executable, but the main purpose
192# is to have proper linking set so as to be able to create miscellaneous
193# executables with different built-in extensions
194#
195#ALL_STATIC := define
196
197#
198# set the install locations of the compiler include/libraries
199# Running VCVARS32.BAT is *required* when using Visual C.
200# Some versions of Visual C don't define MSVCDIR in the environment,
201# so you may have to set CCHOME explicitly (spaces in the path name should
202# not be quoted)
203#
204CCHOME := C:\MinGW
205
206#
207# Following sets $Config{incpath} and $Config{libpth}
208#
209
210ifneq ($(GCCCROSS),)
211CCINCDIR := $(CCHOME)\$(GCCCROSS)\include
212CCLIBDIR := $(CCHOME)\$(GCCCROSS)\lib
213CCDLLDIR := $(CCLIBDIR)
214ARCHPREFIX := $(GCCCROSS)-
215else
216CCINCDIR := $(CCHOME)\include
217CCLIBDIR := $(CCHOME)\lib
218CCDLLDIR := $(CCHOME)\bin
219ARCHPREFIX :=
220endif
221
222#
223# Additional compiler flags can be specified here.
224#
225BUILDOPT := $(BUILDOPTEXTRA)
226
227#
228# This should normally be disabled. Enabling it will disable the File::Glob
229# implementation of CORE::glob.
230#
231#BUILDOPT += -DPERL_EXTERNAL_GLOB
232
233#
234# Perl needs to read scripts in text mode so that the DATA filehandle
235# works correctly with seek() and tell(), or around auto-flushes of
236# all filehandles (e.g. by system(), backticks, fork(), etc).
237#
238# The current version on the ByteLoader module on CPAN however only
239# works if scripts are read in binary mode. But before you disable text
240# mode script reading (and break some DATA filehandle functionality)
241# please check first if an updated ByteLoader isn't available on CPAN.
242#
243BUILDOPT += -DPERL_TEXTMODE_SCRIPTS
244
245#
246# specify semicolon-separated list of extra directories that modules will
247# look for libraries (spaces in path names need not be quoted)
248#
249EXTRALIBDIRS :=
250
251#
252# set this to your email address (perl will guess a value from
253# from your loginname and your hostname, which may not be right)
254#
255#EMAIL :=
256
257##
258## Build configuration ends.
259##
260
261##################### CHANGE THESE ONLY IF YOU MUST #####################
262
263PERL_MALLOC ?= undef
264DEBUG_MSTATS ?= undef
265
266USE_SITECUST ?= undef
267USE_MULTI ?= undef
268USE_ITHREADS ?= undef
269USE_IMP_SYS ?= undef
270USE_PERLIO ?= undef
271USE_LARGE_FILES ?= undef
272USE_64_BIT_INT ?= undef
273USE_LONG_DOUBLE ?= undef
bf543eaf 274USE_NO_REGISTRY ?= undef
342634f3 275
276ifeq ($(USE_IMP_SYS),define)
277PERL_MALLOC = undef
278endif
279
280ifeq ($(PERL_MALLOC),undef)
281DEBUG_MSTATS = undef
282endif
283
284ifeq ($(DEBUG_MSTATS),define)
285BUILDOPT += -DPERL_DEBUGGING_MSTATS
286endif
287
288ifeq ("$(USE_IMP_SYS) $(USE_MULTI)","define undef")
289USE_MULTI = define
290endif
291
292ifeq ("$(USE_ITHREADS) $(USE_MULTI)","define undef")
293USE_MULTI = define
294endif
295
296ifeq ($(USE_SITECUST),define)
297BUILDOPT += -DUSE_SITECUSTOMIZE
298endif
299
300ifneq ($(USE_MULTI),undef)
301BUILDOPT += -DPERL_IMPLICIT_CONTEXT
302endif
303
304ifneq ($(USE_IMP_SYS),undef)
305BUILDOPT += -DPERL_IMPLICIT_SYS
306endif
307
bf543eaf
DD
308ifeq ($(USE_NO_REGISTRY),define)
309BUILDOPT += -DWIN32_NO_REGISTRY
310endif
311
342634f3 312ifeq ($(WIN64),define)
313USE_64_BIT_INT = define
314endif
315
316ifeq ($(USE_MULTI),define)
317ARCHNAME = MSWin32-$(ARCHITECTURE)-multi
318else
319ifeq ($(USE_PERLIO),define)
320ARCHNAME = MSWin32-$(ARCHITECTURE)-perlio
321else
322ARCHNAME = MSWin32-$(ARCHITECTURE)
323endif
324endif
325
326ifeq ($(USE_PERLIO),define)
327BUILDOPT += -DUSE_PERLIO
328endif
329
330ifeq ($(USE_ITHREADS),define)
331ARCHNAME := $(ARCHNAME)-thread
332endif
333
334ifneq ($(WIN64),define)
335ifeq ($(USE_64_BIT_INT),define)
336ARCHNAME := $(ARCHNAME)-64int
337endif
338endif
339
340ifeq ($(USE_LONG_DOUBLE),define)
341ARCHNAME := $(ARCHNAME)-ld
342endif
343
344ARCHDIR = ..\lib\$(ARCHNAME)
345COREDIR = ..\lib\CORE
346AUTODIR = ..\lib\auto
347LIBDIR = ..\lib
348EXTDIR = ..\ext
349DISTDIR = ..\dist
350CPANDIR = ..\cpan
351PODDIR = ..\pod
352HTMLDIR = .\html
353
354#
355INST_SCRIPT = $(INST_TOP)$(INST_VER)\bin
356INST_BIN = $(INST_SCRIPT)$(INST_ARCH)
357INST_LIB = $(INST_TOP)$(INST_VER)\lib
358INST_ARCHLIB = $(INST_LIB)$(INST_ARCH)
359INST_COREDIR = $(INST_ARCHLIB)\CORE
360INST_HTML = $(INST_TOP)$(INST_VER)\html
361
362#
363# Programs to compile, build .lib files and link
364#
365
366MINIBUILDOPT :=
367
368CC = $(ARCHPREFIX)gcc
369LINK32 = $(ARCHPREFIX)g++
370LIB32 = $(ARCHPREFIX)ar rc
371IMPLIB = $(ARCHPREFIX)dlltool
372RSC = $(ARCHPREFIX)windres
373
374ifeq ($(USE_LONG_DOUBLE),define)
375BUILDOPT += -D__USE_MINGW_ANSI_STDIO
376MINIBUILDOPT += -D__USE_MINGW_ANSI_STDIO
377endif
378
379# If you are using GCC, 4.3 or later by default we add the -fwrapv option.
380# See https://rt.perl.org/Ticket/Display.html?id=121505
381#
382GCCWRAPV := $(shell if "$(GCCVER1)"=="4" (if "$(GCCVER2)" geq "3" echo define) else if "$(GCCVER1)" geq "5" (echo define))
383
384ifeq ($(GCCWRAPV),define)
385BUILDOPT += -fwrapv
386MINIBUILDOPT += -fwrapv
387endif
388
389i = .i
390o = .o
391a = .a
392
393#
394# Options
395#
396
bf543eaf 397INCLUDES = -I.\include -I. -I..
342634f3 398DEFINES = -DWIN32
399ifeq ($(WIN64),define)
400DEFINES += -DWIN64 -DCONSERVATIVE
401endif
402LOCDEFS = -DPERLDLL -DPERL_CORE
403SUBSYS = console
404CXX_FLAG = -xc++
405LIBC =
bf543eaf
DD
406LIBFILES = $(LIBC) -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool \
407 -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 \
408 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
342634f3 409
410ifeq ($(CFG),Debug)
411OPTIMIZE = -g -O2 -DDEBUGGING
412LINK_DBG = -g
413else
414OPTIMIZE = -s -O2
415LINK_DBG = -s
416endif
417
418EXTRACFLAGS =
419CFLAGS = $(EXTRACFLAGS) $(INCLUDES) $(DEFINES) $(LOCDEFS) $(OPTIMIZE)
420LINK_FLAGS = $(LINK_DBG) -L"$(INST_COREDIR)" -L"$(CCLIBDIR)"
421OBJOUT_FLAG = -o
422EXEOUT_FLAG = -o
423LIBOUT_FLAG =
bf543eaf 424PDBOUT =
342634f3 425
426BUILDOPT += -fno-strict-aliasing -mms-bitfields
16d5aac1 427MINIBUILDOPT += -fno-strict-aliasing
342634f3 428CFLAGS_O = $(CFLAGS) $(BUILDOPT)
429
430# used to allow local linking flags that are not propogated into Config.pm,
431# currently unused
432# -- BKS, 12-12-1999
433PRIV_LINK_FLAGS =
434BLINK_FLAGS = $(PRIV_LINK_FLAGS) $(LINK_FLAGS)
435
436#################### do not edit below this line #######################
437############# NO USER-SERVICEABLE PARTS BEYOND THIS POINT ##############
438
bf543eaf
DD
439#prevent -j from reaching EUMM/make_ext.pl/"sub makes", Win32 EUMM not parallel
440#compatible yet
441unexport MAKEFLAGS
442
342634f3 443%$(o): %.c
444 $(CC) -c -I$(<D) $(CFLAGS_O) $(OBJOUT_FLAG)$@ $<
445
446%.i: %.c
447 $(CC) -c -I$(<D) $(CFLAGS_O) -E $< >$@
448
449%.c: %.y
450 $(NOOP)
451
452%.dll: %$(o)
453 $(LINK32) -o $@ $(BLINK_FLAGS) $< $(LIBFILES)
454 $(IMPLIB) --input-def $(*F).def --output-lib $(*F).a $@
455
456%.res: %.rc
457 $(RSC) --use-temp-file --include-dir=. --include-dir=.. -O COFF -D INCLUDE_MANIFEST -i $< -o $@
458
459#
460# various targets
bf543eaf
DD
461
462#do not put $(MINIPERL) as a dep/prereq in a rule, instead put $(HAVEMINIPERL)
463#$(MINIPERL) is not a buildable target, use "gmake mp" if you want to just build
464#miniperl alone
342634f3 465MINIPERL = ..\miniperl.exe
bf543eaf 466HAVEMINIPERL = ..\lib\buildcustomize.pl
342634f3 467MINIDIR = mini
468PERLEXE = ..\perl.exe
469WPERLEXE = ..\wperl.exe
470PERLEXESTATIC = ..\perl-static.exe
471STATICDIR = .\static.tmp
472GLOBEXE = ..\perlglob.exe
bf543eaf 473CONFIGPM = ..\lib\Config.pm
342634f3 474GENUUDMAP = ..\generate_uudmap.exe
475ifeq ($(BUILD_STATIC),define)
476PERLSTATIC = static
477else
478ifeq ($(ALL_STATIC),define)
479PERLSTATIC = static
480else
481PERLSTATIC =
482endif
483endif
484
485# Unicode data files generated by mktables
486UNIDATAFILES = ..\lib\unicore\Decomposition.pl ..\lib\unicore\TestProp.pl \
487 ..\lib\unicore\CombiningClass.pl ..\lib\unicore\Name.pl \
488 ..\lib\unicore\UCD.pl ..\lib\unicore\Name.pm \
489 ..\lib\unicore\Heavy.pl ..\lib\unicore\mktables.lst
490
491# Directories of Unicode data files generated by mktables
492UNIDATADIR1 = ..\lib\unicore\To
493UNIDATADIR2 = ..\lib\unicore\lib
494
495PERLEXE_MANIFEST= .\perlexe.manifest
496PERLEXE_ICO = .\perlexe.ico
497PERLEXE_RES = .\perlexe.res
498PERLDLL_RES =
499
500# Nominate a target which causes extensions to be re-built
501# This used to be $(PERLEXE), but at worst it is the .dll that they depend
502# on and really only the interface - i.e. the .def file used to export symbols
503# from the .dll
bf543eaf 504PERLDEP = $(PERLIMPLIB)
342634f3 505
506
507PL2BAT = bin\pl2bat.pl
508
509UTILS = \
510 ..\utils\h2ph \
511 ..\utils\splain \
512 ..\utils\perlbug \
513 ..\utils\pl2pm \
514 ..\utils\c2ph \
515 ..\utils\pstruct \
516 ..\utils\h2xs \
517 ..\utils\perldoc \
518 ..\utils\perlivp \
519 ..\utils\libnetcfg \
520 ..\utils\enc2xs \
bf543eaf 521 ..\utils\encguess \
342634f3 522 ..\utils\piconv \
523 ..\utils\corelist \
524 ..\utils\cpan \
525 ..\utils\xsubpp \
526 ..\utils\pod2html \
527 ..\utils\prove \
528 ..\utils\ptar \
529 ..\utils\ptardiff \
530 ..\utils\ptargrep \
531 ..\utils\zipdetails \
532 ..\utils\shasum \
533 ..\utils\instmodsh \
534 ..\utils\json_pp \
535 bin\exetype.pl \
536 bin\runperl.pl \
537 bin\pl2bat.pl \
538 bin\perlglob.pl \
539 bin\search.pl
540
541CFGSH_TMPL = config.gc
542CFGH_TMPL = config_H.gc
bf543eaf
DD
543PERLIMPLIB = $(COREDIR)\libperl523$(a)
544PERLIMPLIBBASE = libperl523$(a)
16d5aac1 545PERLSTATICLIB = ..\libperl523s$(a)
342634f3 546INT64 = long long
547
548# makedef.pl must be updated if this changes, and this should normally
549# only change when there is an incompatible revision of the public API.
bf543eaf 550PERLEXPLIB = $(COREDIR)\perl523.exp
16d5aac1 551PERLDLL = ..\perl523.dll
342634f3 552
bf543eaf
DD
553# don't let "gmake -n all" try to run "miniperl.exe make_ext.pl"
554PLMAKE = gmake
555
342634f3 556XCOPY = xcopy /f /r /i /d /y
557RCOPY = xcopy /f /r /i /e /d /y
558NOOP = @rem
559
bf543eaf
DD
560#first ones are arrange in compile time order for faster parallel building
561#see #123867 for details
342634f3 562MICROCORE_SRC = \
bf543eaf
DD
563 ..\toke.c \
564 ..\regcomp.c \
565 ..\regexec.c \
566 ..\op.c \
567 ..\sv.c \
568 ..\pp.c \
569 ..\pp_ctl.c \
570 ..\pp_sys.c \
571 ..\pp_pack.c \
572 ..\pp_hot.c \
573 ..\gv.c \
574 ..\perl.c \
575 ..\utf8.c \
576 ..\dump.c \
577 ..\hv.c \
342634f3 578 ..\av.c \
579 ..\caretx.c \
580 ..\deb.c \
581 ..\doio.c \
582 ..\doop.c \
a55c5245 583 ..\dquote.c \
342634f3 584 ..\globals.c \
16d5aac1 585 ..\mro_core.c \
342634f3 586 ..\locale.c \
587 ..\keywords.c \
588 ..\mathoms.c \
589 ..\mg.c \
590 ..\numeric.c \
342634f3 591 ..\pad.c \
342634f3 592 ..\perlapi.c \
593 ..\perly.c \
342634f3 594 ..\pp_sort.c \
342634f3 595 ..\reentr.c \
342634f3 596 ..\run.c \
597 ..\scope.c \
342634f3 598 ..\taint.c \
f832b29a 599 ..\time64.c \
342634f3 600 ..\universal.c \
342634f3 601 ..\util.c
602
603EXTRACORE_SRC += perllib.c
604
605ifeq ($(PERL_MALLOC),define)
606EXTRACORE_SRC += ..\malloc.c
607endif
608
609EXTRACORE_SRC += ..\perlio.c
610
611WIN32_SRC = \
612 .\win32.c \
613 .\win32sck.c \
614 .\win32thread.c \
615 .\fcrypt.c
616
617# We need this for miniperl build unless we override canned
618# config.h #define building mini\*
619#ifeq ($(USE_PERLIO)" == "define"
620WIN32_SRC += .\win32io.c
621#endif
622
623CORE_NOCFG_H = \
624 ..\av.h \
625 ..\cop.h \
626 ..\cv.h \
627 ..\dosish.h \
628 ..\embed.h \
629 ..\form.h \
630 ..\gv.h \
631 ..\handy.h \
632 ..\hv.h \
633 ..\hv_func.h \
634 ..\iperlsys.h \
635 ..\mg.h \
636 ..\nostdio.h \
637 ..\op.h \
638 ..\opcode.h \
639 ..\perl.h \
640 ..\perlapi.h \
641 ..\perlsdio.h \
642 ..\perly.h \
643 ..\pp.h \
644 ..\proto.h \
645 ..\regcomp.h \
646 ..\regexp.h \
647 ..\scope.h \
648 ..\sv.h \
649 ..\thread.h \
650 ..\unixish.h \
651 ..\utf8.h \
652 ..\util.h \
653 ..\warnings.h \
654 ..\XSUB.h \
655 ..\EXTERN.h \
656 ..\perlvars.h \
657 ..\intrpvar.h \
658 .\include\dirent.h \
659 .\include\netdb.h \
660 .\include\sys\errno2.h \
661 .\include\sys\socket.h \
662 .\win32.h
663
664CORE_H = $(CORE_NOCFG_H) .\config.h ..\git_version.h
665
666UUDMAP_H = ..\uudmap.h
667BITCOUNT_H = ..\bitcount.h
668MG_DATA_H = ..\mg_data.h
669GENERATED_HEADERS = $(UUDMAP_H) $(BITCOUNT_H) $(MG_DATA_H)
bf543eaf
DD
670#a stub ppport.h must be generated so building XS modules, .c->.obj wise, will
671#work, so this target also represents creating the COREDIR and filling it
672HAVE_COREDIR = $(COREDIR)\ppport.h
342634f3 673
674MICROCORE_OBJ = $(MICROCORE_SRC:.c=.o)
675CORE_OBJ = $(MICROCORE_OBJ) $(EXTRACORE_SRC:.c=.o)
676WIN32_OBJ = $(WIN32_SRC:.c=.o)
677
678MINICORE_OBJ = $(subst ..\,mini\,$(MICROCORE_OBJ)) \
679 $(MINIDIR)\miniperlmain$(o) \
680 $(MINIDIR)\perlio$(o)
681MINIWIN32_OBJ = $(subst .\,mini\,$(WIN32_OBJ))
682MINI_OBJ = $(MINICORE_OBJ) $(MINIWIN32_OBJ)
683DLL_OBJ = $(DYNALOADER)
342634f3 684
685PERLDLL_OBJ = $(CORE_OBJ)
686PERLEXE_OBJ = perlmain$(o)
687PERLEXEST_OBJ = perlmainst$(o)
688
689PERLDLL_OBJ += $(WIN32_OBJ) $(DLL_OBJ)
690
691ifneq ($(USE_SETARGV),)
692SETARGV_OBJ = setargv$(o)
693endif
694
695ifeq ($(ALL_STATIC),define)
696# some exclusions, unfortunately, until fixed:
697# - MakeMaker isn't capable enough for SDBM_File (small bug)
698STATIC_EXT = * !SDBM_File
699else
700# specify static extensions here, for example:
701# (be sure to include Win32CORE to load Win32 on demand)
702#STATIC_EXT = Win32CORE Cwd Compress/Raw/Zlib
703STATIC_EXT = Win32CORE
704endif
705
706DYNALOADER = ..\DynaLoader$(o)
707
708# vars must be separated by "\t+~\t+", since we're using the tempfile
709# version of config_sh.pl (we were overflowing someone's buffer by
710# trying to fit them all on the command line)
711# -- BKS 10-17-1999
712CFG_VARS = \
713 "INST_TOP=$(INST_TOP)" \
714 "INST_VER=$(INST_VER)" \
715 "INST_ARCH=$(INST_ARCH)" \
716 "archname=$(ARCHNAME)" \
717 "cc=$(CC)" \
718 "ld=$(LINK32)" \
719 "ccflags=$(EXTRACFLAGS) $(OPTIMIZE) $(DEFINES) $(BUILDOPT)" \
bf543eaf 720 "usecplusplus=$(USE_CPLUSPLUS)" \
342634f3 721 "cf_email=$(EMAIL)" \
722 "d_mymalloc=$(PERL_MALLOC)" \
723 "libs=$(LIBFILES)" \
724 "incpath=$(CCINCDIR)" \
bf543eaf 725 "libperl=$(PERLIMPLIBBASE)" \
342634f3 726 "libpth=$(CCLIBDIR);$(EXTRALIBDIRS)" \
727 "libc=$(LIBC)" \
bf543eaf 728 "make=$(PLMAKE)" \
342634f3 729 "_o=$(o)" \
730 "obj_ext=$(o)" \
731 "_a=$(a)" \
732 "lib_ext=$(a)" \
733 "static_ext=$(STATIC_EXT)" \
734 "usethreads=$(USE_ITHREADS)" \
735 "useithreads=$(USE_ITHREADS)" \
736 "usemultiplicity=$(USE_MULTI)" \
737 "useperlio=$(USE_PERLIO)" \
738 "use64bitint=$(USE_64_BIT_INT)" \
739 "uselongdouble=$(USE_LONG_DOUBLE)" \
740 "uselargefiles=$(USE_LARGE_FILES)" \
741 "usesitecustomize=$(USE_SITECUST)" \
742 "LINK_FLAGS=$(LINK_FLAGS)" \
743 "optimize=$(OPTIMIZE)" \
744 "ARCHPREFIX=$(ARCHPREFIX)" \
745 "WIN64=$(WIN64)"
746
747#
748# Top targets
749#
750
751.PHONY: all info
752
bf543eaf 753all : info rebasePE Extensions_nonxs $(PERLSTATIC)
342634f3 754
755info :
756 @echo # GCCBIN=$(GCCBIN)
757 @echo # GCCVER=$(GCCVER1).$(GCCVER2).$(GCCVER3)
758 @echo # GCCTARGET=$(GCCTARGET)
759 @echo # GCCCROSS=$(GCCCROSS)
760 @echo # WIN64=$(WIN64)
761 @echo # ARCHITECTURE=$(ARCHITECTURE)
762 @echo # ARCHNAME=$(ARCHNAME)
bf543eaf 763 @echo # MAKE=$(PLMAKE)
342634f3 764ifeq ($(GCCTARGET),)
765 @echo Unable to detect gcc and/or architecture!
766 @exit 1
767endif
768
769
342634f3 770..\regcomp$(o) : ..\regnodes.h ..\regcharclass.h
771
772..\regexec$(o) : ..\regnodes.h ..\regcharclass.h
773
bf543eaf 774reonly : ..\regnodes.h .\config.h ..\git_version.h $(GLOBEXE) $(HAVEMINIPERL)\
342634f3 775 $(CONFIGPM) $(UNIDATAFILES) $(PERLEXE) \
776 Extensions_reonly
777
778static: $(PERLEXESTATIC)
779
780#----------------------------------------------------------------
781
bf543eaf
DD
782$(GLOBEXE) : perlglob.c
783 $(LINK32) $(OPTIMIZE) $(BLINK_FLAGS) -mconsole -o $@ perlglob.c $(LIBFILES)
784
785..\git_version.h : $(HAVEMINIPERL) ..\make_patchnum.pl
786 $(MINIPERL) -I..\lib ..\make_patchnum.pl
787
788# make sure that we recompile perl.c if the git version changes
789..\perl$(o) : ..\git_version.h
790
791..\config.sh : $(CFGSH_TMPL) config_sh.PL FindExt.pm $(HAVEMINIPERL)
792 $(MINIPERL) -I..\lib config_sh.PL $(CFG_VARS) $(CFGSH_TMPL) > ..\config.sh
793
794# This target is for when changes to the main config.sh happen.
795# Edit config.gc, then make perl using GCC in a minimal configuration (i.e.
796# with MULTI, ITHREADS, IMP_SYS, LARGE_FILES and PERLIO off), then make
797# this target to regenerate config_H.gc.
798regen_config_h:
799 $(MINIPERL) -I..\lib config_sh.PL $(CFG_VARS) $(CFGSH_TMPL) > ..\config.sh
800 $(MINIPERL) -I..\lib ..\configpm --chdir=..
801 -del /f $(CFGH_TMPL)
802 -$(MINIPERL) -I..\lib config_h.PL "ARCHPREFIX=$(ARCHPREFIX)"
803 rename config.h $(CFGH_TMPL)
804
805$(CONFIGPM): ..\config.sh config_h.PL
806 $(MINIPERL) -I..\lib ..\configpm --chdir=..
807 -$(MINIPERL) -I..\lib config_h.PL "ARCHPREFIX=$(ARCHPREFIX)"
808
809.\config.h : $(CONFIGPM)
810
811# See the comment in Makefile.SH explaining this seemingly cranky ordering
812..\lib\buildcustomize.pl : $(MINI_OBJ) ..\write_buildcustomize.pl
813 $(LINK32) -mconsole -o $(MINIPERL) $(BLINK_FLAGS) $(MINI_OBJ) $(LIBFILES)
814 $(MINIPERL) -I..\lib -f ..\write_buildcustomize.pl ..
342634f3 815
bf543eaf
DD
816#convinence target, get a working miniperl
817mp : $(CONFIGPM)
342634f3 818
bf543eaf
DD
819$(MINIDIR)\.exists : $(CFGH_TMPL)
820 if not exist "$(MINIDIR)" mkdir "$(MINIDIR)"
342634f3 821#
822# Copy the template config.h and set configurables at the end of it
823# as per the options chosen and compiler used.
824# Note: This config.h is only used to build miniperl.exe anyway, but
825# it's as well to have its options correct to be sure that it builds
826# and so that it's "-V" options are correct for use by makedef.pl. The
827# real config.h used to build perl.exe is generated from the top-level
828# config_h.SH by config_h.PL (run by miniperl.exe).
829#
bf543eaf
DD
830# MINIDIR generates config.h so miniperl.exe is not rebuilt when the 2nd
831# config.h is generated in CONFIGPM target, see also the comments for $(MINI_OBJ).
342634f3 832 copy $(CFGH_TMPL) config.h
bf543eaf
DD
833 @echo.>> config.h
834 @echo #ifndef _config_h_footer_>> config.h
835 @echo #define _config_h_footer_>> config.h
836 @echo #undef Off_t>> config.h
837 @echo #undef LSEEKSIZE>> config.h
838 @echo #undef Off_t_size>> config.h
839 @echo #undef PTRSIZE>> config.h
840 @echo #undef SSize_t>> config.h
841 @echo #undef HAS_ATOLL>> config.h
842 @echo #undef HAS_STRTOLL>> config.h
843 @echo #undef HAS_STRTOULL>> config.h
844 @echo #undef Size_t_size>> config.h
845 @echo #undef IVTYPE>> config.h
846 @echo #undef UVTYPE>> config.h
847 @echo #undef IVSIZE>> config.h
848 @echo #undef UVSIZE>> config.h
849 @echo #undef NV_PRESERVES_UV>> config.h
850 @echo #undef NV_PRESERVES_UV_BITS>> config.h
851 @echo #undef IVdf>> config.h
852 @echo #undef UVuf>> config.h
853 @echo #undef UVof>> config.h
854 @echo #undef UVxf>> config.h
855 @echo #undef UVXf>> config.h
856 @echo #undef USE_64_BIT_INT>> config.h
857 @echo #undef Gconvert>> config.h
858 @echo #undef HAS_FREXPL>> config.h
859 @echo #undef HAS_ISNANL>> config.h
860 @echo #undef HAS_MODFL>> config.h
861 @echo #undef HAS_MODFL_PROTO>> config.h
862 @echo #undef HAS_SQRTL>> config.h
863 @echo #undef HAS_STRTOLD>> config.h
864 @echo #undef PERL_PRIfldbl>> config.h
865 @echo #undef PERL_PRIgldbl>> config.h
866 @echo #undef PERL_PRIeldbl>> config.h
867 @echo #undef PERL_SCNfldbl>> config.h
868 @echo #undef NVTYPE>> config.h
869 @echo #undef NVSIZE>> config.h
870 @echo #undef LONG_DOUBLESIZE>> config.h
871 @echo #undef NV_OVERFLOWS_INTEGERS_AT>> config.h
872 @echo #undef NVef>> config.h
873 @echo #undef NVff>> config.h
874 @echo #undef NVgf>> config.h
875 @echo #undef USE_LONG_DOUBLE>> config.h
342634f3 876ifeq ($(USE_LARGE_FILES),define)
bf543eaf
DD
877 @echo #define Off_t $(INT64)>> config.h
878 @echo #define LSEEKSIZE ^8>> config.h
879 @echo #define Off_t_size ^8>> config.h
342634f3 880else
bf543eaf
DD
881 @echo #define Off_t long>> config.h
882 @echo #define LSEEKSIZE ^4>> config.h
883 @echo #define Off_t_size ^4>> config.h
342634f3 884endif
885ifeq ($(WIN64),define)
bf543eaf
DD
886 @echo #define PTRSIZE ^8>> config.h
887 @echo #define SSize_t $(INT64)>> config.h
888 @echo #define HAS_ATOLL>> config.h
889 @echo #define HAS_STRTOLL>> config.h
890 @echo #define HAS_STRTOULL>> config.h
891 @echo #define Size_t_size ^8>> config.h
342634f3 892else
bf543eaf
DD
893 @echo #define PTRSIZE ^4>> config.h
894 @echo #define SSize_t int>> config.h
895 @echo #undef HAS_ATOLL>> config.h
896 @echo #undef HAS_STRTOLL>> config.h
897 @echo #undef HAS_STRTOULL>> config.h
898 @echo #define Size_t_size ^4>> config.h
342634f3 899endif
900ifeq ($(USE_64_BIT_INT),define)
bf543eaf
DD
901 @echo #define IVTYPE $(INT64)>> config.h
902 @echo #define UVTYPE unsigned $(INT64)>> config.h
903 @echo #define IVSIZE ^8>> config.h
904 @echo #define UVSIZE ^8>> config.h
342634f3 905ifeq ($(USE_LONG_DOUBLE),define)
bf543eaf
DD
906 @echo #define NV_PRESERVES_UV>> config.h
907 @echo #define NV_PRESERVES_UV_BITS 64>> config.h
342634f3 908else
bf543eaf
DD
909 @echo #undef NV_PRESERVES_UV>> config.h
910 @echo #define NV_PRESERVES_UV_BITS 53>> config.h
342634f3 911endif
bf543eaf
DD
912 @echo #define IVdf "I64d">> config.h
913 @echo #define UVuf "I64u">> config.h
914 @echo #define UVof "I64o">> config.h
915 @echo #define UVxf "I64x">> config.h
916 @echo #define UVXf "I64X">> config.h
917 @echo #define USE_64_BIT_INT>> config.h
342634f3 918else
bf543eaf
DD
919 @echo #define IVTYPE long>> config.h
920 @echo #define UVTYPE unsigned long>> config.h
921 @echo #define IVSIZE ^4>> config.h
922 @echo #define UVSIZE ^4>> config.h
923 @echo #define NV_PRESERVES_UV>> config.h
924 @echo #define NV_PRESERVES_UV_BITS 32>> config.h
925 @echo #define IVdf "ld">> config.h
926 @echo #define UVuf "lu">> config.h
927 @echo #define UVof "lo">> config.h
928 @echo #define UVxf "lx">> config.h
929 @echo #define UVXf "lX">> config.h
930 @echo #undef USE_64_BIT_INT>> config.h
342634f3 931endif
932ifeq ($(USE_LONG_DOUBLE),define)
bf543eaf
DD
933 @echo #define Gconvert(x,n,t,b) sprintf((b),"%%.*""Lg",(n),(x))>> config.h
934 @echo #define HAS_FREXPL>> config.h
935 @echo #define HAS_ISNANL>> config.h
936 @echo #define HAS_MODFL>> config.h
937 @echo #define HAS_MODFL_PROTO>> config.h
938 @echo #define HAS_SQRTL>> config.h
939 @echo #define HAS_STRTOLD>> config.h
940 @echo #define PERL_PRIfldbl "Lf">> config.h
941 @echo #define PERL_PRIgldbl "Lg">> config.h
942 @echo #define PERL_PRIeldbl "Le">> config.h
943 @echo #define PERL_SCNfldbl "Lf">> config.h
944 @echo #define NVTYPE long double>> config.h
342634f3 945ifeq ($(WIN64),define)
bf543eaf
DD
946 @echo #define NVSIZE ^16>> config.h
947 @echo #define LONG_DOUBLESIZE ^16>> config.h
342634f3 948else
bf543eaf
DD
949 @echo #define NVSIZE ^12>> config.h
950 @echo #define LONG_DOUBLESIZE ^12>> config.h
342634f3 951endif
bf543eaf
DD
952 @echo #define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0>> config.h
953 @echo #define NVef "Le">> config.h
954 @echo #define NVff "Lf">> config.h
955 @echo #define NVgf "Lg">> config.h
956 @echo #define USE_LONG_DOUBLE>> config.h
342634f3 957else
bf543eaf
DD
958 @echo #define Gconvert(x,n,t,b) sprintf((b),"%%.*g",(n),(x))>> config.h
959 @echo #undef HAS_FREXPL>> config.h
960 @echo #undef HAS_ISNANL>> config.h
961 @echo #undef HAS_MODFL>> config.h
962 @echo #undef HAS_MODFL_PROTO>> config.h
963 @echo #undef HAS_SQRTL>> config.h
964 @echo #undef HAS_STRTOLD>> config.h
965 @echo #undef PERL_PRIfldbl>> config.h
966 @echo #undef PERL_PRIgldbl>> config.h
967 @echo #undef PERL_PRIeldbl>> config.h
968 @echo #undef PERL_SCNfldbl>> config.h
969 @echo #define NVTYPE double>> config.h
970 @echo #define NVSIZE ^8>> config.h
971 @echo #define LONG_DOUBLESIZE ^8>> config.h
972 @echo #define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0>> config.h
973 @echo #define NVef "e">> config.h
974 @echo #define NVff "f">> config.h
975 @echo #define NVgf "g">> config.h
976 @echo #undef USE_LONG_DOUBLE>> config.h
342634f3 977endif
bf543eaf
DD
978 @echo #endif>> config.h
979#separate line since this is sentinal that this target is done
980 rem. > $(MINIDIR)\.exists
342634f3 981
982$(MINICORE_OBJ) : $(CORE_NOCFG_H)
bf543eaf 983 $(CC) -c $(CFLAGS) $(MINIBUILDOPT) -DPERL_EXTERNAL_GLOB -DPERL_IS_MINIPERL $(OBJOUT_FLAG)$@ $(PDBOUT) ..\$(*F).c
342634f3 984
985$(MINIWIN32_OBJ) : $(CORE_NOCFG_H)
bf543eaf 986 $(CC) -c $(CFLAGS) $(MINIBUILDOPT) -DPERL_IS_MINIPERL $(OBJOUT_FLAG)$@ $(PDBOUT) $(*F).c
342634f3 987
988# -DPERL_IMPLICIT_SYS needs C++ for perllib.c
989# rules wrapped in .IFs break Win9X build (we end up with unbalanced []s unless
bf543eaf 990# unless the .IF is true), so instead we use a .ELSE with the default.
342634f3 991# This is the only file that depends on perlhost.h, vmem.h, and vdir.h
992
bf543eaf 993perllib$(o) : perllib.c perllibst.h .\perlhost.h .\vdir.h .\vmem.h
342634f3 994ifeq ($(USE_IMP_SYS),define)
bf543eaf 995 $(CC) -c -I. $(CFLAGS_O) $(CXX_FLAG) $(OBJOUT_FLAG)$@ $(PDBOUT) perllib.c
342634f3 996else
bf543eaf 997 $(CC) -c -I. $(CFLAGS_O) $(OBJOUT_FLAG)$@ $(PDBOUT) perllib.c
342634f3 998endif
999
1000# 1. we don't want to rebuild miniperl.exe when config.h changes
1001# 2. we don't want to rebuild miniperl.exe with non-default config.h
1002# 3. we can't have miniperl.exe depend on git_version.h, as miniperl creates it
bf543eaf 1003$(MINI_OBJ) : $(MINIDIR)\.exists $(CORE_NOCFG_H)
342634f3 1004
1005$(WIN32_OBJ) : $(CORE_H)
1006
1007$(CORE_OBJ) : $(CORE_H)
1008
1009$(DLL_OBJ) : $(CORE_H)
1010
bf543eaf
DD
1011
1012perllibst.h : $(HAVEMINIPERL) $(CONFIGPM) create_perllibst_h.pl
342634f3 1013 $(MINIPERL) -I..\lib create_perllibst_h.pl
bf543eaf
DD
1014
1015perldll.def : $(HAVEMINIPERL) $(CONFIGPM) ..\embed.fnc ..\makedef.pl
342634f3 1016 $(MINIPERL) -I..\lib -w ..\makedef.pl PLATFORM=win32 $(OPTIMIZE) $(DEFINES) \
1017 $(BUILDOPT) CCTYPE=GCC TARG_DIR=..\ > perldll.def
1018
bf543eaf
DD
1019$(PERLEXPLIB) : $(PERLIMPLIB)
1020
1021$(PERLIMPLIB) : perldll.def
1022 $(IMPLIB) -k -d perldll.def -l $(PERLIMPLIB) -e $(PERLEXPLIB)
1023
1024$(PERLDLL): $(PERLEXPLIB) $(PERLDLL_OBJ) $(PERLDLL_RES) Extensions_static
342634f3 1025 $(LINK32) -mdll -o $@ $(BLINK_FLAGS) \
bf543eaf 1026 $(PERLDLL_OBJ) $(shell type Extensions_static) $(LIBFILES) $(PERLEXPLIB)
342634f3 1027
1028$(PERLSTATICLIB): $(PERLDLL_OBJ) Extensions_static
1029 $(LIB32) $(LIB_FLAGS) $@ $(PERLDLL_OBJ)
1030 if exist $(STATICDIR) rmdir /s /q $(STATICDIR)
1031 for %%i in ($(shell type Extensions_static)) do \
1032 @mkdir $(STATICDIR) && cd $(STATICDIR) && \
1033 $(ARCHPREFIX)ar x ..\%%i && \
1034 $(ARCHPREFIX)ar q ..\$@ *$(o) && \
1035 cd .. && rmdir /s /q $(STATICDIR)
1036 $(XCOPY) $(PERLSTATICLIB) $(COREDIR)
1037
1038$(PERLEXE_RES): perlexe.rc $(PERLEXE_MANIFEST) $(PERLEXE_ICO)
1039
1040$(MINIDIR)\globals$(o) : $(GENERATED_HEADERS)
1041
1042$(UUDMAP_H) $(MG_DATA_H) : $(BITCOUNT_H)
1043
1044$(BITCOUNT_H) : $(GENUUDMAP)
1045 $(GENUUDMAP) $(GENERATED_HEADERS)
1046
bf543eaf
DD
1047$(GENUUDMAP) : ..\mg_raw.h
1048 $(LINK32) $(CFLAGS_O) -o..\generate_uudmap.exe ..\generate_uudmap.c \
1049 $(BLINK_FLAGS) $(LIBFILES)
342634f3 1050
bf543eaf
DD
1051#This generates a stub ppport.h & creates & fills /lib/CORE to allow for XS
1052#building .c->.obj wise (linking is a different thing). This target is AKA
1053#$(HAVE_COREDIR).
1054$(COREDIR)\ppport.h : $(CORE_H)
1055 $(XCOPY) *.h $(COREDIR)\\*.*
1056 $(RCOPY) include $(COREDIR)\\*.*
1057 $(XCOPY) ..\\*.h $(COREDIR)\\*.*
1058 rem. > $@
342634f3 1059
bf543eaf
DD
1060perlmain$(o) : runperl.c $(CONFIGPM)
1061 $(CC) $(subst -DPERLDLL,-UPERLDLL,$(CFLAGS_O)) $(OBJOUT_FLAG)$@ $(PDBOUT) -c runperl.c
342634f3 1062
bf543eaf
DD
1063perlmainst$(o) : runperl.c $(CONFIGPM)
1064 $(CC) $(CFLAGS_O) $(OBJOUT_FLAG)$@ $(PDBOUT) -c runperl.c
342634f3 1065
bf543eaf 1066$(PERLEXE): $(CONFIGPM) $(PERLEXE_OBJ) $(PERLEXE_RES) $(PERLIMPLIB)
342634f3 1067 $(LINK32) -mconsole -o $@ $(BLINK_FLAGS) \
1068 $(PERLEXE_OBJ) $(PERLEXE_RES) $(PERLIMPLIB) $(LIBFILES)
1069 copy $(PERLEXE) $(WPERLEXE)
1070 $(MINIPERL) -I..\lib bin\exetype.pl $(WPERLEXE) WINDOWS
1071
1072$(PERLEXESTATIC): $(PERLSTATICLIB) $(CONFIGPM) $(PERLEXEST_OBJ) $(PERLEXE_RES)
1073 $(LINK32) -mconsole -o $@ $(BLINK_FLAGS) \
1074 $(PERLEXEST_OBJ) $(PERLEXE_RES) $(PERLSTATICLIB) $(LIBFILES)
1075
342634f3 1076#-------------------------------------------------------------------------------
1077# There's no direct way to mark a dependency on
1078# DynaLoader.pm, so this will have to do
342634f3 1079
bf543eaf
DD
1080#most of deps of this target are in DYNALOADER and therefore omitted here
1081Extensions : $(PERLDEP) $(DYNALOADER) $(GLOBEXE)
1082 $(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(PLMAKE)" --dir=$(CPANDIR) --dir=$(DISTDIR) --dir=$(EXTDIR) --dynamic !Unicode/Normalize
1083
1084Extensions_normalize : $(PERLDEP) $(DYNALOADER) $(GLOBEXE) $(UNIDATAFILES)
1085 $(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(PLMAKE)" --dir=$(CPANDIR) --dir=$(DISTDIR) --dir=$(EXTDIR) --dynamic +Unicode/Normalize
1086
1087Extensions_reonly : $(PERLDEP) $(DYNALOADER)
1088 $(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(PLMAKE)" --dir=$(CPANDIR) --dir=$(DISTDIR) --dir=$(EXTDIR) --dynamic +re
342634f3 1089
bf543eaf
DD
1090Extensions_static : ..\make_ext.pl list_static_libs.pl $(CONFIGPM) $(GLOBEXE) $(HAVE_COREDIR)
1091 $(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(PLMAKE)" --dir=$(CPANDIR) --dir=$(DISTDIR) --dir=$(EXTDIR) --static
342634f3 1092 $(MINIPERL) -I..\lib list_static_libs.pl > Extensions_static
1093
bf543eaf
DD
1094Extensions_nonxs : ..\make_ext.pl ..\pod\perlfunc.pod $(CONFIGPM) $(GLOBEXE)
1095 $(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(PLMAKE)" --dir=$(CPANDIR) --dir=$(DISTDIR) --dir=$(EXTDIR) --nonxs !libs
342634f3 1096
bf543eaf
DD
1097#lib must be built, it can't be buildcustomize.pl-ed, and is required for XS building
1098$(DYNALOADER) : ..\make_ext.pl $(CONFIGPM) $(HAVE_COREDIR)
1099 $(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(PLMAKE)" --dir=$(EXTDIR) --dir=$(DISTDIR) --dynaloader lib
342634f3 1100
1101Extensions_clean :
bf543eaf 1102 -if exist $(MINIPERL) $(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(PLMAKE)" --dir=$(CPANDIR) --dir=$(DISTDIR) --dir=$(EXTDIR) --all --target=clean
342634f3 1103
1104Extensions_realclean :
bf543eaf
DD
1105 -if exist $(MINIPERL) $(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(PLMAKE)" --dir=$(CPANDIR) --dir=$(DISTDIR) --dir=$(EXTDIR) --all --target=realclean
1106
1107# all PE files need to be built by the time this target runs, PP files can still
1108# be running in parallel like UNIDATAFILES, this target a placeholder for the
1109# future
1110ifeq ($(BUILD_STATIC),define)
1111rebasePE : Extensions $(PERLDLL) Extensions_normalize $(PERLEXE) $(PERLEXESTATIC)
1112else
1113rebasePE : Extensions $(PERLDLL) Extensions_normalize $(PERLEXE)
1114endif
1115 $(NOOP)
342634f3 1116
1117#-------------------------------------------------------------------------------
1118
bf543eaf 1119doc: $(PERLEXE) $(PERLDLL) ..\pod\perltoc.pod
342634f3 1120 $(PERLEXE) -I..\lib ..\installhtml --podroot=.. --htmldir=$(HTMLDIR) \
1121 --podpath=pod:lib:utils --htmlroot="file://$(subst :,|,$(INST_HTML))"\
1122 --recurse
1123
1124..\utils\Makefile: $(CONFIGPM) ..\utils\Makefile.PL
1125 $(MINIPERL) -I..\lib ..\utils\Makefile.PL ..
1126
1127# Note that this next section is parsed (and regenerated) by pod/buildtoc
1128# so please check that script before making structural changes here
bf543eaf
DD
1129utils: $(HAVEMINIPERL) ..\utils\Makefile
1130 cd ..\utils && $(PLMAKE) PERL=$(MINIPERL)
342634f3 1131 copy ..\README.aix ..\pod\perlaix.pod
1132 copy ..\README.amiga ..\pod\perlamiga.pod
1133 copy ..\README.android ..\pod\perlandroid.pod
1134 copy ..\README.bs2000 ..\pod\perlbs2000.pod
1135 copy ..\README.ce ..\pod\perlce.pod
1136 copy ..\README.cn ..\pod\perlcn.pod
1137 copy ..\README.cygwin ..\pod\perlcygwin.pod
1138 copy ..\README.dos ..\pod\perldos.pod
1139 copy ..\README.freebsd ..\pod\perlfreebsd.pod
1140 copy ..\README.haiku ..\pod\perlhaiku.pod
1141 copy ..\README.hpux ..\pod\perlhpux.pod
1142 copy ..\README.hurd ..\pod\perlhurd.pod
1143 copy ..\README.irix ..\pod\perlirix.pod
1144 copy ..\README.jp ..\pod\perljp.pod
1145 copy ..\README.ko ..\pod\perlko.pod
1146 copy ..\README.linux ..\pod\perllinux.pod
1147 copy ..\README.macos ..\pod\perlmacos.pod
1148 copy ..\README.macosx ..\pod\perlmacosx.pod
1149 copy ..\README.netware ..\pod\perlnetware.pod
1150 copy ..\README.openbsd ..\pod\perlopenbsd.pod
1151 copy ..\README.os2 ..\pod\perlos2.pod
1152 copy ..\README.os390 ..\pod\perlos390.pod
1153 copy ..\README.os400 ..\pod\perlos400.pod
1154 copy ..\README.plan9 ..\pod\perlplan9.pod
1155 copy ..\README.qnx ..\pod\perlqnx.pod
1156 copy ..\README.riscos ..\pod\perlriscos.pod
1157 copy ..\README.solaris ..\pod\perlsolaris.pod
1158 copy ..\README.symbian ..\pod\perlsymbian.pod
1159 copy ..\README.synology ..\pod\perlsynology.pod
1160 copy ..\README.tru64 ..\pod\perltru64.pod
1161 copy ..\README.tw ..\pod\perltw.pod
1162 copy ..\README.vos ..\pod\perlvos.pod
1163 copy ..\README.win32 ..\pod\perlwin32.pod
af8a293f 1164 copy ..\pod\perldelta.pod ..\pod\perl5238delta.pod
bf543eaf 1165 $(MINIPERL) -I..\lib $(PL2BAT) $(UTILS)
342634f3 1166 $(MINIPERL) -I..\lib ..\autodoc.pl ..
1167 $(MINIPERL) -I..\lib ..\pod\perlmodlib.PL -q ..
1168
bf543eaf 1169..\pod\perltoc.pod: $(PERLEXE) $(PERLDLL) Extensions Extensions_nonxs Extensions_normalize utils
342634f3 1170 $(PERLEXE) -f ..\pod\buildtoc -q
1171
1172# Note that the pod cleanup in this next section is parsed (and regenerated
1173# by pod/buildtoc so please check that script before making changes here
1174
1175distclean: realclean
1176 -del /f $(MINIPERL) $(PERLEXE) $(PERLDLL) $(GLOBEXE) \
1177 $(PERLIMPLIB) ..\miniperl$(a) $(PERLEXESTATIC) $(PERLSTATICLIB)
1178 -del /f $(LIBDIR)\Encode.pm $(LIBDIR)\encoding.pm $(LIBDIR)\Errno.pm
1179 -del /f $(LIBDIR)\Config.pod $(LIBDIR)\POSIX.pod $(LIBDIR)\threads.pm
1180 -del /f $(LIBDIR)\.exists $(LIBDIR)\attributes.pm $(LIBDIR)\DynaLoader.pm
1181 -del /f $(LIBDIR)\Fcntl.pm $(LIBDIR)\IO.pm $(LIBDIR)\Opcode.pm
1182 -del /f $(LIBDIR)\ops.pm $(LIBDIR)\Safe.pm
1183 -del /f $(LIBDIR)\SDBM_File.pm $(LIBDIR)\Socket.pm $(LIBDIR)\POSIX.pm
1184 -del /f $(LIBDIR)\B.pm $(LIBDIR)\O.pm $(LIBDIR)\re.pm
1185 -del /f $(LIBDIR)\File\Glob.pm
1186 -del /f $(LIBDIR)\Storable.pm
1187 -del /f $(LIBDIR)\Sys\Hostname.pm
1188 -del /f $(LIBDIR)\Time\HiRes.pm
1189 -del /f $(LIBDIR)\Unicode\Normalize.pm
1190 -del /f $(LIBDIR)\Math\BigInt\FastCalc.pm
1191 -del /f $(LIBDIR)\Win32.pm
1192 -del /f $(LIBDIR)\Win32CORE.pm
1193 -del /f $(LIBDIR)\Win32API\File.pm
1194 -del /f $(LIBDIR)\Win32API\File\cFile.pc
1195 -del /f $(LIBDIR)\buildcustomize.pl
1196 -del /f $(DISTDIR)\XSLoader\XSLoader.pm
1197 -del /f *.def *.map
1198 -if exist $(LIBDIR)\App rmdir /s /q $(LIBDIR)\App
1199 -if exist $(LIBDIR)\Archive rmdir /s /q $(LIBDIR)\Archive
1200 -if exist $(LIBDIR)\Attribute rmdir /s /q $(LIBDIR)\Attribute
1201 -if exist $(LIBDIR)\autodie rmdir /s /q $(LIBDIR)\autodie
1202 -if exist $(LIBDIR)\Carp rmdir /s /q $(LIBDIR)\Carp
1203 -if exist $(LIBDIR)\Compress rmdir /s /q $(LIBDIR)\Compress
1204 -if exist $(LIBDIR)\Config\Perl rmdir /s /q $(LIBDIR)\Config\Perl
1205 -if exist $(LIBDIR)\CPAN rmdir /s /q $(LIBDIR)\CPAN
1206 -if exist $(LIBDIR)\Data rmdir /s /q $(LIBDIR)\Data
1207 -if exist $(LIBDIR)\Devel rmdir /s /q $(LIBDIR)\Devel
1208 -if exist $(LIBDIR)\Digest rmdir /s /q $(LIBDIR)\Digest
1209 -if exist $(LIBDIR)\Encode rmdir /s /q $(LIBDIR)\Encode
1210 -if exist $(LIBDIR)\encoding rmdir /s /q $(LIBDIR)\encoding
1211 -if exist $(LIBDIR)\Exporter rmdir /s /q $(LIBDIR)\Exporter
1212 -if exist $(LIBDIR)\ExtUtils\CBuilder rmdir /s /q $(LIBDIR)\ExtUtils\CBuilder
1213 -if exist $(LIBDIR)\ExtUtils\Command rmdir /s /q $(LIBDIR)\ExtUtils\Command
1214 -if exist $(LIBDIR)\ExtUtils\Constant rmdir /s /q $(LIBDIR)\ExtUtils\Constant
1215 -if exist $(LIBDIR)\ExtUtils\Liblist rmdir /s /q $(LIBDIR)\ExtUtils\Liblist
1216 -if exist $(LIBDIR)\ExtUtils\MakeMaker rmdir /s /q $(LIBDIR)\ExtUtils\MakeMaker
1217 -if exist $(LIBDIR)\ExtUtils\ParseXS rmdir /s /q $(LIBDIR)\ExtUtils\ParseXS
1218 -if exist $(LIBDIR)\ExtUtils\Typemaps rmdir /s /q $(LIBDIR)\ExtUtils\Typemaps
1219 -if exist $(LIBDIR)\File\Spec rmdir /s /q $(LIBDIR)\File\Spec
1220 -if exist $(LIBDIR)\Filter rmdir /s /q $(LIBDIR)\Filter
1221 -if exist $(LIBDIR)\Hash rmdir /s /q $(LIBDIR)\Hash
1222 -if exist $(LIBDIR)\HTTP rmdir /s /q $(LIBDIR)\HTTP
1223 -if exist $(LIBDIR)\I18N rmdir /s /q $(LIBDIR)\I18N
1224 -if exist $(LIBDIR)\IO rmdir /s /q $(LIBDIR)\IO
1225 -if exist $(LIBDIR)\IPC rmdir /s /q $(LIBDIR)\IPC
1226 -if exist $(LIBDIR)\JSON rmdir /s /q $(LIBDIR)\JSON
1227 -if exist $(LIBDIR)\List rmdir /s /q $(LIBDIR)\List
1228 -if exist $(LIBDIR)\Locale rmdir /s /q $(LIBDIR)\Locale
1229 -if exist $(LIBDIR)\Math rmdir /s /q $(LIBDIR)\Math
1230 -if exist $(LIBDIR)\Memoize rmdir /s /q $(LIBDIR)\Memoize
1231 -if exist $(LIBDIR)\MIME rmdir /s /q $(LIBDIR)\MIME
1232 -if exist $(LIBDIR)\Module rmdir /s /q $(LIBDIR)\Module
1233 -if exist $(LIBDIR)\Net\FTP rmdir /s /q $(LIBDIR)\Net\FTP
1234 -if exist $(LIBDIR)\Params rmdir /s /q $(LIBDIR)\Params
1235 -if exist $(LIBDIR)\Parse rmdir /s /q $(LIBDIR)\Parse
1236 -if exist $(LIBDIR)\Perl rmdir /s /q $(LIBDIR)\Perl
1237 -if exist $(LIBDIR)\PerlIO rmdir /s /q $(LIBDIR)\PerlIO
1238 -if exist $(LIBDIR)\Pod\Perldoc rmdir /s /q $(LIBDIR)\Pod\Perldoc
1239 -if exist $(LIBDIR)\Pod\Simple rmdir /s /q $(LIBDIR)\Pod\Simple
1240 -if exist $(LIBDIR)\Pod\Text rmdir /s /q $(LIBDIR)\Pod\Text
1241 -if exist $(LIBDIR)\Scalar rmdir /s /q $(LIBDIR)\Scalar
1242 -if exist $(LIBDIR)\Search rmdir /s /q $(LIBDIR)\Search
1243 -if exist $(LIBDIR)\Sub rmdir /s /q $(LIBDIR)\Sub
1244 -if exist $(LIBDIR)\Sys rmdir /s /q $(LIBDIR)\Sys
1245 -if exist $(LIBDIR)\TAP rmdir /s /q $(LIBDIR)\TAP
1246 -if exist $(LIBDIR)\Term rmdir /s /q $(LIBDIR)\Term
1247 -if exist $(LIBDIR)\Test rmdir /s /q $(LIBDIR)\Test
1248 -if exist $(LIBDIR)\Text rmdir /s /q $(LIBDIR)\Text
1249 -if exist $(LIBDIR)\Thread rmdir /s /q $(LIBDIR)\Thread
1250 -if exist $(LIBDIR)\threads rmdir /s /q $(LIBDIR)\threads
1251 -if exist $(LIBDIR)\Tie\Hash rmdir /s /q $(LIBDIR)\Tie\Hash
1252 -if exist $(LIBDIR)\Unicode\Collate rmdir /s /q $(LIBDIR)\Unicode\Collate
1253 -if exist $(LIBDIR)\Unicode\Collate\Locale rmdir /s /q $(LIBDIR)\Unicode\Collate\Locale
1254 -if exist $(LIBDIR)\version rmdir /s /q $(LIBDIR)\version
1255 -if exist $(LIBDIR)\VMS rmdir /s /q $(LIBDIR)\VMS
1256 -if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API
1257 -if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS
1258 -cd $(PODDIR) && del /f *.html *.bat roffitall \
af8a293f 1259 perl5238delta.pod perlaix.pod perlamiga.pod perlandroid.pod \
342634f3 1260 perlapi.pod perlbs2000.pod perlce.pod perlcn.pod perlcygwin.pod \
1261 perldos.pod perlfreebsd.pod perlhaiku.pod perlhpux.pod \
1262 perlhurd.pod perlintern.pod perlirix.pod perljp.pod perlko.pod \
1263 perllinux.pod perlmacos.pod perlmacosx.pod perlmodlib.pod \
1264 perlnetware.pod perlopenbsd.pod perlos2.pod perlos390.pod \
1265 perlos400.pod perlplan9.pod perlqnx.pod perlriscos.pod \
1266 perlsolaris.pod perlsymbian.pod perlsynology.pod perltoc.pod \
1267 perltru64.pod perltw.pod perluniprops.pod perlvos.pod \
1268 perlwin32.pod
1269 -cd ..\utils && del /f h2ph splain perlbug pl2pm c2ph pstruct h2xs \
bf543eaf 1270 perldoc perlivp libnetcfg enc2xs encguess piconv cpan *.bat \
342634f3 1271 xsubpp pod2html instmodsh json_pp prove ptar ptardiff ptargrep shasum corelist zipdetails
1272 -del /f ..\config.sh perlmain.c dlutils.c config.h.new \
1273 perlmainst.c
1274 -del /f $(CONFIGPM)
1275 -del /f ..\lib\Config_git.pl
1276 -del /f "bin\*.bat"
1277 -del /f perllibst.h
1278 -del /f $(PERLEXE_RES) perl.base
1279 -cd .. && del /s *$(a) *.map *.pdb *.ilk *.bs *$(o) .exists pm_to_blib ppport.h
1280 -cd $(EXTDIR) && del /s *.def Makefile Makefile.old
1281 -cd $(DISTDIR) && del /s *.def Makefile Makefile.old
1282 -cd $(CPANDIR) && del /s *.def Makefile Makefile.old
1283 -del /s ..\utils\Makefile
1284 -if exist $(AUTODIR) rmdir /s /q $(AUTODIR)
1285 -if exist $(COREDIR) rmdir /s /q $(COREDIR)
1286 -if exist pod2htmd.tmp del pod2htmd.tmp
1287 -if exist $(HTMLDIR) rmdir /s /q $(HTMLDIR)
1288 -del /f ..\t\test_state
1289
1290install : all installbare installhtml
1291
1292installbare : utils ..\pod\perltoc.pod
1293 $(PERLEXE) ..\installperl
1294 if exist $(WPERLEXE) $(XCOPY) $(WPERLEXE) $(INST_BIN)\$(NULL)
1295 if exist $(PERLEXESTATIC) $(XCOPY) $(PERLEXESTATIC) $(INST_BIN)\$(NULL)
1296 $(XCOPY) $(GLOBEXE) $(INST_BIN)\$(NULL)
1297 if exist ..\perl*.pdb $(XCOPY) ..\perl*.pdb $(INST_BIN)\$(NULL)
1298 $(XCOPY) "bin\*.bat" $(INST_SCRIPT)\$(NULL)
1299
1300installhtml : doc
1301 $(RCOPY) $(HTMLDIR)\*.* $(INST_HTML)\$(NULL)
1302
1303inst_lib : $(CONFIGPM)
1304 $(RCOPY) ..\lib $(INST_LIB)\$(NULL)
1305
bf543eaf
DD
1306$(UNIDATAFILES) : ..\pod\perluniprops.pod
1307
1308..\pod\perluniprops.pod: ..\lib\unicore\mktables $(CONFIGPM)
1309 $(MINIPERL) -I..\lib ..\lib\unicore\mktables -C ..\lib\unicore -P ..\pod -maketest -makelist -p
342634f3 1310
bf543eaf 1311minitest : $(HAVEMINIPERL) $(GLOBEXE) $(CONFIGPM) $(UNIDATAFILES) utils
342634f3 1312 $(XCOPY) $(MINIPERL) ..\t\$(NULL)
1313 if exist ..\t\perl.exe del /f ..\t\perl.exe
1314 rename ..\t\miniperl.exe perl.exe
1315 $(XCOPY) $(GLOBEXE) ..\t\$(NULL)
1316 attrib -r "..\t\*.*"
1317 cd ..\t && \
1318 $(MINIPERL) -I..\lib harness base/*.t comp/*.t cmd/*.t io/*.t opbasic/*.t op/*.t pragma/*.t
1319
1320test-prep : all utils ..\pod\perltoc.pod
1321 $(XCOPY) $(PERLEXE) ..\t\$(NULL)
1322 $(XCOPY) $(PERLDLL) ..\t\$(NULL)
1323 $(XCOPY) $(GLOBEXE) ..\t\$(NULL)
1324# If building with gcc versions 4.x.x or greater, then
1325# the GCC helper DLL will also need copied to the test directory.
1326# The name of the dll can change, depending upon which vendor has supplied
1327# your compiler, and upon the values of "x".
1328# libstdc++-6.dll is copied if it exists as it, too, may then be needed.
1329# Without this copying, the op/taint.t test script will fail.
1330 if exist $(CCDLLDIR)\libgcc_s_seh-1.dll $(XCOPY) $(CCDLLDIR)\libgcc_s_seh-1.dll ..\t\$(NULL)
1331 if exist $(CCDLLDIR)\libgcc_s_sjlj-1.dll $(XCOPY) $(CCDLLDIR)\libgcc_s_sjlj-1.dll ..\t\$(NULL)
1332 if exist $(CCDLLDIR)\libgcc_s_dw2-1.dll $(XCOPY) $(CCDLLDIR)\libgcc_s_dw2-1.dll ..\t\$(NULL)
1333 if exist $(CCDLLDIR)\libstdc++-6.dll $(XCOPY) $(CCDLLDIR)\libstdc++-6.dll ..\t\$(NULL)
1334 if exist $(CCDLLDIR)\libwinpthread-1.dll $(XCOPY) $(CCDLLDIR)\libwinpthread-1.dll ..\t\$(NULL)
1335
1336test : test-prep
1337 set PERL_STATIC_EXT=$(STATIC_EXT) && \
1338 cd ..\t && $(PERLEXE) -I..\lib harness $(TEST_SWITCHES) $(TEST_FILES)
1339
1340test_porting : test-prep
1341 set PERL_STATIC_EXT=$(STATIC_EXT) && \
1342 cd ..\t && $(PERLEXE) -I..\lib harness $(TEST_SWITCHES) porting\*.t ..\lib\diagnostics.t
1343
1344test-reonly : reonly utils
1345 $(XCOPY) $(PERLEXE) ..\t\$(NULL)
1346 $(XCOPY) $(PERLDLL) ..\t\$(NULL)
1347 $(XCOPY) $(GLOBEXE) ..\t\$(NULL)
bf543eaf 1348 cd ..\t && perl.exe harness $(OPT) -re \bpat\\/ $(EXTRA)
342634f3 1349
1350regen :
bf543eaf 1351 cd .. && regen.pl
342634f3 1352
1353test-notty : test-prep
1354 set PERL_STATIC_EXT=$(STATIC_EXT) && \
1355 set PERL_SKIP_TTY_TEST=1 && \
bf543eaf 1356 cd ..\t && perl.exe harness $(TEST_SWITCHES) $(TEST_FILES)
342634f3 1357
1358_test :
1359 $(XCOPY) $(PERLEXE) ..\t\$(NULL)
1360 $(XCOPY) $(PERLDLL) ..\t\$(NULL)
1361 $(XCOPY) $(GLOBEXE) ..\t\$(NULL)
1362 set PERL_STATIC_EXT=$(STATIC_EXT) && \
bf543eaf 1363 cd ..\t && perl.exe harness $(TEST_SWITCHES) $(TEST_FILES)
342634f3 1364
1365_clean :
1366 -@erase miniperlmain$(o)
1367 -@erase $(MINIPERL)
1368 -@erase perlglob$(o)
1369 -@erase perlmain$(o)
1370 -@erase perlmainst$(o)
342634f3 1371 -@erase /f config.h
1372 -@erase /f ..\git_version.h
1373 -@erase $(GLOBEXE)
1374 -@erase $(PERLEXE)
1375 -@erase $(WPERLEXE)
1376 -@erase $(PERLEXESTATIC)
1377 -@erase $(PERLSTATICLIB)
1378 -@erase $(PERLDLL)
1379 -@erase $(CORE_OBJ)
1380 -@erase $(GENUUDMAP) $(GENUUDMAP_OBJ) $(GENERATED_HEADERS)
1381 -if exist $(MINIDIR) rmdir /s /q $(MINIDIR)
1382 -if exist $(UNIDATADIR1) rmdir /s /q $(UNIDATADIR1)
1383 -if exist $(UNIDATADIR2) rmdir /s /q $(UNIDATADIR2)
1384 -@erase $(UNIDATAFILES)
1385 -@erase $(WIN32_OBJ)
1386 -@erase $(DLL_OBJ)
1387 -@erase ..\*$(o) ..\*$(a) ..\*.exp *$(o) *$(a) *.exp *.res
1388 -@erase ..\t\*.exe ..\t\*.dll ..\t\*.bat
1389 -@erase *.ilk
bf543eaf 1390 -@erase *.pdb ..\*.pdb
342634f3 1391 -@erase Extensions_static
1392
1393clean : Extensions_clean _clean
1394
1395realclean : Extensions_realclean _clean
1396
1397# Handy way to run perlbug -ok without having to install and run the
1398# installed perlbug. We don't re-run the tests here - we trust the user.
1399# Please *don't* use this unless all tests pass.
1400# If you want to report test failures, use "gmake nok" instead.
bf543eaf
DD
1401ok: utils $(PERLEXE) $(PERLDLL) Extensions_nonxs Extensions
1402 $(PERLEXE) ..\utils\perlbug -ok -s "(UNINSTALLED)"
1403
1404okfile: utils $(PERLEXE) $(PERLDLL) Extensions_nonxs Extensions
1405 $(PERLEXE) ..\utils\perlbug -ok -s "(UNINSTALLED)" -F perl.ok
342634f3 1406
bf543eaf
DD
1407nok: utils $(PERLEXE) $(PERLDLL) Extensions_nonxs Extensions
1408 $(PERLEXE) ..\utils\perlbug -nok -s "(UNINSTALLED)"
342634f3 1409
bf543eaf
DD
1410nokfile: utils $(PERLEXE) $(PERLDLL) Extensions_nonxs Extensions
1411 $(PERLEXE) ..\utils\perlbug -nok -s "(UNINSTALLED)" -F perl.nok
342634f3 1412