X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=win32%2Fmakefile.mk;h=eac3619afb7846592b6eea71c9a8e3027eed69b9;hb=3e2a970dfeb55332005c7648ee670aa10bb9b414;hp=5a0e0208c7424b1cdf16de13cb6bc39e96d3f485;hpb=654eccd594bfe8deab367b0f4cdda726a7796ff3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/win32/makefile.mk b/win32/makefile.mk index 5a0e020..eac3619 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -387,10 +387,10 @@ DELAYLOAD *= -DELAYLOAD:ws2_32.dll delayimp.lib # installed too. .IF "$(CCTYPE)" == "MSVC80" || "$(CCTYPE)" == "MSVC80FREE" || \ "$(CCTYPE)" == "MSVC90" || "$(CCTYPE)" == "MSVC90FREE" -EMBED_EXE_MANI = mt -nologo -manifest $@.manifest -outputresource:$@;1 && \ - del $@.manifest -EMBED_DLL_MANI = mt -nologo -manifest $@.manifest -outputresource:$@;2 && \ - del $@.manifest +EMBED_EXE_MANI = if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;1 && \ + if exist $@.manifest del $@.manifest +EMBED_DLL_MANI = if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;2 && \ + if exist $@.manifest del $@.manifest .ENDIF ARCHDIR = ..\lib\$(ARCHNAME) @@ -758,7 +758,6 @@ UTILS = \ ..\utils\cpan2dist \ ..\utils\shasum \ ..\utils\instmodsh \ - ..\pod\checkpods \ ..\pod\pod2html \ ..\pod\pod2latex \ ..\pod\pod2man \ @@ -1130,18 +1129,20 @@ config.w32 : $(CFGSH_TMPL) $(MINIPERL) -I..\lib config_sh.PL --cfgsh-option-file \ $(mktmp $(CFG_VARS)) config.w32 > ..\config.sh -# this target is for when changes to the main config.sh happen -# edit config.{b,v,g}c and make this target once for each supported -# compiler (e.g. `dmake CCTYPE=BORLAND regen_config_h`) +# this target is for when changes to the main config.sh happen. +# edit config.gc, then make perl using GCC in a minimal configuration (i.e. +# with MULTI, ITHREADS, IMP_SYS, LARGE_FILES, PERLIO and CRYPT off), then make +# this target to regenerate config_H.gc. +# unfortunately, some further manual editing is also then required to restore all +# the special _MSC_VER handling that is otherwise lost. +# repeat for config.bc and config_H.bc (using BORLAND), except that there is no +# _MSC_VER stuff in that case. regen_config_h: - perl config_sh.PL --cfgsh-option-file $(mktmp $(CFG_VARS)) \ + $(MINIPERL) -I..\lib config_sh.PL --cfgsh-option-file $(mktmp $(CFG_VARS)) \ $(CFGSH_TMPL) > ..\config.sh - -cd .. && del /f perl.exe - -cd .. && del /f perl*.dll - cd .. && perl configpm + cd .. && miniperl configpm -del /f $(CFGH_TMPL) - -mkdir $(COREDIR) - -perl config_h.PL "INST_VER=$(INST_VER)" + -$(MINIPERL) -I..\lib config_h.PL "INST_VER=$(INST_VER)" rename config.h $(CFGH_TMPL) $(CONFIGPM) : $(MINIPERL) ..\config.sh config_h.PL ..\minimod.pl @@ -1428,6 +1429,7 @@ utils: $(PERLEXE) $(X2P) copy ..\README.dos ..\pod\perldos.pod copy ..\README.epoc ..\pod\perlepoc.pod copy ..\README.freebsd ..\pod\perlfreebsd.pod + copy ..\README.haiku ..\pod\perlhaiku.pod copy ..\README.hpux ..\pod\perlhpux.pod copy ..\README.hurd ..\pod\perlhurd.pod copy ..\README.irix ..\pod\perlirix.pod @@ -1505,6 +1507,10 @@ distclean: realclean -if exist $(LIBDIR)\Encode rmdir /s /q $(LIBDIR)\Encode -if exist $(LIBDIR)\Filter\Util rmdir /s /q $(LIBDIR)\Filter\Util -if exist $(LIBDIR)\Hash rmdir /s /q $(LIBDIR)\Hash + -if exist $(LIBDIR)\App rmdir /s /q $(LIBDIR)\App + -if exist $(LIBDIR)\Module\Pluggable rmdir /s /q $(LIBDIR)\Module\Pluggable + -if exist $(LIBDIR)\TAP rmdir /s /q $(LIBDIR)\TAP + -if exist $(LIBDIR)\mro rmdir /s /q $(LIBDIR)\mro -if exist $(LIBDIR)\IO\Compress rmdir /s /q $(LIBDIR)\IO\Compress -if exist $(LIBDIR)\IO\Socket rmdir /s /q $(LIBDIR)\IO\Socket -if exist $(LIBDIR)\IO\Uncompress rmdir /s /q $(LIBDIR)\IO\Uncompress @@ -1516,20 +1522,20 @@ distclean: realclean -if exist $(LIBDIR)\threads rmdir /s /q $(LIBDIR)\threads -if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS -if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API - -cd $(PODDIR) && del /f *.html *.bat checkpods \ + -cd $(PODDIR) && del /f *.html *.bat podchecker \ perlaix.pod perlamiga.pod perlapollo.pod perlbeos.pod \ perlbs2000.pod perlce.pod perlcn.pod perlcygwin.pod \ perldelta.pod perldgux.pod perldos.pod perlepoc.pod \ - perlfreebsd.pod perlhpux.pod perlhurd.pod perlirix.pod \ - perljp.pod perlko.pod perllinux.pod perlmachten.pod \ - perlmacos.pod perlmacosx.pod perlmint.pod perlmpeix.pod \ - perlnetware.pod perlopenbsd.pod perlos2.pod perlos390.pod \ - perlos400.pod perlplan9.pod perlqnx.pod perlriscos.pod \ - perlsolaris.pod perlsymbian.pod perltru64.pod perltw.pod \ - perluts.pod perlvmesa.pod perlvms.pod perlvms.pod perlvos.pod \ - perlwin32.pod \ + perlfreebsd.pod perlhaiku.pod perlhpux.pod perlhurd.pod \ + perlirix.pod perljp.pod perlko.pod perllinux.pod \ + perlmachten.pod perlmacos.pod perlmacosx.pod perlmint.pod \ + perlmpeix.pod perlnetware.pod perlopenbsd.pod perlos2.pod \ + perlos390.pod perlos400.pod perlplan9.pod perlqnx.pod \ + perlriscos.pod perlsolaris.pod perlsymbian.pod perltru64.pod \ + perltw.pod perluts.pod perlvmesa.pod perlvms.pod perlvms.pod \ + perlvos.pod perlwin32.pod \ pod2html pod2latex pod2man pod2text pod2usage \ - podchecker podselect + podselect -cd ..\utils && del /f h2ph splain perlbug pl2pm c2ph pstruct h2xs \ perldoc perlivp dprofpp libnetcfg enc2xs piconv cpan *.bat \ xsubpp instmodsh prove ptar ptardiff cpanp-run-perl cpanp cpan2dist shasum corelist config_data @@ -1547,6 +1553,7 @@ distclean: realclean -if exist pod2htmd.tmp del pod2htmd.tmp -if exist pod2htmi.tmp del pod2htmi.tmp -if exist $(HTMLDIR) rmdir /s /q $(HTMLDIR) + -del /f ..\t\test_state install : all installbare installhtml