From a16bc5450359294f9d8585da9f74e5082108b7fb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 14 Oct 2018 16:25:10 +0200 Subject: patch 8.1.0474: directory where if_perl.c is written is inconsistent Problem: Directory where if_perl.c is written is inconsistent. Solution: use auto/if_perl.c for MS-Windows. (Ken Takata, closes #3540) --- src/Make_mvc.mak | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/Make_mvc.mak') diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index 1a3978c0e..89b1d1624 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -1286,6 +1286,7 @@ clean: - if exist install.exe del install.exe - if exist uninstal.exe del uninstal.exe - if exist if_perl.c del if_perl.c + - if exist auto\if_perl.c del auto\if_perl.c - if exist dimm.h del dimm.h - if exist dimm_i.c del dimm_i.c - if exist dimm.tlb del dimm.tlb @@ -1424,12 +1425,12 @@ $(OUTDIR)/if_cscope.obj: $(OUTDIR) if_cscope.c $(INCL) if_cscope.h $(OUTDIR)/if_lua.obj: $(OUTDIR) if_lua.c $(INCL) $(CC) $(CFLAGS_OUTDIR) $(LUA_INC) if_lua.c -if_perl.c : if_perl.xs typemap +auto/if_perl.c : if_perl.xs typemap $(XSUBPP) -prototypes -typemap $(XSUBPP_TYPEMAP) \ - -typemap typemap if_perl.xs -output if_perl.c + -typemap typemap if_perl.xs -output $@ -$(OUTDIR)/if_perl.obj: $(OUTDIR) if_perl.c $(INCL) - $(CC) $(CFLAGS_OUTDIR) $(PERL_INC) if_perl.c +$(OUTDIR)/if_perl.obj: $(OUTDIR) auto/if_perl.c $(INCL) + $(CC) $(CFLAGS_OUTDIR) $(PERL_INC) auto/if_perl.c $(OUTDIR)/if_perlsfio.obj: $(OUTDIR) if_perlsfio.c $(INCL) $(CC) $(CFLAGS_OUTDIR) $(PERL_INC) if_perlsfio.c -- cgit v1.2.1