2 # Makefile to build perl on Windows NT using Microsoft NMAKE.
4 # Visual C++ 2.0 through 6.0 (and possibly newer versions)
5 # MS Platform SDK 64-bit compiler and tools **experimental**
7 # This is set up to build a perl.exe that runs off a shared library
8 # (perl59.dll). Also makes individual DLLs for the XS extensions.
12 ## Make sure you read README.win32 *before* you mess with anything here!
16 ## Build configuration. Edit the values below to suit your needs.
20 # Set these to wherever you want "nmake install" to put your
24 INST_TOP = $(INST_DRV)\perl
27 # Comment this out if you DON'T want your perl installation to be versioned.
28 # This means that the new installation will overwrite any files from the
29 # old installation at the same INST_TOP location. Leaving it enabled is
30 # the safest route, as perl adds the extra version directory to all the
31 # locations it installs files to. If you disable it, an alternative
32 # versioned installation can be obtained by setting INST_TOP above to a
33 # path that includes an arbitrary version string.
38 # Comment this out if you DON'T want your perl installation to have
39 # architecture specific components. This means that architecture-
40 # specific files will be installed along with the architecture-neutral
41 # files. Leaving it enabled is safer and more flexible, in case you
42 # want to build multiple flavors of perl and install them together in
43 # the same location. Commenting it out gives you a simpler
44 # installation that is easier to understand for beginners.
46 #INST_ARCH = \$(ARCHNAME)
49 # Uncomment this if you want perl to run
50 # $Config{sitelibexp}\sitecustomize.pl
51 # before anything else. This script can then be set up, for example,
52 # to add additional entries to @INC.
54 #USE_SITECUST = define
57 # uncomment to enable multiple interpreters. This is need for fork()
58 # emulation and for thread support.
63 # Beginnings of interpreter cloning/threads; now reasonably complete.
64 # This should be enabled to get the fork() emulation. This needs
70 # uncomment to enable the implicit "host" layer for all system calls
71 # made by perl. This needs USE_MULTI above. This is also needed to
77 # Comment out next assign to disable perl's I/O subsystem and use compiler's
78 # stdio for IO - depending on your compiler vendor and run time library you may
79 # then get a number of fails from make test i.e. bugs - complain to them not us ;-).
80 # You will also be unable to take full advantage of perl5.8's support for multiple
81 # encodings and may see lower IO performance. You have been warned.
85 # Comment this out if you don't want to enable large file support for
86 # some reason. Should normally only be changed to maintain compatibility
87 # with an older release of perl.
88 USE_LARGE_FILES = define
91 # uncomment one of the following lines if you are using either
92 # Visual C++ 2.x or Visual C++ 6.x (aka Visual Studio 98)
98 # uncomment next line if you want debug version of perl (big,slow)
99 # If not enabled, we automatically try to use maximum optimization
100 # with all compilers that are known to have a working optimizer.
105 # uncomment to enable use of PerlCRT.DLL when using the Visual C compiler.
106 # It has patches that fix known bugs in older versions of MSVCRT.DLL.
107 # This currently requires VC 5.0 with Service Pack 3 or later.
108 # Get it from CPAN at http://www.cpan.org/authors/id/D/DO/DOUGL/
109 # and follow the directions in the package to install.
111 # Not recommended if you have VC 6.x and you're not running Windows 9x.
113 #USE_PERLCRT = define
116 # uncomment to enable linking with setargv.obj under the Visual C
117 # compiler. Setting this options enables perl to expand wildcards in
118 # arguments, but it may be harder to use alternate methods like
119 # File::DosGlob that are more powerful. This option is supported only with
122 #USE_SETARGV = define
125 # if you want to have the crypt() builtin function implemented, leave this or
126 # CRYPT_LIB uncommented. The fcrypt.c file named here contains a suitable
127 # version of des_fcrypt().
132 # if you didn't set CRYPT_SRC and if you have des_fcrypt() available in a
133 # library, uncomment this, and make sure the library exists (see README.win32)
134 # Specify the full pathname of the library.
136 #CRYPT_LIB = fcrypt.lib
139 # set this if you wish to use perl's malloc
140 # WARNING: Turning this on/off WILL break binary compatibility with extensions
141 # you may have compiled with/without it. Be prepared to recompile all
142 # extensions if you change the default. Currently, this cannot be enabled
143 # if you ask for USE_IMP_SYS above.
145 #PERL_MALLOC = define
148 # set this to enable debugging mstats
149 # This must be enabled to use the Devel::Peek::mstat() function. This cannot
150 # be enabled without PERL_MALLOC as well.
152 #DEBUG_MSTATS = define
156 # set the install locations of the compiler include/libraries
157 # Running VCVARS32.BAT is *required* when using Visual C.
158 # Some versions of Visual C don't define MSVCDIR in the environment,
159 # so you may have to set CCHOME explicitly (spaces in the path name should
164 CCINCDIR = $(CCHOME)\include
165 CCLIBDIR = $(CCHOME)\lib
168 # Additional compiler flags can be specified here.
170 BUILDOPT = $(BUILDOPTEXTRA)
173 # Adding -DPERL_HASH_SEED_EXPLICIT will disable randomization of Perl's
174 # internal hash function unless the PERL_HASH_SEED environment variable is set.
175 # Alternatively, adding -DNO_HASH_SEED will completely disable the
176 # randomization feature.
177 # The latter is required to maintain binary compatibility with Perl 5.8.0.
179 #BUILDOPT = $(BUILDOPT) -DPERL_HASH_SEED_EXPLICIT
180 #BUILDOPT = $(BUILDOPT) -DNO_HASH_SEED
183 # This should normally be disabled. Adding -DPERL_POLLUTE enables support
184 # for old symbols by default, at the expense of extreme pollution. You most
185 # probably just want to build modules that won't compile with
186 # perl Makefile.PL POLLUTE=1
187 # instead of enabling this. Please report such modules to the respective
190 #BUILDOPT = $(BUILDOPT) -DPERL_POLLUTE
193 # This should normally be disabled. Enabling it will disable the File::Glob
194 # implementation of CORE::glob.
196 #BUILDOPT = $(BUILDOPT) -DPERL_EXTERNAL_GLOB
199 # This should normally be disabled. Enabling it causes perl to read scripts
200 # in text mode (which is the 5.005 behavior) and will break ByteLoader.
202 #BUILDOPT = $(BUILDOPT) -DPERL_TEXTMODE_SCRIPTS
205 # specify semicolon-separated list of extra directories that modules will
206 # look for libraries (spaces in path names need not be quoted)
211 # set this to your email address (perl will guess a value from
212 # from your loginname and your hostname, which may not be right)
217 ## Build configuration ends.
220 ##################### CHANGE THESE ONLY IF YOU MUST #####################
222 !IF "$(CRYPT_SRC)$(CRYPT_LIB)" == ""
226 CRYPT_FLAG = -DHAVE_DES_FCRYPT
229 !IF "$(USE_IMP_SYS)" == "define"
234 !IF "$(PERL_MALLOC)" == ""
239 !IF "$(DEBUG_MSTATS)" == ""
243 !IF "$(DEBUG_MSTATS)" == "define"
244 BUILDOPT = $(BUILDOPT) -DPERL_DEBUGGING_MSTATS
247 !IF "$(USE_SITECUST)" == ""
251 !IF "$(USE_MULTI)" == ""
255 !IF "$(USE_ITHREADS)" == ""
259 !IF "$(USE_IMP_SYS)" == ""
263 !IF "$(USE_PERLIO)" == ""
267 !IF "$(USE_LARGE_FILES)" == ""
268 USE_LARGE_FILES = undef
271 !IF "$(USE_PERLCRT)" == ""
275 !IF "$(USE_IMP_SYS)$(USE_MULTI)" == "defineundef"
279 !IF "$(USE_ITHREADS)$(USE_MULTI)" == "defineundef"
283 !IF "$(USE_SITECUST)" == "define"
284 BUILDOPT = $(BUILDOPT) -DUSE_SITECUSTOMIZE
287 !IF "$(USE_MULTI)" != "undef"
288 BUILDOPT = $(BUILDOPT) -DPERL_IMPLICIT_CONTEXT
291 !IF "$(USE_IMP_SYS)" != "undef"
292 BUILDOPT = $(BUILDOPT) -DPERL_IMPLICIT_SYS
295 !IF "$(PROCESSOR_ARCHITECTURE)" == ""
296 PROCESSOR_ARCHITECTURE = x86
300 !IF "$(PROCESSOR_ARCHITEW6432)" != ""
301 PROCESSOR_ARCHITECTURE = $(PROCESSOR_ARCHITEW6432)
304 !IF "$(PROCESSOR_ARCHITECTURE)" == "IA64"
312 !IF "$(USE_MULTI)" == "define"
313 ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE)-multi
315 !IF "$(USE_PERLIO)" == "define"
316 ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE)-perlio
318 ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE)
322 !IF "$(USE_PERLIO)" == "define"
323 BUILDOPT = $(BUILDOPT) -DUSE_PERLIO
326 !IF "$(USE_ITHREADS)" == "define"
327 ARCHNAME = $(ARCHNAME)-thread
330 # Visual Studio 98 specific
331 !IF "$(CCTYPE)" == "MSVC60"
333 # VC 6.0 can load the socket dll on demand. Makes the test suite
334 # run in about 10% less time.
335 DELAYLOAD = -DELAYLOAD:ws2_32.dll -DELAYLOAD:shell32.dll delayimp.lib
338 ARCHDIR = ..\lib\$(ARCHNAME)
339 COREDIR = ..\lib\CORE
340 AUTODIR = ..\lib\auto
344 EXTUTILSDIR = $(LIBDIR)\ExtUtils
347 INST_SCRIPT = $(INST_TOP)$(INST_VER)\bin
348 INST_BIN = $(INST_SCRIPT)$(INST_ARCH)
349 INST_LIB = $(INST_TOP)$(INST_VER)\lib
350 INST_ARCHLIB = $(INST_LIB)$(INST_ARCH)
351 INST_COREDIR = $(INST_ARCHLIB)\CORE
352 INST_POD = $(INST_LIB)\pod
353 INST_HTML = $(INST_TOP)$(INST_VER)\html
356 # Programs to compile, build .lib files and link
361 LIB32 = $(LINK32) -lib
368 INCLUDES = -I$(COREDIR) -I.\include -I. -I..
369 #PCHFLAGS = -Fpc:\temp\vcmoduls.pch -YX
370 DEFINES = -DWIN32 -D_CONSOLE -DNO_STRICT $(CRYPT_FLAG)
371 LOCDEFS = -DPERLDLL -DPERL_CORE
375 !IF "$(USE_PERLCRT)" != "define"
381 !IF "$(CFG)" == "Debug"
382 ! IF "$(CCTYPE)" == "MSVC20"
383 OPTIMIZE = -Od -MD -Z7 -DDEBUGGING
385 OPTIMIZE = -Od -MD -Zi -DDEBUGGING
389 OPTIMIZE = -MD -Zi -DNDEBUG
390 # we enable debug symbols in release builds also
391 LINK_DBG = -debug -opt:ref,icf
392 # you may want to enable this if you want COFF symbols in the executables
393 # in addition to the PDB symbols. The default Dr. Watson that ships with
394 # Windows can use the the former but not latter. The free WinDbg can be
395 # installed to get better stack traces from just the PDB symbols, so we
396 # avoid the bloat of COFF symbols by default.
397 #LINK_DBG = $(LINK_DBG) -debugtype:both
398 ! IF "$(WIN64)" == "define"
399 # enable Whole Program Optimizations (WPO) and Link Time Code Generation (LTCG)
400 OPTIMIZE = $(OPTIMIZE) -Ox -GL
401 LINK_DBG = $(LINK_DBG) -ltcg
403 # -O1 yields smaller code, which turns out to be faster than -O2 on x86
404 OPTIMIZE = $(OPTIMIZE) -O1
405 #OPTIMIZE = $(OPTIMIZE) -O2
409 !IF "$(WIN64)" == "define"
410 DEFINES = $(DEFINES) -DWIN64 -DCONSERVATIVE
411 OPTIMIZE = $(OPTIMIZE) -Wp64 -Op
414 !IF "$(USE_PERLCRT)" != "define"
415 BUILDOPT = $(BUILDOPT) -DPERL_MSVCRT_READFIX
418 LIBBASEFILES = $(CRYPT_LIB) \
419 oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib \
420 comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib \
421 netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib \
424 # win64 doesn't have some libs
425 !IF "$(WIN64)" != "define"
426 LIBBASEFILES = $(LIBBASEFILES) odbc32.lib odbccp32.lib
429 # we add LIBC here, since we may be using PerlCRT.dll
430 LIBFILES = $(LIBBASEFILES) $(LIBC)
432 CFLAGS = -nologo -Gf -W3 $(INCLUDES) $(DEFINES) $(LOCDEFS) \
433 $(PCHFLAGS) $(OPTIMIZE)
434 LINK_FLAGS = -nologo -nodefaultlib $(LINK_DBG) \
435 -libpath:"$(INST_COREDIR)" \
436 -machine:$(PROCESSOR_ARCHITECTURE)
440 CFLAGS_O = $(CFLAGS) $(BUILDOPT)
442 #################### do not edit below this line #######################
443 ############# NO USER-SERVICEABLE PARTS BEYOND THIS POINT ##############
451 .SUFFIXES : .c $(o) .dll .lib .exe .rc .res
454 $(CC) -c -I$(<D) $(CFLAGS_O) $(OBJOUT_FLAG)$@ $<
460 $(LINK32) -dll -subsystem:windows -implib:$(*B).lib -def:$(*B).def \
461 -out:$@ $(LINK_FLAGS) $(LIBFILES) $< $(LIBPERL)
469 # makedef.pl must be updated if this changes, and this should normally
470 # only change when there is an incompatible revision of the public API.
471 PERLIMPLIB = ..\perl59.lib
472 PERLDLL = ..\perl59.dll
474 MINIPERL = ..\miniperl.exe
476 PERLEXE = ..\perl.exe
477 WPERLEXE = ..\wperl.exe
478 GLOBEXE = ..\perlglob.exe
479 CONFIGPM = ..\lib\Config.pm ..\lib\Config_heavy.pl
480 MINIMOD = ..\lib\ExtUtils\Miniperl.pm
483 # Unicode data files generated by mktables
484 UNIDATAFILES = ..\lib\unicore\Canonical.pl ..\lib\unicore\Exact.pl \
485 ..\lib\unicore\Properties ..\lib\unicore\Decomposition.pl \
486 ..\lib\unicore\CombiningClass.pl ..\lib\unicore\Name.pl \
487 ..\lib\unicore\PVA.pl
489 # Directories of Unicode data files generated by mktables
490 UNIDATADIR1 = ..\lib\unicore\To
491 UNIDATADIR2 = ..\lib\unicore\lib
493 PERLEXE_ICO = .\perlexe.ico
494 PERLEXE_RES = .\perlexe.res
497 # Nominate a target which causes extensions to be re-built
498 # This used to be $(PERLEXE), but at worst it is the .dll that they depend
499 # on and really only the interface - i.e. the .def file used to export symbols
501 PERLDEP = perldll.def
503 PL2BAT = bin\pl2bat.pl
504 GLOBBAT = bin\perlglob.bat
547 !IF "$(WIN64)" == "define"
548 CFGSH_TMPL = config.vc64
549 CFGH_TMPL = config_H.vc64
551 CFGSH_TMPL = config.vc
552 CFGH_TMPL = config_H.vc
555 XCOPY = xcopy /f /r /i /d
556 RCOPY = xcopy /f /r /i /e /d
563 # filenames given to xsubpp must have forward slashes (since it puts
564 # full pathnames in #line strings)
565 XSUBPP = ..\$(MINIPERL) -I..\..\lib ..\$(EXTUTILSDIR)\xsubpp \
604 EXTRACORE_SRC = $(EXTRACORE_SRC) perllib.c
606 !IF "$(PERL_MALLOC)" == "define"
607 EXTRACORE_SRC = $(EXTRACORE_SRC) ..\malloc.c
610 EXTRACORE_SRC = $(EXTRACORE_SRC) ..\perlio.c
617 # We need this for miniperl build unless we override canned
618 # config.h #define building mini\*
619 #!IF "$(USE_PERLIO)" == "define"
620 WIN32_SRC = $(WIN32_SRC) .\win32io.c
623 !IF "$(CRYPT_SRC)" != ""
624 WIN32_SRC = $(WIN32_SRC) .\$(CRYPT_SRC)
627 DLL_SRC = $(DYNALOADER).c
674 .\include\sys\socket.h \
677 CORE_H = $(CORE_NOCFG_H) .\config.h
679 MICROCORE_OBJ = $(MICROCORE_SRC:.c=.obj)
680 CORE_OBJ = $(MICROCORE_OBJ) $(EXTRACORE_SRC:.c=.obj)
681 WIN32_OBJ = $(WIN32_SRC:.c=.obj)
682 MINICORE_OBJ = $(MICROCORE_OBJ:..\=.\mini\) \
683 $(MINIDIR)\miniperlmain$(o) \
684 $(MINIDIR)\perlio$(o)
685 MINIWIN32_OBJ = $(WIN32_OBJ:.\=.\mini\)
686 MINI_OBJ = $(MINICORE_OBJ) $(MINIWIN32_OBJ)
687 DLL_OBJ = $(DLL_SRC:.c=.obj)
688 X2P_OBJ = $(X2P_SRC:.c=.obj)
690 PERLDLL_OBJ = $(CORE_OBJ)
691 PERLEXE_OBJ = perlmain$(o)
693 PERLDLL_OBJ = $(PERLDLL_OBJ) $(WIN32_OBJ) $(DLL_OBJ)
694 #PERLEXE_OBJ = $(PERLEXE_OBJ) $(WIN32_OBJ) $(DLL_OBJ)
696 !IF "$(USE_SETARGV)" != ""
697 SETARGV_OBJ = setargv$(o)
700 # specify static extensions here
701 #STATIC_EXT = Cwd Compress/Zlib
704 DYNALOADER = $(EXTDIR)\DynaLoader\DynaLoader
705 SOCKET = $(EXTDIR)\Socket\Socket
706 FCNTL = $(EXTDIR)\Fcntl\Fcntl
707 OPCODE = $(EXTDIR)\Opcode\Opcode
708 SDBM_FILE = $(EXTDIR)\SDBM_File\SDBM_File
710 POSIX = $(EXTDIR)\POSIX\POSIX
711 ATTRS = $(EXTDIR)\attrs\attrs
712 THREAD = $(EXTDIR)\Thread\Thread
715 DUMPER = $(EXTDIR)\Data\Dumper\Dumper
716 ERRNO = $(EXTDIR)\Errno\Errno
717 PEEK = $(EXTDIR)\Devel\Peek\Peek
718 BYTELOADER = $(EXTDIR)\ByteLoader\ByteLoader
719 DPROF = $(EXTDIR)\Devel\DProf\DProf
720 GLOB = $(EXTDIR)\File\Glob\Glob
721 HOSTNAME = $(EXTDIR)\Sys\Hostname\Hostname
722 STORABLE = $(EXTDIR)\Storable\Storable
723 FILTER = $(EXTDIR)\Filter\Util\Call\Call
724 ENCODE = $(EXTDIR)\Encode\Encode
725 MD5 = $(EXTDIR)\Digest\MD5\MD5
726 PERLIOSCALAR = $(EXTDIR)\PerlIO\scalar\scalar
727 MIMEBASE64 = $(EXTDIR)\MIME\Base64\Base64
728 TIMEHIRES = $(EXTDIR)\Time\HiRes\HiRes
729 CWD = $(EXTDIR)\Cwd\Cwd
730 LISTUTIL = $(EXTDIR)\List\Util\Util
731 PERLIOVIA = $(EXTDIR)\PerlIO\via\via
732 XSAPITEST = $(EXTDIR)\XS\APItest\APItest
733 XSTYPEMAP = $(EXTDIR)\XS\Typemap\Typemap
734 UNICODENORMALIZE = $(EXTDIR)\Unicode\Normalize\Normalize
735 MATHBIGINTFASTCALC = $(EXTDIR)\Math\BigInt\FastCalc\FastCalc
736 COMPRESSZLIB = $(EXTDIR)\Compress\Zlib\Zlib
737 WIN32_DIR = ext\Win32
739 SOCKET_DLL = $(AUTODIR)\Socket\Socket.dll
740 FCNTL_DLL = $(AUTODIR)\Fcntl\Fcntl.dll
741 OPCODE_DLL = $(AUTODIR)\Opcode\Opcode.dll
742 SDBM_FILE_DLL = $(AUTODIR)\SDBM_File\SDBM_File.dll
743 IO_DLL = $(AUTODIR)\IO\IO.dll
744 POSIX_DLL = $(AUTODIR)\POSIX\POSIX.dll
745 ATTRS_DLL = $(AUTODIR)\attrs\attrs.dll
746 THREAD_DLL = $(AUTODIR)\Thread\Thread.dll
747 B_DLL = $(AUTODIR)\B\B.dll
748 DUMPER_DLL = $(AUTODIR)\Data\Dumper\Dumper.dll
749 PEEK_DLL = $(AUTODIR)\Devel\Peek\Peek.dll
750 RE_DLL = $(AUTODIR)\re\re.dll
751 BYTELOADER_DLL = $(AUTODIR)\ByteLoader\ByteLoader.dll
752 DPROF_DLL = $(AUTODIR)\Devel\DProf\DProf.dll
753 GLOB_DLL = $(AUTODIR)\File\Glob\Glob.dll
754 HOSTNAME_DLL = $(AUTODIR)\Sys\Hostname\Hostname.dll
755 STORABLE_DLL = $(AUTODIR)\Storable\Storable.dll
756 FILTER_DLL = $(AUTODIR)\Filter\Util\Call\Call.dll
757 ENCODE_DLL = $(AUTODIR)\Encode\Encode.dll
758 MD5_DLL = $(AUTODIR)\Digest\MD5\MD5.dll
759 PERLIOSCALAR_DLL = $(AUTODIR)\PerlIO\scalar\scalar.dll
760 MIMEBASE64_DLL = $(AUTODIR)\MIME\Base64\Base64.dll
761 TIMEHIRES_DLL = $(AUTODIR)\Time\HiRes\HiRes.dll
762 CWD_DLL = $(AUTODIR)\Cwd\Cwd.dll
763 LISTUTIL_DLL = $(AUTODIR)\List\Util\Util.dll
764 PERLIOVIA_DLL = $(AUTODIR)\PerlIO\via\via.dll
765 XSAPITEST_DLL = $(AUTODIR)\XS\APItest\APItest.dll
766 XSTYPEMAP_DLL = $(AUTODIR)\XS\Typemap\Typemap.dll
767 UNICODENORMALIZE_DLL = $(AUTODIR)\Unicode\Normalize\Normalize.dll
768 MATHBIGINTFASTCALC_DLL = $(AUTODIR)\Math\BigInt\FastCalc\FastCalc.dll
769 COMPRESSZLIB_DLL = $(AUTODIR)\Compress\Zlib\Zlib.dll
770 WIN32_DLL = $(AUTODIR)\Win32\Win32.dll
801 $(UNICODENORMALIZE).c \
802 $(MATHBIGINTFASTCALC).c \
827 $(PERLIOSCALAR_DLL) \
835 $(UNICODENORMALIZE_DLL) \
836 $(MATHBIGINTFASTCALC_DLL) \
837 $(COMPRESSZLIB_DLL) \
840 POD2HTML = $(PODDIR)\pod2html
841 POD2MAN = $(PODDIR)\pod2man
842 POD2LATEX = $(PODDIR)\pod2latex
843 POD2TEXT = $(PODDIR)\pod2text
846 "INST_DRV=$(INST_DRV)" \
847 "INST_TOP=$(INST_TOP)" \
848 "INST_VER=$(INST_VER)" \
849 "INST_ARCH=$(INST_ARCH)" \
850 "archname=$(ARCHNAME)" \
853 "ccflags=-nologo -Gf -W3 $(OPTIMIZE:"=\") $(DEFINES) $(BUILDOPT)" \
854 "cf_email=$(EMAIL)" \
855 "d_crypt=$(D_CRYPT)" \
856 "d_mymalloc=$(PERL_MALLOC)" \
858 "incpath=$(CCINCDIR:"=\")" \
859 "libperl=$(PERLIMPLIB:..\=)" \
860 "libpth=$(CCLIBDIR:"=\");$(EXTRALIBDIRS:"=\")" \
862 "make=$(MAKE_BARE)" \
863 "static_ext=$(STATIC_EXT)" \
864 "usethreads=$(USE_ITHREADS)" \
865 "useithreads=$(USE_ITHREADS)" \
866 "usemultiplicity=$(USE_MULTI)" \
867 "useperlio=$(USE_PERLIO)" \
868 "uselargefiles=$(USE_LARGE_FILES)" \
869 "usesitecustomize=$(USE_SITECUST)" \
870 "LINK_FLAGS=$(LINK_FLAGS:"=\")" \
871 "optimize=$(OPTIMIZE:"=\")"
877 all : .\config.h $(GLOBEXE) $(MINIMOD) $(CONFIGPM) $(UNIDATAFILES) $(PERLEXE) \
879 @echo Everything is up to date. '$(MAKE_BARE) test' to run test suite.
881 $(DYNALOADER)$(o) : $(DYNALOADER).c $(CORE_H) $(EXTDIR)\DynaLoader\dlutils.c
883 #------------------------------------------------------------
885 $(GLOBEXE) : perlglob$(o)
886 $(LINK32) $(LINK_FLAGS) $(LIBFILES) -out:$@ -subsystem:$(SUBSYS) \
887 perlglob$(o) setargv$(o)
889 perlglob$(o) : perlglob.c
891 config.w32 : $(CFGSH_TMPL)
892 copy $(CFGSH_TMPL) config.w32
894 .\config.h : $(CFGH_TMPL)
896 copy $(CFGH_TMPL) config.h
898 ..\config.sh : config.w32 $(MINIPERL) config_sh.PL
899 $(MINIPERL) -I..\lib config_sh.PL $(CFG_VARS) config.w32 > ..\config.sh
901 # this target is for when changes to the main config.sh happen
902 # edit config.{b,v,g}c and make this target once for each supported
903 # compiler (e.g. `nmake CCTYPE=BORLAND regen_config_h`)
905 perl config_sh.PL $(CFG_VARS) $(CFGSH_TMPL) > ..\config.sh
907 -del /f perl.exe perl*.dll
912 -perl config_h.PL "INST_VER=$(INST_VER)"
913 rename config.h $(CFGH_TMPL)
915 $(CONFIGPM) : $(MINIPERL) ..\config.sh config_h.PL ..\minimod.pl
919 if exist lib\* $(RCOPY) lib\*.* ..\lib\$(NULL)
920 $(XCOPY) ..\*.h $(COREDIR)\*.*
921 $(XCOPY) *.h $(COREDIR)\*.*
922 $(XCOPY) ..\ext\re\re.pm $(LIBDIR)\*.*
923 $(RCOPY) include $(COREDIR)\*.*
924 -$(MINIPERL) -I..\lib config_h.PL "INST_VER=$(INST_VER)"
925 if errorlevel 1 $(MAKE) /$(MAKEFLAGS) $(CONFIGPM)
927 $(MINIPERL) : $(MINIDIR) $(MINI_OBJ)
928 $(LINK32) -subsystem:console -out:$@ @<<
929 $(LINK_FLAGS) $(LIBFILES) $(MINI_OBJ)
933 if not exist "$(MINIDIR)" mkdir "$(MINIDIR)"
935 $(MINICORE_OBJ) : $(CORE_NOCFG_H)
936 $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB $(OBJOUT_FLAG)$@ ..\$(*F).c
938 $(MINIWIN32_OBJ) : $(CORE_NOCFG_H)
939 $(CC) -c $(CFLAGS) $(OBJOUT_FLAG)$@ $(*F).c
941 # -DPERL_IMPLICIT_SYS needs C++ for perllib.c
942 # This is the only file that depends on perlhost.h, vmem.h, and vdir.h
943 !IF "$(USE_IMP_SYS)" == "define"
944 perllib$(o) : perllib.c .\perlhost.h .\vdir.h .\vmem.h
945 $(CC) -c -I. $(CFLAGS_O) $(CXX_FLAG) $(OBJOUT_FLAG)$@ perllib.c
948 # 1. we don't want to rebuild miniperl.exe when config.h changes
949 # 2. we don't want to rebuild miniperl.exe with non-default config.h
950 $(MINI_OBJ) : $(CORE_NOCFG_H)
952 $(WIN32_OBJ) : $(CORE_H)
953 $(CORE_OBJ) : $(CORE_H)
954 $(DLL_OBJ) : $(CORE_H)
955 $(X2P_OBJ) : $(CORE_H)
957 perldll.def : $(MINIPERL) $(CONFIGPM) ..\global.sym ..\pp.sym ..\makedef.pl
958 $(MINIPERL) -I..\lib buildext.pl --create-perllibst-h
959 $(MINIPERL) -w ..\makedef.pl PLATFORM=win32 $(OPTIMIZE) $(DEFINES) $(BUILDOPT) \
960 CCTYPE=$(CCTYPE) > perldll.def
962 $(PERLDLL): perldll.def $(PERLDLL_OBJ) $(PERLDLL_RES) Extensions_static
963 $(LINK32) -dll -def:perldll.def -base:0x28000000 -out:$@ @Extensions_static @<<
964 $(LINK_FLAGS) $(DELAYLOAD) $(LIBFILES) $(PERLDLL_OBJ) $(PERLDLL_RES)
966 $(XCOPY) $(PERLIMPLIB) $(COREDIR)
968 $(PERLEXE_ICO): $(MINIPERL) makeico.pl
969 $(MINIPERL) makeico.pl > $@
971 $(PERLEXE_RES): perlexe.rc $(PERLEXE_ICO)
973 $(MINIMOD) : $(MINIPERL) ..\minimod.pl
975 miniperl minimod.pl > lib\ExtUtils\Miniperl.pm
978 ..\x2p\a2p$(o) : ..\x2p\a2p.c
979 $(CC) -I..\x2p $(CFLAGS) $(OBJOUT_FLAG)$@ -c ..\x2p\a2p.c
981 ..\x2p\hash$(o) : ..\x2p\hash.c
982 $(CC) -I..\x2p $(CFLAGS) $(OBJOUT_FLAG)$@ -c ..\x2p\hash.c
984 ..\x2p\str$(o) : ..\x2p\str.c
985 $(CC) -I..\x2p $(CFLAGS) $(OBJOUT_FLAG)$@ -c ..\x2p\str.c
987 ..\x2p\util$(o) : ..\x2p\util.c
988 $(CC) -I..\x2p $(CFLAGS) $(OBJOUT_FLAG)$@ -c ..\x2p\util.c
990 ..\x2p\walk$(o) : ..\x2p\walk.c
991 $(CC) -I..\x2p $(CFLAGS) $(OBJOUT_FLAG)$@ -c ..\x2p\walk.c
993 $(X2P) : $(MINIPERL) $(X2P_OBJ)
994 $(MINIPERL) ..\x2p\find2perl.PL
995 $(MINIPERL) ..\x2p\s2p.PL
996 $(LINK32) -subsystem:console -out:$@ @<<
997 $(LINK_FLAGS) $(LIBFILES) $(X2P_OBJ)
1000 perlmain.c : runperl.c
1001 copy runperl.c perlmain.c
1003 perlmain$(o) : perlmain.c
1004 $(CC) $(CFLAGS_O) -UPERLDLL $(OBJOUT_FLAG)$@ -c perlmain.c
1006 $(PERLEXE): $(PERLDLL) $(CONFIGPM) $(PERLEXE_OBJ) $(PERLEXE_RES)
1007 $(LINK32) -subsystem:console -out:$@ -stack:0x1000000 $(LINK_FLAGS) \
1008 $(LIBFILES) $(PERLEXE_OBJ) $(SETARGV_OBJ) $(PERLIMPLIB) $(PERLEXE_RES)
1009 copy $(PERLEXE) $(WPERLEXE)
1010 $(MINIPERL) -I..\lib bin\exetype.pl $(WPERLEXE) WINDOWS
1011 copy splittree.pl ..
1012 $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" $(AUTODIR)
1014 $(DYNALOADER).c: $(MINIPERL) $(EXTDIR)\DynaLoader\dl_win32.xs $(CONFIGPM)
1015 if not exist $(AUTODIR) mkdir $(AUTODIR)
1017 ..\$(MINIPERL) -I..\..\lib $(*B)_pm.PL
1018 ..\$(MINIPERL) -I..\..\lib XSLoader_pm.PL
1020 $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL)
1021 $(XCOPY) $(EXTDIR)\$(*B)\XSLoader.pm $(LIBDIR)\$(NULL)
1023 $(XSUBPP) dl_win32.xs > $(*B).c
1026 $(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs
1027 copy dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs
1029 #-------------------------------------------------------------------------------
1030 Extensions: buildext.pl $(PERLDEP) $(CONFIGPM)
1031 $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) $(EXTDIR) --dynamic
1032 $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) ext --dynamic
1034 Extensions_static : buildext.pl
1035 $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) $(EXTDIR) --static
1036 $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) ext --static
1037 $(MINIPERL) -I..\lib buildext.pl --list-static-libs > Extensions_static
1040 -if exist $(MINIPERL) $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) $(EXTDIR) clean
1041 -if exist $(MINIPERL) $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) ext clean
1043 Extensions_realclean:
1044 -if exist $(MINIPERL) $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) $(EXTDIR) realclean
1045 -if exist $(MINIPERL) $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) ext realclean
1047 #-------------------------------------------------------------------------------
1050 $(PERLEXE) -I..\lib ..\installhtml --podroot=.. --htmldir=./html \
1051 --podpath=pod:lib:ext:utils --htmlroot="file://$(INST_HTML::=|)" \
1052 --libpod=perlfunc:perlguts:perlvar:perlrun:perlop --recurse
1054 # Note that this next section is parsed (and regenerated) by pod/buildtoc
1055 # so please check that script before making structural changes here
1057 utils: $(PERLEXE) $(X2P)
1059 $(MAKE) PERL=$(MINIPERL)
1061 copy ..\vms\perlvms.pod .\perlvms.pod
1062 copy ..\README.aix ..\pod\perlaix.pod
1063 copy ..\README.amiga ..\pod\perlamiga.pod
1064 copy ..\README.apollo ..\pod\perlapollo.pod
1065 copy ..\README.beos ..\pod\perlbeos.pod
1066 copy ..\README.bs2000 ..\pod\perlbs2000.pod
1067 copy ..\README.ce ..\pod\perlce.pod
1068 copy ..\README.cn ..\pod\perlcn.pod
1069 copy ..\README.cygwin ..\pod\perlcygwin.pod
1070 copy ..\README.dgux ..\pod\perldgux.pod
1071 copy ..\README.dos ..\pod\perldos.pod
1072 copy ..\README.epoc ..\pod\perlepoc.pod
1073 copy ..\README.freebsd ..\pod\perlfreebsd.pod
1074 copy ..\README.hpux ..\pod\perlhpux.pod
1075 copy ..\README.hurd ..\pod\perlhurd.pod
1076 copy ..\README.irix ..\pod\perlirix.pod
1077 copy ..\README.jp ..\pod\perljp.pod
1078 copy ..\README.ko ..\pod\perlko.pod
1079 copy ..\README.machten ..\pod\perlmachten.pod
1080 copy ..\README.macos ..\pod\perlmacos.pod
1081 copy ..\README.macosx ..\pod\perlmacosx.pod
1082 copy ..\README.mint ..\pod\perlmint.pod
1083 copy ..\README.mpeix ..\pod\perlmpeix.pod
1084 copy ..\README.netware ..\pod\perlnetware.pod
1085 copy ..\README.openbsd ..\pod\perlopenbsd.pod
1086 copy ..\README.os2 ..\pod\perlos2.pod
1087 copy ..\README.os390 ..\pod\perlos390.pod
1088 copy ..\README.os400 ..\pod\perlos400.pod
1089 copy ..\README.plan9 ..\pod\perlplan9.pod
1090 copy ..\README.qnx ..\pod\perlqnx.pod
1091 copy ..\README.solaris ..\pod\perlsolaris.pod
1092 copy ..\README.symbian ..\pod\perlsymbian.pod
1093 copy ..\README.tru64 ..\pod\perltru64.pod
1094 copy ..\README.tw ..\pod\perltw.pod
1095 copy ..\README.uts ..\pod\perluts.pod
1096 copy ..\README.vmesa ..\pod\perlvmesa.pod
1097 copy ..\README.vms ..\pod\perlvms.pod
1098 copy ..\README.vos ..\pod\perlvos.pod
1099 copy ..\README.win32 ..\pod\perlwin32.pod
1100 copy ..\pod\perl593delta.pod ..\pod\perldelta.pod
1101 $(MAKE) -f ..\win32\pod.mak converters
1103 $(PERLEXE) lib_pm.PL
1105 $(PERLEXE) $(PL2BAT) $(UTILS)
1107 # Note that the pod cleanup in this next section is parsed (and regenerated
1108 # by pod/buildtoc so please check that script before making changes here
1110 # the doubled rmdir calls are needed because older cmd shells
1111 # don't understand /q
1112 distclean: realclean
1113 -del /f $(MINIPERL) $(PERLEXE) $(PERLDLL) $(GLOBEXE) \
1114 $(PERLIMPLIB) ..\miniperl.lib $(MINIMOD)
1116 -del /f $(EXTENSION_DLL)
1117 -del /f $(EXTENSION_C) $(DYNALOADER).c $(ERRNO).pm
1118 -del /f $(EXTDIR)\DynaLoader\dl_win32.xs
1119 -del /f $(EXTDIR)\DynaLoader\DynaLoader.pm
1120 -del /f $(EXTDIR)\DynaLoader\XSLoader.pm
1121 -del /f $(LIBDIR)\Encode.pm $(LIBDIR)\encoding.pm $(LIBDIR)\Errno.pm
1122 -del /f $(LIBDIR)\Config.pod $(LIBDIR)\POSIX.pod $(LIBDIR)\threads.pm
1123 -del /f $(LIBDIR)\.exists $(LIBDIR)\attrs.pm $(LIBDIR)\DynaLoader.pm
1124 -del /f $(LIBDIR)\XSLoader.pm $(LIBDIR)\lib.pm
1125 -del /f $(LIBDIR)\Fcntl.pm $(LIBDIR)\IO.pm $(LIBDIR)\Opcode.pm
1126 -del /f $(LIBDIR)\ops.pm $(LIBDIR)\Safe.pm
1127 -del /f $(LIBDIR)\SDBM_File.pm $(LIBDIR)\Socket.pm $(LIBDIR)\POSIX.pm
1128 -del /f $(LIBDIR)\B.pm $(LIBDIR)\O.pm $(LIBDIR)\re.pm
1129 -del /f $(LIBDIR)\ByteLoader.pm
1130 -del /f $(LIBDIR)\Devel\Peek.pm $(LIBDIR)\Devel\DProf.pm
1131 -del /f $(LIBDIR)\Devel\PPPort.pm
1132 -del /f $(LIBDIR)\File\Glob.pm
1133 -del /f $(LIBDIR)\Storable.pm
1134 -del /f $(LIBDIR)\Digest\MD5.pm
1135 -del /f $(LIBDIR)\PerlIO\encoding.pm
1136 -del /f $(LIBDIR)\PerlIO\scalar.pm
1137 -del /f $(LIBDIR)\PerlIO\via.pm
1138 -del /f $(LIBDIR)\Sys\Hostname.pm
1139 -del /f $(LIBDIR)\Thread\Signal.pm $(LIBDIR)\Thread\Specific.pm
1140 -del /f $(LIBDIR)\threads\shared.pm
1141 -del /f $(LIBDIR)\Time\HiRes.pm
1142 -del /f $(LIBDIR)\Unicode\Normalize.pm
1143 -del /f $(LIBDIR)\Math\BigInt\FastCalc.pm
1144 -del /f $(LIBDIR)\Win32.pm
1145 -if exist $(LIBDIR)\IO\Socket rmdir /s /q $(LIBDIR)\IO\Socket
1146 -if exist $(LIBDIR)\IO\Socket rmdir /s $(LIBDIR)\IO\Socket
1147 -if exist $(LIBDIR)\B rmdir /s /q $(LIBDIR)\B
1148 -if exist $(LIBDIR)\B rmdir /s $(LIBDIR)\B
1149 -if exist $(LIBDIR)\Data rmdir /s /q $(LIBDIR)\Data
1150 -if exist $(LIBDIR)\Data rmdir /s $(LIBDIR)\Data
1151 -if exist $(LIBDIR)\Encode rmdir /s /q $(LIBDIR)\Encode
1152 -if exist $(LIBDIR)\Encode rmdir /s $(LIBDIR)\Encode
1153 -if exist $(LIBDIR)\Filter\Util rmdir /s /q $(LIBDIR)\Filter\Util
1154 -if exist $(LIBDIR)\Filter\Util rmdir /s $(LIBDIR)\Filter\Util
1155 -if exist $(LIBDIR)\MIME rmdir /s /q $(LIBDIR)\MIME
1156 -if exist $(LIBDIR)\MIME rmdir /s $(LIBDIR)\MIME
1157 -if exist $(LIBDIR)\List rmdir /s /q $(LIBDIR)\List
1158 -if exist $(LIBDIR)\List rmdir /s $(LIBDIR)\List
1159 -if exist $(LIBDIR)\Scalar rmdir /s /q $(LIBDIR)\Scalar
1160 -if exist $(LIBDIR)\Scalar rmdir /s $(LIBDIR)\Scalar
1161 -if exist $(LIBDIR)\Sys rmdir /s /q $(LIBDIR)\Sys
1162 -if exist $(LIBDIR)\Sys rmdir /s $(LIBDIR)\Sys
1163 -if exist $(LIBDIR)\threads rmdir /s /q $(LIBDIR)\threads
1164 -if exist $(LIBDIR)\threads rmdir /s $(LIBDIR)\threads
1165 -if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS
1166 -if exist $(LIBDIR)\XS rmdir /s $(LIBDIR)\XS
1167 -cd $(PODDIR) && del /f *.html *.bat checkpods \
1168 perlaix.pod perlamiga.pod perlapollo.pod perlbeos.pod \
1169 perlbs2000.pod perlce.pod perlcn.pod perlcygwin.pod \
1170 perldelta.pod perldgux.pod perldos.pod perlepoc.pod \
1171 perlfreebsd.pod perlhpux.pod perlhurd.pod perlirix.pod \
1172 perljp.pod perlko.pod perlmachten.pod perlmacos.pod \
1173 perlmacosx.pod perlmint.pod perlmpeix.pod perlnetware.pod \
1174 perlopenbsd.pod perlos2.pod perlos390.pod perlos400.pod \
1175 perlplan9.pod perlqnx.pod perlsolaris.pod perlsymbian.pod \
1176 perltru64.pod perltw.pod perluts.pod perlvmesa.pod perlvms.pod \
1177 perlvms.pod perlvos.pod perlwin32.pod \
1178 pod2html pod2latex pod2man pod2text pod2usage \
1179 podchecker podselect
1180 -cd ..\utils && del /f h2ph splain perlbug pl2pm c2ph pstruct h2xs \
1181 perldoc perlivp dprofpp perlcc libnetcfg enc2xs piconv cpan *.bat \
1182 xsubpp instmodsh prove ptar corelist
1183 -cd ..\x2p && del /f find2perl s2p psed *.bat
1184 -del /f ..\config.sh ..\splittree.pl perlmain.c dlutils.c config.h.new
1188 -del /f $(PERLEXE_ICO) perl.base
1189 -cd .. && del /s *.lib *.map *.pdb *.ilk *.bs *$(o) .exists pm_to_blib
1190 -cd $(EXTDIR) && del /s *.def Makefile Makefile.old
1191 -if exist $(AUTODIR) rmdir /s /q $(AUTODIR)
1192 -if exist $(AUTODIR) rmdir /s $(AUTODIR)
1193 -if exist $(COREDIR) rmdir /s /q $(COREDIR)
1194 -if exist $(COREDIR) rmdir /s $(COREDIR)
1196 install : all installbare installhtml
1199 $(PERLEXE) ..\installperl
1200 if exist $(WPERLEXE) $(XCOPY) $(WPERLEXE) $(INST_BIN)\*.*
1201 $(XCOPY) $(GLOBEXE) $(INST_BIN)\*.*
1202 if exist ..\perl*.pdb $(XCOPY) ..\perl*.pdb $(INST_BIN)\*.*
1203 if exist ..\x2p\a2p.pdb $(XCOPY) ..\x2p\a2p.pdb $(INST_BIN)\*.*
1204 $(XCOPY) bin\*.bat $(INST_SCRIPT)\*.*
1207 $(RCOPY) html\*.* $(INST_HTML)\*.*
1209 inst_lib : $(CONFIGPM)
1210 copy splittree.pl ..
1211 $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" $(AUTODIR)
1212 $(RCOPY) ..\lib $(INST_LIB)\*.*
1214 $(UNIDATAFILES) : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables
1215 cd ..\lib\unicore && \
1216 ..\$(MINIPERL) -I.. mktables
1218 minitest : $(MINIPERL) $(GLOBEXE) $(CONFIGPM) utils $(UNIDATAFILES)
1219 $(XCOPY) $(MINIPERL) ..\t\$(NULL)
1220 if exist ..\t\perl.exe del /f ..\t\perl.exe
1221 rename ..\t\miniperl.exe perl.exe
1222 $(XCOPY) $(GLOBEXE) ..\t\$(NULL)
1225 $(MINIPERL) -I..\lib harness base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma/*.t
1227 test-prep : all utils
1228 $(XCOPY) $(PERLEXE) ..\t\$(NULL)
1229 $(XCOPY) $(PERLDLL) ..\t\$(NULL)
1230 $(XCOPY) $(GLOBEXE) ..\t\$(NULL)
1234 $(PERLEXE) -I..\lib harness $(TEST_SWITCHES) $(TEST_FILES)
1237 test-notty : test-prep
1238 set PERL_SKIP_TTY_TEST=1
1240 $(PERLEXE) -I..\lib harness $(TEST_SWITCHES) $(TEST_FILES)
1244 $(XCOPY) $(PERLEXE) ..\t\$(NULL)
1245 $(XCOPY) $(PERLDLL) ..\t\$(NULL)
1246 $(XCOPY) $(GLOBEXE) ..\t\$(NULL)
1248 $(PERLEXE) -I..\lib harness $(TEST_SWITCHES) $(TEST_FILES)
1251 # the doubled rmdir calls are needed because older cmd shells
1252 # don't understand /q
1254 -@$(DEL) miniperlmain$(o)
1255 -@$(DEL) $(MINIPERL)
1256 -@$(DEL) perlglob$(o)
1257 -@$(DEL) perlmain$(o)
1262 -@$(DEL) $(WPERLEXE)
1264 -@$(DEL) $(CORE_OBJ)
1265 -if exist $(MINIDIR) rmdir /s /q $(MINIDIR)
1266 -if exist $(MINIDIR) rmdir /s $(MINIDIR)
1267 -if exist $(UNIDATADIR1) rmdir /s /q $(UNIDATADIR1)
1268 -if exist $(UNIDATADIR1) rmdir /s $(UNIDATADIR1)
1269 -if exist $(UNIDATADIR2) rmdir /s /q $(UNIDATADIR2)
1270 -if exist $(UNIDATADIR2) rmdir /s $(UNIDATADIR2)
1271 -@$(DEL) $(UNIDATAFILES)
1272 -@$(DEL) $(WIN32_OBJ)
1275 -@$(DEL) ..\*$(o) ..\*.lib ..\*.exp *$(o) *.lib *.exp *.res
1276 -@$(DEL) ..\t\*.exe ..\t\*.dll ..\t\*.bat
1277 -@$(DEL) ..\x2p\*.exe ..\x2p\*.bat
1280 -@$(DEL) Extensions_static
1282 clean : Extensions_clean _clean
1284 realclean : Extensions_realclean _clean
1286 # Handy way to run perlbug -ok without having to install and run the
1287 # installed perlbug. We don't re-run the tests here - we trust the user.
1288 # Please *don't* use this unless all tests pass.
1289 # If you want to report test failures, use "nmake nok" instead.
1291 $(PERLEXE) -I..\lib ..\utils\perlbug -ok -s "(UNINSTALLED)"
1294 $(PERLEXE) -I..\lib ..\utils\perlbug -ok -s "(UNINSTALLED)" -F perl.ok
1297 $(PERLEXE) -I..\lib ..\utils\perlbug -nok -s "(UNINSTALLED)"
1300 $(PERLEXE) -I..\lib ..\utils\perlbug -nok -s "(UNINSTALLED)" -F perl.nok