diff options
Diffstat (limited to 'win32/makefile.mk')
-rw-r--r-- | win32/makefile.mk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk index 17dda74c73..e77713ce68 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -32,12 +32,14 @@ CCTYPE *= BORLAND # # if you have the source for des_fcrypt(), uncomment this and make sure the -# file exists (see README.win32) +# file exists (see README.win32). File should be located at the perl +# top level directory. #CRYPT_SRC *= des_fcrypt.c # # if you didn't set CRYPT_SRC and if you have des_fcrypt() available in a # library, uncomment this, and make sure the library exists (see README.win32) +# Specify the full pathname of the library. #CRYPT_LIB *= des_fcrypt.lib # @@ -362,7 +364,9 @@ CORE_SRC = \ ..\universal.c \ ..\util.c -CORE_SRC += $(CRYPT_SRC) +.IF "$(CRYPT_SRC)" != "" +CORE_SRC += ..\$(CRYPT_SRC) +.ENDIF .IF "$(PERL_MALLOC)" == "define" CORE_SRC += ..\malloc.c @@ -385,6 +389,10 @@ PERL95_SRC = \ win32mt.c \ win32sckmt.c +.IF "$(CRYPT_SRC)" != "" +PERL95_SRC += ..\$(CRYPT_SRC) +.ENDIF + DLL_SRC = $(DYNALOADER).c @@ -727,6 +735,7 @@ $(PERL95EXE): $(PERLDLL) $(CONFIGPM) $(PERL95_OBJ) $(DYNALOADER).c: $(MINIPERL) $(EXTDIR)\DynaLoader\dl_win32.xs $(CONFIGPM) if not exist $(AUTODIR) mkdir $(AUTODIR) + cd $(EXTDIR)\$(*B) && ..\$(MINIPERL) -I..\..\lib $(*B).pm.PL $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL) cd $(EXTDIR)\$(*B) && $(XSUBPP) dl_win32.xs > $(*B).c $(XCOPY) $(EXTDIR)\$(*B)\dlutils.c . |