diff options
author | Andy Polyakov <appro@openssl.org> | 2013-09-15 21:59:25 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-09-15 22:01:23 +0200 |
commit | b3ef742cbbc1c8bf0e33dca60f08c65031647b07 (patch) | |
tree | 861495fc6f1590f7bb2f05d29c6ea6a4d43ef9cf /Makefile.org | |
parent | 612f4e2384e4cfecef42734b8b7d988cf849e74e (diff) |
Add support for Cygwin-x86_64.
PR: 3110
Submitted by Corinna Vinschen.
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.org b/Makefile.org index 428cbbb983..cfd341317f 100644 --- a/Makefile.org +++ b/Makefile.org @@ -418,7 +418,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 @@ -666,7 +666,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; \ @@ -738,9 +738,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`; \ |