Cosmetic mingw update.
authorAndy Polyakov <appro@openssl.org>
Mon, 27 Dec 2004 23:48:33 +0000 (23:48 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 27 Dec 2004 23:48:33 +0000 (23:48 +0000)
PR: 924

Configure
Makefile.org

index 2685c9d239ce569315b3abb2f7869931c1b34ce8..e284418d0228123e2f768579a23791bfbd25b484 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -938,8 +938,7 @@ print "Configuring for $target\n";
 
 my $IsWindows=scalar grep /^$target$/,@WinTargets;
 
-$exe_ext=".exe" if ($target eq "Cygwin");
-$exe_ext=".exe" if ($target eq "DJGPP");
+$exe_ext=".exe" if ($target eq "Cygwin" || $target eq "DJGPP" || $target eq "mingw");
 $exe_ext=".pm" if ($target eq "vos-gcc" or $target eq "debug-vos-gcc" or $target eq "vos-vcc" or $target eq "debug-vos-vcc");
 $openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq "");
 $prefix=$openssldir if $prefix eq "";
index 4846a40b873288c9fc168435e5ee3cf45ccf7e1f..dd7cfc6368b3c206c22af25812c10569d83ec31a 100644 (file)
@@ -629,7 +629,7 @@ clean:      libclean
        do \
        if [ -d "$$i" ]; then \
                (cd $$i && echo "making clean in $$i..." && \
-               $(MAKE) SDIRS='${SDIRS}' clean ) || exit 1; \
+               $(MAKE) EXE_EXT='${EXE_EXT}' SDIRS='${SDIRS}' clean ) || exit 1; \
                rm -f $(LIBS); \
        fi; \
        done;
@@ -891,7 +891,7 @@ install_docs:
        @pod2man="`cd util; ./pod2mantest $(PERL)`"; \
        here="`pwd`"; \
        filecase=; \
-       if [ "$(PLATFORM)" = "DJGPP" -o "$(PLATFORM)" = "Cygwin" ]; then \
+       if [ "$(PLATFORM)" = "DJGPP" -o "$(PLATFORM)" = "Cygwin" -o "$(PLATFORM)" = "mingw" ]; then \
                filecase=-i; \
        fi; \
        for i in doc/apps/*.pod; do \