summaryrefslogtreecommitdiff
path: root/win32/makefile.mk
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-07-16 21:51:11 +0100
committerNicholas Clark <nick@ccl4.org>2011-07-24 10:30:17 +0200
commit080c37298617406e02876f5945650ccf10840f28 (patch)
tree200388466acde33fc3dd5a351b862dcb723e2ec3 /win32/makefile.mk
parent5097d0e7442cf91c815bc77f427ba824e9e79876 (diff)
downloadperl-080c37298617406e02876f5945650ccf10840f28.tar.gz
Add an option TARG_DIR to makedef.pl, giving the path to files to read & write.
Change the Makefiles for Win32, WinCE and NetWare to pass in TARG_DIR of ..\ Previously ..\ was hardcoded for PLATFORM=win32, wince or netware. Making it a parameter allows portable testing of makedef.pl.
Diffstat (limited to 'win32/makefile.mk')
-rw-r--r--win32/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk
index 93280e9e29..ec952a4dd8 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -1206,7 +1206,7 @@ $(X2P_OBJ) : $(CORE_H)
perldll.def : $(MINIPERL) $(CONFIGPM) ..\global.sym ..\makedef.pl create_perllibst_h.pl
$(MINIPERL) -I..\lib create_perllibst_h.pl
$(MINIPERL) -I..\lib -w ..\makedef.pl PLATFORM=win32 $(OPTIMIZE) $(DEFINES) \
- $(BUILDOPT) CCTYPE=$(CCTYPE) > perldll.def
+ $(BUILDOPT) CCTYPE=$(CCTYPE) TARG_DIR=..\ > perldll.def
$(PERLDLL): perldll.def $(PERLDLL_OBJ) $(PERLDLL_RES) Extensions_static
.IF "$(CCTYPE)" == "BORLAND"