X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=win32%2Fmakefile.mk;h=0b4b685c6dd2c0f794ca78af18c932e3a8ffc924;hb=acfe0abcedaf592fb4b9cb69ce3468308ae99d91;hp=974deb348375933b8c491d04806d779398e175cb;hpb=0e06870bf080a38cda51c06c6612359afc2334e1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/win32/makefile.mk b/win32/makefile.mk index 974deb3..0b4b685 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -33,7 +33,7 @@ INST_TOP *= $(INST_DRV)\perl # versioned installation can be obtained by setting INST_TOP above to a # path that includes an arbitrary version string. # -INST_VER *= \5.7.0 +INST_VER *= \5.7.2 # # Comment this out if you DON'T want your perl installation to have @@ -67,6 +67,10 @@ USE_ITHREADS *= define USE_IMP_SYS *= define # +# uncomment to enable the experimental PerlIO I/O subsystem. +USE_PERLIO = define + +# # WARNING! This option is deprecated and will eventually go away (enable # USE_ITHREADS instead). # @@ -77,17 +81,6 @@ USE_IMP_SYS *= define #USE_5005THREADS *= define # -# WARNING! This option is deprecated and will eventually go away (enable -# USE_MULTI instead). -# -# uncomment next line if you want to use the PERL_OBJECT build option. -# DO NOT ENABLE unless you have legacy code that relies on the C++ -# CPerlObj class that was available in 5.005. This cannot be enabled -# if you ask for USE_5005THREADS above. -# -#USE_OBJECT *= define - -# # uncomment exactly one of the following # # Visual C++ 2.x @@ -102,6 +95,13 @@ CCTYPE *= MSVC60 #CCTYPE *= GCC # +# uncomment this if your Borland compiler is older than v5.4. +BCCOLD = define +# +# uncomment this if you want to use Borland's VCL as your CRT +#BCCVCL = define + +# # uncomment this if you are compiling under Windows 95/98 and command.com # (not needed if you're running under 4DOS/NT 6.01 or later) #IS_WIN95 *= define @@ -163,9 +163,9 @@ CFG *= Debug # so you may have to set CCHOME explicitly (spaces in the path name should # not be quoted) # -#CCHOME *= c:\bc5 -#CCHOME *= $(MSVCDIR) -CCHOME *= c:\gcc-2.95.2 +#CCHOME *= F:\borland\bc5 +CCHOME *= $(MSVCDIR) +#CCHOME *= c:\gcc-2.95.2 CCINCDIR *= $(CCHOME)\include CCLIBDIR *= $(CCHOME)\lib @@ -225,13 +225,6 @@ D_CRYPT = define CRYPT_FLAG = -DHAVE_DES_FCRYPT .ENDIF -.IF "$(USE_OBJECT)" == "define" -PERL_MALLOC != undef -USE_5005THREADS != undef -USE_MULTI != undef -USE_IMP_SYS != define -.ENDIF - PERL_MALLOC *= undef USE_5005THREADS *= undef @@ -245,21 +238,21 @@ PERL_MALLOC != undef .ENDIF USE_MULTI *= undef -USE_OBJECT *= undef USE_ITHREADS *= undef USE_IMP_SYS *= undef +USE_PERLIO *= undef USE_PERLCRT *= undef -.IF "$(USE_IMP_SYS)$(USE_MULTI)$(USE_5005THREADS)$(USE_OBJECT)" == "defineundefundefundef" +.IF "$(USE_IMP_SYS)$(USE_MULTI)$(USE_5005THREADS)" == "defineundefundef" USE_MULTI != define .ENDIF -.IF "$(USE_ITHREADS)$(USE_MULTI)$(USE_OBJECT)" == "defineundefundef" +.IF "$(USE_ITHREADS)$(USE_MULTI)" == "defineundef" USE_MULTI != define USE_5005THREADS != undef .ENDIF -.IF "$(USE_MULTI)$(USE_5005THREADS)$(USE_OBJECT)" != "undefundefundef" +.IF "$(USE_MULTI)$(USE_5005THREADS)" != "undefundef" BUILDOPT += -DPERL_IMPLICIT_CONTEXT .ENDIF @@ -271,13 +264,16 @@ BUILDOPT += -DPERL_IMPLICIT_SYS PROCESSOR_ARCHITECTURE *= x86 -.IF "$(USE_OBJECT)" == "define" -ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE)-object -.ELIF "$(USE_5005THREADS)" == "define" +.IF "$(USE_5005THREADS)" == "define" ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE)-thread .ELIF "$(USE_MULTI)" == "define" ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE)-multi .ELSE +.IF "$(USE_PERLIO)" == "define" +ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE)-perlio +.ELSE +ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE) +.ENDIF ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE) .ENDIF @@ -315,7 +311,7 @@ INST_LIB = $(INST_TOP)$(INST_VER)\lib INST_ARCHLIB = $(INST_LIB)$(INST_ARCH) INST_COREDIR = $(INST_ARCHLIB)\CORE INST_POD = $(INST_LIB)\pod -INST_HTML = $(INST_POD)\html +INST_HTML = $(INST_TOP)$(INST_VER)\html # # Programs to compile, build .lib files and link @@ -326,7 +322,11 @@ INST_HTML = $(INST_POD)\html .IF "$(CCTYPE)" == "BORLAND" CC = bcc32 +.IF "$(BCCOLD)" != "define" +LINK32 = ilink32 +.ELSE LINK32 = tlink32 +.ENDIF LIB32 = tlib /P128 IMPLIB = implib -c RSC = rc @@ -335,14 +335,14 @@ RSC = rc # Options # INCLUDES = -I$(COREDIR) -I.\include -I. -I.. -I"$(CCINCDIR)" -#PCHFLAGS = -H -Hc -H=c:\temp\bcmoduls.pch +#PCHFLAGS = -H -Hc -H=c:\temp\bcmoduls.pch DEFINES = -DWIN32 $(CRYPT_FLAG) LOCDEFS = -DPERLDLL -DPERL_CORE SUBSYS = console CXX_FLAG = -P LIBC = cw32mti.lib -LIBFILES = $(CRYPT_LIB) import32.lib $(LIBC) odbc32.lib odbccp32.lib +LIBFILES = $(CRYPT_LIB) import32.lib $(LIBC) .IF "$(CFG)" == "Debug" OPTIMIZE = -v -D_RTLDLL -DDEBUGGING @@ -354,10 +354,19 @@ LINK_DBG = CFLAGS = -w -g0 -tWM -tWD $(INCLUDES) $(DEFINES) $(LOCDEFS) \ $(PCHFLAGS) $(OPTIMIZE) -LINK_FLAGS = $(LINK_DBG) -L"$(INST_COREDIR)" -L"$(CCLIBDIR)" +LINK_FLAGS = $(LINK_DBG) -L"$(INST_COREDIR)" -L"$(CCLIBDIR)" OBJOUT_FLAG = -o EXEOUT_FLAG = -e LIBOUT_FLAG = +.IF "$(BCCOLD)" != "define" +LINK_FLAGS += -Gn +DEFINES += -D_MT -D__USELOCALES__ -D_WIN32_WINNT=0x0410 +.END +.IF "$(BCCVCL)" == "define" +LIBC = cp32mti.lib vcl.lib vcl50.lib vclx50.lib vcle50.lib +LINK_FLAGS += -L"$(CCLIBDIR)\Release" +.END + .ELIF "$(CCTYPE)" == "GCC" @@ -441,7 +450,7 @@ LINK_DBG = -debug -pdb:none .ELSE # -Zi requires .pdb file(s) #OPTIMIZE = -Od -MD -Zi -DDEBUGGING -#LINK_DBG = -debug +#LINK_DBG = -debug OPTIMIZE = -O1 -MD -Z7 -DDEBUGGING LINK_DBG = -debug -debugtype:both -pdb:none .ENDIF @@ -480,11 +489,6 @@ BUILDOPT += -DPERL_MSVCRT_READFIX .ENDIF -.IF "$(USE_OBJECT)" == "define" -OPTIMIZE += $(CXX_FLAG) -BUILDOPT += -DPERL_OBJECT -.ENDIF - CFLAGS_O = $(CFLAGS) $(BUILDOPT) # used to allow local linking flags that are not propogated into Config.pm, @@ -512,7 +516,7 @@ LKPOST = ) $(CC) -c $(null,$(<:d) $(NULL) -I$(<:d)) $(CFLAGS_O) $(OBJOUT_FLAG)$@ $< .c.i: - $(CC) -c $(null,$(<:d) $(NULL) -I$(<:d)) $(CFLAGS_O) -E $< >$@ + $(CC) -c $(null,$(<:d) $(NULL) -I$(<:d)) $(CFLAGS_O) -E $< >$@ .y.c: $(NOOP) @@ -563,6 +567,8 @@ UTILS = \ ..\utils\h2xs \ ..\utils\perldoc \ ..\utils\perlcc \ + ..\utils\perlivp \ + ..\utils\libnetcfg \ ..\pod\checkpods \ ..\pod\pod2html \ ..\pod\pod2latex \ @@ -573,6 +579,7 @@ UTILS = \ ..\pod\podselect \ ..\x2p\find2perl \ ..\x2p\s2p \ + ..\lib\ExtUtils\xsubpp \ bin\exetype.pl \ bin\runperl.pl \ bin\pl2bat.pl \ @@ -622,7 +629,9 @@ MICROCORE_SRC = \ ..\globals.c \ ..\gv.c \ ..\hv.c \ + ..\locale.c \ ..\mg.c \ + ..\numeric.c \ ..\op.c \ ..\perl.c \ ..\perlapi.c \ @@ -630,12 +639,14 @@ MICROCORE_SRC = \ ..\pp.c \ ..\pp_ctl.c \ ..\pp_hot.c \ + ..\pp_pack.c \ ..\pp_sys.c \ ..\regcomp.c \ ..\regexec.c \ ..\run.c \ ..\scope.c \ ..\sv.c \ + ..\sharedsv.c \ ..\taint.c \ ..\toke.c \ ..\universal.c \ @@ -649,12 +660,11 @@ EXTRACORE_SRC += perllib.c EXTRACORE_SRC += ..\malloc.c .ENDIF -.IF "$(USE_OBJECT)" != "define" EXTRACORE_SRC += ..\perlio.c -.ENDIF WIN32_SRC = \ .\win32.c \ + .\win32io.c \ .\win32sck.c \ .\win32thread.c @@ -695,6 +705,7 @@ CORE_NOCFG_H = \ ..\proto.h \ ..\regexp.h \ ..\scope.h \ + ..\sharedsv.h \ ..\sv.h \ ..\thread.h \ ..\unixish.h \ @@ -733,98 +744,12 @@ SETARGV_OBJ = setargv$(o) DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \ Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \ - Sys/Hostname Storable Filter/Util/Call Encode + Sys/Hostname Storable Filter/Util/Call Encode \ + Digest/MD5 PerlIO/Scalar MIME/Base64 Time/HiRes STATIC_EXT = DynaLoader NONXS_EXT = Errno DYNALOADER = $(EXTDIR)\DynaLoader\DynaLoader -SOCKET = $(EXTDIR)\Socket\Socket -FCNTL = $(EXTDIR)\Fcntl\Fcntl -OPCODE = $(EXTDIR)\Opcode\Opcode -SDBM_FILE = $(EXTDIR)\SDBM_File\SDBM_File -IO = $(EXTDIR)\IO\IO -POSIX = $(EXTDIR)\POSIX\POSIX -ATTRS = $(EXTDIR)\attrs\attrs -THREAD = $(EXTDIR)\Thread\Thread -B = $(EXTDIR)\B\B -RE = $(EXTDIR)\re\re -DUMPER = $(EXTDIR)\Data\Dumper\Dumper -ERRNO = $(EXTDIR)\Errno\Errno -PEEK = $(EXTDIR)\Devel\Peek\Peek -BYTELOADER = $(EXTDIR)\ByteLoader\ByteLoader -DPROF = $(EXTDIR)\Devel\DProf\DProf -GLOB = $(EXTDIR)\File\Glob\Glob -HOSTNAME = $(EXTDIR)\Sys\Hostname\Hostname -STORABLE = $(EXTDIR)\Storable\Storable -FILTER = $(EXTDIR)\Filter\Util\Call\Call -ENCODE = $(EXTDIR)\Encode\Encode - -SOCKET_DLL = $(AUTODIR)\Socket\Socket.dll -FCNTL_DLL = $(AUTODIR)\Fcntl\Fcntl.dll -OPCODE_DLL = $(AUTODIR)\Opcode\Opcode.dll -SDBM_FILE_DLL = $(AUTODIR)\SDBM_File\SDBM_File.dll -IO_DLL = $(AUTODIR)\IO\IO.dll -POSIX_DLL = $(AUTODIR)\POSIX\POSIX.dll -ATTRS_DLL = $(AUTODIR)\attrs\attrs.dll -THREAD_DLL = $(AUTODIR)\Thread\Thread.dll -B_DLL = $(AUTODIR)\B\B.dll -DUMPER_DLL = $(AUTODIR)\Data\Dumper\Dumper.dll -PEEK_DLL = $(AUTODIR)\Devel\Peek\Peek.dll -RE_DLL = $(AUTODIR)\re\re.dll -BYTELOADER_DLL = $(AUTODIR)\ByteLoader\ByteLoader.dll -DPROF_DLL = $(AUTODIR)\Devel\DProf\DProf.dll -GLOB_DLL = $(AUTODIR)\File\Glob\Glob.dll -HOSTNAME_DLL = $(AUTODIR)\Sys\Hostname\Hostname.dll -STORABLE_DLL = $(AUTODIR)\Storable\Storable.dll -FILTER_DLL = $(AUTODIR)\Filter\Util\Call\Call.dll -ENCODE_DLL = $(AUTODIR)\Encode\Encode.dll - -ERRNO_PM = $(LIBDIR)\Errno.pm - -EXTENSION_C = \ - $(SOCKET).c \ - $(FCNTL).c \ - $(OPCODE).c \ - $(SDBM_FILE).c \ - $(IO).c \ - $(POSIX).c \ - $(ATTRS).c \ - $(THREAD).c \ - $(RE).c \ - $(DUMPER).c \ - $(PEEK).c \ - $(B).c \ - $(BYTELOADER).c \ - $(DPROF).c \ - $(GLOB).c \ - $(HOSTNAME).c \ - $(STORABLE).c \ - $(FILTER).c \ - $(ENCODE).c - -EXTENSION_DLL = \ - $(SOCKET_DLL) \ - $(FCNTL_DLL) \ - $(OPCODE_DLL) \ - $(SDBM_FILE_DLL)\ - $(IO_DLL) \ - $(POSIX_DLL) \ - $(ATTRS_DLL) \ - $(DUMPER_DLL) \ - $(PEEK_DLL) \ - $(B_DLL) \ - $(RE_DLL) \ - $(THREAD_DLL) \ - $(BYTELOADER_DLL) \ - $(DPROF_DLL) \ - $(GLOB_DLL) \ - $(HOSTNAME_DLL) \ - $(STORABLE_DLL) \ - $(FILTER_DLL) \ - $(ENCODE_DLL) - -EXTENSION_PM = \ - $(ERRNO_PM) POD2HTML = $(PODDIR)\pod2html POD2MAN = $(PODDIR)\pod2man @@ -856,12 +781,11 @@ CFG_VARS = \ _o=$(o) obj_ext=$(o) ~ \ _a=$(a) lib_ext=$(a) ~ \ static_ext=$(STATIC_EXT) ~ \ - dynamic_ext=$(DYNAMIC_EXT) ~ \ - nonxs_ext=$(NONXS_EXT) ~ \ use5005threads=$(USE_5005THREADS) ~ \ useithreads=$(USE_ITHREADS) ~ \ usethreads=$(USE_5005THREADS) ~ \ usemultiplicity=$(USE_MULTI) ~ \ + useperlio=$(USE_PERLIO) ~ \ LINK_FLAGS=$(LINK_FLAGS:s/\/\\/) ~ \ optimize=$(OPTIMIZE) @@ -884,7 +808,7 @@ RIGHTMAKE = all : .\config.h $(GLOBEXE) $(MINIPERL) $(MK2) \ $(RIGHTMAKE) $(MINIMOD) $(CONFIGPM) $(PERLEXE) \ - $(X2P) $(EXTENSION_DLL) $(EXTENSION_PM) + $(X2P) Extensions $(DYNALOADER)$(o) : $(DYNALOADER).c $(CORE_H) $(EXTDIR)\DynaLoader\dlutils.c @@ -957,7 +881,7 @@ config.w32 : $(CFGSH_TMPL) -del /f config.h copy $(CFGH_TMPL) config.h -..\config.sh : config.w32 $(MINIPERL) config_sh.PL +..\config.sh : config.w32 $(MINIPERL) config_sh.PL FindExt.pm $(MINIPERL) -I..\lib config_sh.PL --cfgsh-option-file \ $(mktmp $(CFG_VARS)) config.w32 > ..\config.sh @@ -1011,7 +935,7 @@ $(MINIWIN32_OBJ) : $(CORE_NOCFG_H) # This is the only file that depends on perlhost.h, vmem.h, and vdir.h perllib$(o) : perllib.c .\perlhost.h .\vdir.h .\vmem.h -.IF "$(USE_IMP_SYS)$(USE_OBJECT)" == "defineundef" +.IF "$(USE_IMP_SYS)" == "define" $(CC) -c -I. $(CFLAGS_O) $(CXX_FLAG) $(OBJOUT_FLAG)$@ perllib.c .ELSE $(CC) -c -I. $(CFLAGS_O) $(OBJOUT_FLAG)$@ perllib.c @@ -1124,105 +1048,15 @@ $(DYNALOADER).c: $(MINIPERL) $(EXTDIR)\DynaLoader\dl_win32.xs $(CONFIGPM) $(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs copy dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs -$(DUMPER_DLL): $(PERLDEP) $(DUMPER).xs - cd $(EXTDIR)\Data\$(*B) && \ - ..\..\..\miniperl -I..\..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\Data\$(*B) && $(MAKE) - -$(DPROF_DLL): $(PERLDEP) $(DPROF).xs - cd $(EXTDIR)\Devel\$(*B) && \ - ..\..\..\miniperl -I..\..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\Devel\$(*B) && $(MAKE) - -$(GLOB_DLL): $(PERLDEP) $(GLOB).xs - cd $(EXTDIR)\File\$(*B) && \ - ..\..\..\miniperl -I..\..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\File\$(*B) && $(MAKE) - -$(PEEK_DLL): $(PERLDEP) $(PEEK).xs - cd $(EXTDIR)\Devel\$(*B) && \ - ..\..\..\miniperl -I..\..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\Devel\$(*B) && $(MAKE) - -$(RE_DLL): $(PERLDEP) $(RE).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(B_DLL): $(PERLDEP) $(B).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(THREAD_DLL): $(PERLDEP) $(THREAD).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(ATTRS_DLL): $(PERLDEP) $(ATTRS).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(POSIX_DLL): $(PERLDEP) $(POSIX).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(IO_DLL): $(PERLDEP) $(IO).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(SDBM_FILE_DLL) : $(PERLDEP) $(SDBM_FILE).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(FCNTL_DLL): $(PERLDEP) $(FCNTL).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(OPCODE_DLL): $(PERLDEP) $(OPCODE).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(SOCKET_DLL): $(PERLDEP) $(SOCKET).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(HOSTNAME_DLL): $(PERLDEP) $(HOSTNAME).xs - cd $(EXTDIR)\Sys\$(*B) && \ - ..\..\..\miniperl -I..\..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\Sys\$(*B) && $(MAKE) - -$(BYTELOADER_DLL): $(PERLDEP) $(BYTELOADER).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(ENCODE_DLL): $(PERLDEP) $(ENCODE).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(STORABLE_DLL): $(PERLDEP) $(STORABLE).xs - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) - -$(FILTER_DLL): $(PERLDEP) $(FILTER).xs - cd $(EXTDIR)\Filter\Util\Call && \ - ..\..\..\..\miniperl -I..\..\..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\Filter\Util\Call && $(MAKE) - -$(ERRNO_PM): $(PERLDEP) $(ERRNO)_pm.PL - cd $(EXTDIR)\$(*B) && \ - ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl - cd $(EXTDIR)\$(*B) && $(MAKE) +#---------------------------------------------------------------------------------- +Extensions : buildext.pl $(PERLDEP) $(CONFIGPM) + $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) $(EXTDIR) + +Extensions_clean : + -if exist $(MINIPERL) $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) $(EXTDIR) clean + +#---------------------------------------------------------------------------------- + doc: $(PERLEXE) $(PERLEXE) -I..\lib ..\installhtml --podroot=.. --htmldir=./html \ @@ -1231,14 +1065,34 @@ doc: $(PERLEXE) utils: $(PERLEXE) $(X2P) cd ..\utils && $(MAKE) PERL=$(MINIPERL) - copy ..\README.amiga ..\pod\perlamiga.pod - copy ..\README.cygwin ..\pod\perlcygwin.pod - copy ..\README.dos ..\pod\perldos.pod - copy ..\README.hpux ..\pod\perlhpux.pod - copy ..\README.machten ..\pod\perlmachten.pod - copy ..\README.os2 ..\pod\perlos2.pod - copy ..\README.os2 ..\pod\perlos2.pod - copy ..\vms\perlvms.pod ..\pod\perlvms.pod + copy ..\README.aix ..\pod\perlaix.pod + copy ..\README.amiga ..\pod\perlamiga.pod + copy ..\README.apollo ..\pod\perlapollo.pod + copy ..\README.beos ..\pod\perlbeos.pod + copy ..\README.bs2000 ..\pod\perlbs2000.pod + copy ..\README.ce ..\pod\perlce.pod + copy ..\README.cygwin ..\pod\perlcygwin.pod + copy ..\README.dgux ..\pod\perldgux.pod + copy ..\README.dos ..\pod\perldos.pod + copy ..\README.epoc ..\pod\perlepoc.pod + copy ..\README.hpux ..\pod\perlhpux.pod + copy ..\README.hurd ..\pod\perlhurd.pod + copy ..\README.machten ..\pod\perlmachten.pod + copy ..\README.macos ..\pod\perlmacos.pod + copy ..\README.mint ..\pod\perlmint.pod + copy ..\README.mpeix ..\pod\perlmpeix.pod + copy ..\README.netware ..\pod\perlnetware.pod + copy ..\README.os2 ..\pod\perlos2.pod + copy ..\README.os390 ..\pod\perlos390.pod + copy ..\README.plan9 ..\pod\perlplan9.pod + copy ..\README.qnx ..\pod\perlqnx.pod + copy ..\README.solaris ..\pod\perlsolaris.pod + copy ..\README.tru64 ..\pod\perltru64.pod + copy ..\README.uts ..\pod\perluts.pod + copy ..\README.vmesa ..\pod\perlvmesa.pod + copy ..\vms\perlvms.pod ..\pod\perlvms.pod + copy ..\README.vos ..\pod\perlvos.pod + copy ..\README.win32 ..\pod\perlwin32.pod cd ..\pod && $(MAKE) -f ..\win32\pod.mak converters cd ..\lib && $(PERLEXE) lib_pm.PL $(PERLEXE) $(PL2BAT) $(UTILS) @@ -1247,8 +1101,6 @@ distclean: clean -del /f $(MINIPERL) $(PERLEXE) $(PERLDLL) $(GLOBEXE) \ $(PERLIMPLIB) ..\miniperl$(a) $(MINIMOD) -del /f *.def *.map - -del /f $(EXTENSION_DLL) $(EXTENSION_PM) - -del /f $(EXTENSION_C) $(DYNALOADER).c $(ERRNO).pm -del /f $(EXTDIR)\DynaLoader\dl_win32.xs -del /f $(LIBDIR)\.exists $(LIBDIR)\attrs.pm $(LIBDIR)\DynaLoader.pm -del /f $(LIBDIR)\XSLoader.pm @@ -1257,20 +1109,41 @@ distclean: clean -del /f $(LIBDIR)\SDBM_File.pm $(LIBDIR)\Socket.pm $(LIBDIR)\POSIX.pm -del /f $(LIBDIR)\B.pm $(LIBDIR)\O.pm $(LIBDIR)\re.pm -del /f $(LIBDIR)\Data\Dumper.pm $(LIBDIR)\ByteLoader.pm + -del /f $(LIBDIR)\PerlIO\Scalar.pm -del /f $(LIBDIR)\Devel\Peek.pm $(LIBDIR)\Devel\DProf.pm -del /f $(LIBDIR)\File\Glob.pm -del /f $(LIBDIR)\Storable.pm - -del /f $(LIBDIR)\Filter\Util\Call\Call.pm + -del /f $(LIBDIR)\Filter\Util\Call.pm + -del /f $(LIBDIR)\Digest\MD5.pm + -del /f $(LIBDIR)\MIME\Base64.pm + -del /f $(LIBDIR)\MIME\QuotedPrint.pm + -del /f $(LIBDIR)\Time\HiRes.pm + -del /f $(LIBDIR)\List\Util.pm + -del /f $(LIBDIR)\Scalar\Util.pm -if exist $(LIBDIR)\IO rmdir /s /q $(LIBDIR)\IO || rmdir /s $(LIBDIR)\IO -if exist $(LIBDIR)\Thread rmdir /s /q $(LIBDIR)\Thread || rmdir /s $(LIBDIR)\Thread -if exist $(LIBDIR)\B rmdir /s /q $(LIBDIR)\B || rmdir /s $(LIBDIR)\B -if exist $(LIBDIR)\Data rmdir /s /q $(LIBDIR)\Data || rmdir /s $(LIBDIR)\Data -if exist $(LIBDIR)\Filter\Util\Call rmdir /s /q $(LIBDIR)\Filter\Util\Call || rmdir /s $(LIBDIR)\Filter -if exist $(LIBDIR)\Filter\Util rmdir /s /q $(LIBDIR)\Filter\Util || rmdir /s $(LIBDIR)\Filter - -del /f $(PODDIR)\*.html - -del /f $(PODDIR)\*.bat + -if exist $(LIBDIR)\Digest rmdir /s /q $(LIBDIR)\Digest || rmdir /s $(LIBDIR)\Digest + -if exist $(LIBDIR)\MIME rmdir /s /q $(LIBDIR)\MIME || rmdir /s $(LIBDIR)\MIME + -if exist $(LIBDIR)\List rmdir /s /q $(LIBDIR)\List || rmdir /s $(LIBDIR)\List + -if exist $(LIBDIR)\Scalar rmdir /s /q $(LIBDIR)\Scalar || rmdir /s $(LIBDIR)\Scalar + -cd $(PODDIR) && del /f *.html *.bat checkpods \ + perlaix.pod perlamiga.pod perlapollo.pod \ + perlbeos.pod perlbs2000.pod perlce.pod perlcygwin.pod perldgux.pod \ + perldos.pod perlepoc.pod perlhpux.pod perlhurd.pod \ + perlmachten.pod perlmint.pod \ + perlmacos.pod perlmpeix.pod perlnetware.pod \ + perlos2.pod perlos390.pod \ + perlplan9.pod perlqnx.pod \ + perlsolaris.pod perltru64.pod perluts.pod \ + perlvmesa.pod perlvms.pod perlvos.pod \ + perlwin32.pod pod2html pod2latex pod2man pod2text pod2usage \ + podchecker podselect -cd ..\utils && del /f h2ph splain perlbug pl2pm c2ph h2xs perldoc \ - dprofpp *.bat + perlivp dprofpp *.bat -cd ..\x2p && del /f find2perl s2p *.bat -del /f ..\config.sh ..\splittree.pl perlmain.c dlutils.c config.h.new -del /f $(CONFIGPM) @@ -1333,7 +1206,7 @@ test-wide-notty : test-prep set HARNESS_PERL_SWITCHES=-C && \ cd ..\t && $(PERLEXE) -I..\lib harness -clean : +clean : Extensions_clean -@erase miniperlmain$(o) -@erase $(MINIPERL) -@erase perlglob$(o)