+$(CONFIGPM) : $(HPERL) ..\config.sh config_h.PL ..\git_version.h
+ cd .. && $(HPERL) -Ilib configpm --no-glossary
+ if exist lib\* $(RCOPY) lib\*.* ..\lib\$(NULL)
+ $(XCOPY) ..\*.h $(COREDIR)\*.*
+ $(XCOPY) *.h $(COREDIR)\*.*
+ $(RCOPY) include $(COREDIR)\*.*
+ if errorlevel 1 $(MAKE) /$(MAKEFLAGS) $(CONFIGPM)
+
+.\config.h: $(CONFIGPM) ..\config.sh
+ -@$(DEL) /f config.h
+ -$(HPERL) -I..\lib config_h.PL "INST_VER=$(INST_VER)" "CORE_DIR=$(COREDIR)" "CONFIG_H=config.h"
+ copy config.h ..\config.h
+
+..\config.sh : config.ce config_sh.PL FindExt.pm
+ -@$(DEL) /f config.sh
+ $(HPERL) -I..\lib -I. config_sh.PL $(CFG_VARS) config.ce > ..\config.sh
+
+..\git_version.h : ..\make_patchnum.pl
+ cd .. && $(HPERL) -Ilib make_patchnum.pl && cd win32
+
+# make sure that we recompile perl.c if the git version changes
+$(DLLDIR)\perl.obj : ..\git_version.h
+
+MakePPPort: $(HPERL) $(CONFIGPM) Extensions_nonxs
+ $(HPERL) -I..\lib ..\mkppport