summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-09-15 21:59:25 +0200
committerAndy Polyakov <appro@openssl.org>2013-10-14 16:59:05 +0200
commit011f89893cda9eb616ff370fb70b00cb8c59bf07 (patch)
tree9449164e4c57f41e7badd199c444c57ff75fab6b /Makefile.org
parent958608ca1c6c10d933b424159866f13963f8a881 (diff)
Add support for Cygwin-x86_64.
PR: 3110 Submitted by Corinna Vinschen. (cherry picked from commit b3ef742cbbc1c8bf0e33dca60f08c65031647b07)
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.org b/Makefile.org
index 43d16cbcb1..9e3cfc49de 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -325,7 +325,7 @@ clean-shared:
done; \
fi; \
( set -x; rm -f lib$$i$(SHLIB_EXT) ); \
- if [ "$(PLATFORM)" = "Cygwin" ]; then \
+ if expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
( set -x; rm -f cyg$$i$(SHLIB_EXT) lib$$i$(SHLIB_EXT).a ); \
fi; \
done
@@ -570,7 +570,7 @@ install_sw:
do \
if [ -f "$$i" -o -f "$$i.a" ]; then \
( echo installing $$i; \
- if [ "$(PLATFORM)" != "Cygwin" ]; then \
+ if ! expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new; \
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/$$i; \
@@ -642,9 +642,9 @@ install_docs:
@pod2man="`cd ./util; ./pod2mantest $(PERL)`"; \
here="`pwd`"; \
filecase=; \
- if [ "$(PLATFORM)" = "DJGPP" -o "$(PLATFORM)" = "Cygwin" -o "$(PLATFORM)" = "mingw" ]; then \
+ case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*) \
filecase=-i; \
- fi; \
+ esac; \
set -e; for i in doc/apps/*.pod; do \
fn=`basename $$i .pod`; \
sec=`$(PERL) util/extract-section.pl 1 < $$i`; \