Windows: Make DESTDIR work
authorRichard Levitte <levitte@openssl.org>
Tue, 28 Jun 2016 11:20:21 +0000 (13:20 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 28 Jun 2016 13:42:52 +0000 (15:42 +0200)
commitb8bbd8b1bd4a75369dba985e51a9bf726ef10536
tree0b4ae19fff484884e954fb6f47c58904706eb3fd
parent850000aa414446b73163d7e723227d5fda5ed4ee
Windows: Make DESTDIR work

DESTDIR can't be used on Windows the same way as on Unix, the device
part of the installation paths get in the way.

To remedy this, have INSTALLTOP, OPENSSLDIR and ENGINESDIR get
different values depending on if $(DESTDIR) is empty or not, and use
$(INSTALLTOP), $(OPENSSLDIR) and $(ENGINESDIR) alone.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Configurations/windows-makefile.tmpl