| 1 | = Changes to OpenSSL Project Files = |
| 2 | |
| 3 | == Release/x86 == |
| 4 | |
| 5 | {{{ |
| 6 | #!diff |
| 7 | --- "a/openssl\\ms\\ntdll.mak.orig" |
| 8 | +++ "b/openssl\\ms\\ntdll.mak" |
| 9 | @@ -32,7 +32,7 @@ EX_LIBS=ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib |
| 10 | SRC_D=. |
| 11 | |
| 12 | LINK=link |
| 13 | -LFLAGS=/nologo /subsystem:console /opt:ref /debug |
| 14 | +LFLAGS=/nologo /subsystem:console /opt:ref /debug /release |
| 15 | RSC=rc |
| 16 | |
| 17 | # The output directory for everything interesting |
| 18 | @@ -49,7 +49,7 @@ RM=del /Q |
| 19 | RANLIB= |
| 20 | MKDIR=$(PERL) util/mkdir-p.pl |
| 21 | MKLIB=lib /nologo |
| 22 | -MLFLAGS= /nologo /subsystem:console /opt:ref /debug /dll |
| 23 | +MLFLAGS= /nologo /subsystem:console /opt:ref /debug /release /dll |
| 24 | ASM=ml /nologo /Cp /coff /c /Cx /Zi |
| 25 | |
| 26 | # FIPS validated module and support file locations |
| 27 | }}} |
| 28 | |
| 29 | == Debug/x86 == |
| 30 | |
| 31 | {{{ |
| 32 | #!diff |
| 33 | --- "a/openssl\\ms\\ntdll.mak.orig" |
| 34 | +++ "b/openssl\\ms\\ntdll.mak" |
| 35 | @@ -12,13 +12,13 @@ |
| 36 | # The one monster makefile better suits building in non-unix |
| 37 | # environments. |
| 38 | |
| 39 | -INSTALLTOP=C:\Temp\openssl-1.0.2a |
| 40 | -OPENSSLDIR=C:\Temp\openssl-1.0.2a\ssl |
| 41 | +INSTALLTOP=c:\src\sdks\openssl-1.0.2a-debug |
| 42 | +OPENSSLDIR=c:\src\sdks\openssl-1.0.2a-debug\ssl |
| 43 | |
| 44 | # Set your compiler options |
| 45 | PLATFORM=VC-WIN32 |
| 46 | CC=cl |
| 47 | -CFLAG= /MD /Ox /O2 /Ob2 -DOPENSSL_THREADS -DDSO_WIN32 -W3 -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE |
| 48 | +CFLAG= /MDd /Od -DDEBUG -D_DEBUG -DOPENSSL_THREADS -DDSO_WIN32 -W3 -Gs0 -GF -Gy -Zi -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE |
| 49 | APP_CFLAG= /Zi /Fd$(TMP_D)/app |
| 50 | LIB_CFLAG= /Zi /Fd$(TMP_D)/lib -D_WINDLL |
| 51 | SHLIB_CFLAG= |
| 52 | @@ -32,13 +32,13 @@ EX_LIBS=ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib |
| 53 | SRC_D=. |
| 54 | |
| 55 | LINK=link |
| 56 | -LFLAGS=/nologo /subsystem:console /opt:ref /debug |
| 57 | +LFLAGS=/nologo /subsystem:console /opt:ref /debug /release |
| 58 | RSC=rc |
| 59 | |
| 60 | # The output directory for everything interesting |
| 61 | -OUT_D=out32dll |
| 62 | +OUT_D=out32dll.dbg |
| 63 | # The output directory for all the temporary muck |
| 64 | -TMP_D=tmp32dll |
| 65 | +TMP_D=tmp32dll.dbg |
| 66 | # The output directory for the header files |
| 67 | INC_D=inc32 |
| 68 | INCO_D=inc32\openssl |
| 69 | @@ -49,7 +49,7 @@ RM=del /Q |
| 70 | RANLIB= |
| 71 | MKDIR=$(PERL) util/mkdir-p.pl |
| 72 | MKLIB=lib /nologo |
| 73 | -MLFLAGS= /nologo /subsystem:console /opt:ref /debug /dll |
| 74 | +MLFLAGS= /nologo /subsystem:console /opt:ref /debug /release /dll |
| 75 | ASM=ml /nologo /Cp /coff /c /Cx /Zi |
| 76 | |
| 77 | # FIPS validated module and support file locations |
| 78 | }}} |
| 79 | |
| 80 | == Release/x64 == |
| 81 | |
| 82 | {{{ |
| 83 | #!diff |
| 84 | --- "a/openssl\\ms\\ntdll.mak.orig" |
| 85 | +++ "b/openssl\\ms\\ntdll.mak" |
| 86 | @@ -12,13 +12,13 @@ |
| 87 | # The one monster makefile better suits building in non-unix |
| 88 | # environments. |
| 89 | |
| 90 | -INSTALLTOP=C:\Temp\openssl-1.0.2a |
| 91 | -OPENSSLDIR=C:\Temp\openssl-1.0.2a\ssl |
| 92 | +INSTALLTOP=c:\src\sdks\openssl-1.0.2ax64 |
| 93 | +OPENSSLDIR=c:\src\sdks\openssl-1.0.2ax64\ssl |
| 94 | |
| 95 | # Set your compiler options |
| 96 | -PLATFORM=VC-WIN32 |
| 97 | +PLATFORM=VC-WIN64A |
| 98 | CC=cl |
| 99 | -CFLAG= /MD /Ox /O2 /Ob2 -DOPENSSL_THREADS -DDSO_WIN32 -W3 -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE |
| 100 | +CFLAG= /MD /Ox -DOPENSSL_THREADS -DDSO_WIN32 -W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE |
| 101 | APP_CFLAG= /Zi /Fd$(TMP_D)/app |
| 102 | LIB_CFLAG= /Zi /Fd$(TMP_D)/lib -D_WINDLL |
| 103 | SHLIB_CFLAG= |
| 104 | @@ -32,7 +32,7 @@ EX_LIBS=ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib |
| 105 | SRC_D=. |
| 106 | |
| 107 | LINK=link |
| 108 | -LFLAGS=/nologo /subsystem:console /opt:ref /debug |
| 109 | +LFLAGS=/nologo /subsystem:console /opt:ref /debug /release |
| 110 | RSC=rc |
| 111 | |
| 112 | # The output directory for everything interesting |
| 113 | @@ -49,8 +49,8 @@ RM=del /Q |
| 114 | RANLIB= |
| 115 | MKDIR=$(PERL) util/mkdir-p.pl |
| 116 | MKLIB=lib /nologo |
| 117 | -MLFLAGS= /nologo /subsystem:console /opt:ref /debug /dll |
| 118 | -ASM=ml /nologo /Cp /coff /c /Cx /Zi |
| 119 | +MLFLAGS= /nologo /subsystem:console /opt:ref /debug /release /dll |
| 120 | +ASM=ml64 /c /Cp /Cx /Zi |
| 121 | |
| 122 | # FIPS validated module and support file locations |
| 123 | |
| 124 | @@ -455,6 +455,7 @@ EXHEADER= $(EXHEADER) $(INCO_D)\applink.c |
| 125 | |
| 126 | LIBS_DEP=$(LIBS_DEP) $(OBJ_D)\applink.obj |
| 127 | CRYPTOOBJ=$(OBJ_D)\uplink.obj $(CRYPTOOBJ) |
| 128 | +CRYPTOOBJ=ms\uptable.obj $(CRYPTOOBJ) |
| 129 | |
| 130 | |
| 131 | $(TMP_D): |
| 132 | @@ -1429,7 +1430,7 @@ $(OBJ_D)\mem_dbg.obj: $(SRC_D)\crypto\mem_dbg.c |
| 133 | $(CC) /Fo$(OBJ_D)\mem_dbg.obj $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -c $(SRC_D)\crypto\mem_dbg.c |
| 134 | |
| 135 | $(OBJ_D)\cversion.obj: $(SRC_D)\crypto\cversion.c |
| 136 | - $(CC) /Fo$(OBJ_D)\cversion.obj $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WIN32 -c $(SRC_D)\crypto\cversion.c |
| 137 | + $(CC) /Fo$(OBJ_D)\cversion.obj $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WIN64A -c $(SRC_D)\crypto\cversion.c |
| 138 | |
| 139 | $(OBJ_D)\ex_data.obj: $(SRC_D)\crypto\ex_data.c |
| 140 | $(CC) /Fo$(OBJ_D)\ex_data.obj $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -c $(SRC_D)\crypto\ex_data.c |
| 141 | }}} |
| 142 | |
| 143 | == Debug/x64 == |
| 144 | |
| 145 | {{{ |
| 146 | #!diff |
| 147 | --- "a/openssl\\ms\\ntdll.mak.orig" |
| 148 | +++ "b/openssl\\ms\\ntdll.mak" |
| 149 | @@ -12,13 +12,13 @@ |
| 150 | # The one monster makefile better suits building in non-unix |
| 151 | # environments. |
| 152 | |
| 153 | -INSTALLTOP=C:\Temp\openssl-1.0.2a |
| 154 | -OPENSSLDIR=C:\Temp\openssl-1.0.2a\ssl |
| 155 | +INSTALLTOP=c:\src\sdks\openssl-1.0.2ax64-debug |
| 156 | +OPENSSLDIR=c:\src\sdks\openssl-1.0.2ax64-debug\ssl |
| 157 | |
| 158 | # Set your compiler options |
| 159 | -PLATFORM=VC-WIN32 |
| 160 | +PLATFORM=VC-WIN64A |
| 161 | CC=cl |
| 162 | -CFLAG= /MD /Ox /O2 /Ob2 -DOPENSSL_THREADS -DDSO_WIN32 -W3 -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE |
| 163 | +CFLAG= /MDd /Od -DDEBUG -D_DEBUG -DOPENSSL_THREADS -DDSO_WIN32 -W3 -Gs0 -Gy -Zi -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE |
| 164 | APP_CFLAG= /Zi /Fd$(TMP_D)/app |
| 165 | LIB_CFLAG= /Zi /Fd$(TMP_D)/lib -D_WINDLL |
| 166 | SHLIB_CFLAG= |
| 167 | @@ -32,13 +32,13 @@ EX_LIBS=ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib |
| 168 | SRC_D=. |
| 169 | |
| 170 | LINK=link |
| 171 | -LFLAGS=/nologo /subsystem:console /opt:ref /debug |
| 172 | +LFLAGS=/nologo /subsystem:console /opt:ref /debug /release |
| 173 | RSC=rc |
| 174 | |
| 175 | # The output directory for everything interesting |
| 176 | -OUT_D=out32dll |
| 177 | +OUT_D=out32dll.dbg |
| 178 | # The output directory for all the temporary muck |
| 179 | -TMP_D=tmp32dll |
| 180 | +TMP_D=tmp32dll.dbg |
| 181 | # The output directory for the header files |
| 182 | INC_D=inc32 |
| 183 | INCO_D=inc32\openssl |
| 184 | @@ -49,8 +49,8 @@ RM=del /Q |
| 185 | RANLIB= |
| 186 | MKDIR=$(PERL) util/mkdir-p.pl |
| 187 | MKLIB=lib /nologo |
| 188 | -MLFLAGS= /nologo /subsystem:console /opt:ref /debug /dll |
| 189 | -ASM=ml /nologo /Cp /coff /c /Cx /Zi |
| 190 | +MLFLAGS= /nologo /subsystem:console /opt:ref /debug /release /dll |
| 191 | +ASM=ml64 /c /Cp /Cx /Zi |
| 192 | |
| 193 | # FIPS validated module and support file locations |
| 194 | |
| 195 | @@ -455,6 +455,7 @@ EXHEADER= $(EXHEADER) $(INCO_D)\applink.c |
| 196 | |
| 197 | LIBS_DEP=$(LIBS_DEP) $(OBJ_D)\applink.obj |
| 198 | CRYPTOOBJ=$(OBJ_D)\uplink.obj $(CRYPTOOBJ) |
| 199 | +CRYPTOOBJ=ms\uptable.obj $(CRYPTOOBJ) |
| 200 | |
| 201 | |
| 202 | $(TMP_D): |
| 203 | @@ -1429,7 +1430,7 @@ $(OBJ_D)\mem_dbg.obj: $(SRC_D)\crypto\mem_dbg.c |
| 204 | $(CC) /Fo$(OBJ_D)\mem_dbg.obj $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -c $(SRC_D)\crypto\mem_dbg.c |
| 205 | |
| 206 | $(OBJ_D)\cversion.obj: $(SRC_D)\crypto\cversion.c |
| 207 | - $(CC) /Fo$(OBJ_D)\cversion.obj $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WIN32 -c $(SRC_D)\crypto\cversion.c |
| 208 | + $(CC) /Fo$(OBJ_D)\cversion.obj $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WIN64A -c $(SRC_D)\crypto\cversion.c |
| 209 | |
| 210 | $(OBJ_D)\ex_data.obj: $(SRC_D)\crypto\ex_data.c |
| 211 | $(CC) /Fo$(OBJ_D)\ex_data.obj $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -c $(SRC_D)\crypto\ex_data.c |
| 212 | }}} |