summaryrefslogtreecommitdiff
path: root/src/Make_mvc.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-14 16:25:10 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-14 16:25:10 +0200
commita16bc5450359294f9d8585da9f74e5082108b7fb (patch)
tree259d512979838ec473074e7a3cc8ad3709a0e668 /src/Make_mvc.mak
parentd6105cb4085ad166910897a640693d3bada603e1 (diff)
downloadvim-git-a16bc5450359294f9d8585da9f74e5082108b7fb.tar.gz
patch 8.1.0474: directory where if_perl.c is written is inconsistentv8.1.0474
Problem: Directory where if_perl.c is written is inconsistent. Solution: use auto/if_perl.c for MS-Windows. (Ken Takata, closes #3540)
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r--src/Make_mvc.mak9
1 files changed, 5 insertions, 4 deletions
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