wiki:AdminDepLibsOpenSSL

Changes to OpenSSL Project Files

Release/x86

  • (a) "a/openssl\\ms\\ntdll.mak.orig" vs. (b) "b/openssl\\ms\\ntdll.mak"

    a b EX_LIBS=ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib 
    3232SRC_D=.
    3333
    3434LINK=link
    35 LFLAGS=/nologo /subsystem:console /opt:ref /debug
     35LFLAGS=/nologo /subsystem:console /opt:ref /debug /release
    3636RSC=rc
    3737
    3838# The output directory for everything interesting
    RM=del /Q 
    4949RANLIB=
    5050MKDIR=$(PERL) util/mkdir-p.pl
    5151MKLIB=lib /nologo
    52 MLFLAGS= /nologo /subsystem:console /opt:ref /debug /dll
     52MLFLAGS= /nologo /subsystem:console /opt:ref /debug /release /dll
    5353ASM=ml /nologo /Cp /coff /c /Cx /Zi
    5454
    5555# FIPS validated module and support file locations

Debug/x86

  • (a) "a/openssl\\ms\\ntdll.mak.orig" vs. (b) "b/openssl\\ms\\ntdll.mak"

    a b  
    1212# The one monster makefile better suits building in non-unix
    1313# environments.
    1414
    15 INSTALLTOP=C:\Temp\openssl-1.0.2a
    16 OPENSSLDIR=C:\Temp\openssl-1.0.2a\ssl
     15INSTALLTOP=c:\src\sdks\openssl-1.0.2a-debug
     16OPENSSLDIR=c:\src\sdks\openssl-1.0.2a-debug\ssl
    1717
    1818# Set your compiler options
    1919PLATFORM=VC-WIN32
    2020CC=cl
    21 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   
     21CFLAG= /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   
    2222APP_CFLAG= /Zi /Fd$(TMP_D)/app
    2323LIB_CFLAG= /Zi /Fd$(TMP_D)/lib -D_WINDLL
    2424SHLIB_CFLAG=
    EX_LIBS=ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib 
    3232SRC_D=.
    3333
    3434LINK=link
    35 LFLAGS=/nologo /subsystem:console /opt:ref /debug
     35LFLAGS=/nologo /subsystem:console /opt:ref /debug /release
    3636RSC=rc
    3737
    3838# The output directory for everything interesting
    39 OUT_D=out32dll
     39OUT_D=out32dll.dbg
    4040# The output directory for all the temporary muck
    41 TMP_D=tmp32dll
     41TMP_D=tmp32dll.dbg
    4242# The output directory for the header files
    4343INC_D=inc32
    4444INCO_D=inc32\openssl
    RM=del /Q 
    4949RANLIB=
    5050MKDIR=$(PERL) util/mkdir-p.pl
    5151MKLIB=lib /nologo
    52 MLFLAGS= /nologo /subsystem:console /opt:ref /debug /dll
     52MLFLAGS= /nologo /subsystem:console /opt:ref /debug /release /dll
    5353ASM=ml /nologo /Cp /coff /c /Cx /Zi
    5454
    5555# FIPS validated module and support file locations

Release/x64

  • (a) "a/openssl\\ms\\ntdll.mak.orig" vs. (b) "b/openssl\\ms\\ntdll.mak"

    a b  
    1212# The one monster makefile better suits building in non-unix
    1313# environments.
    1414
    15 INSTALLTOP=C:\Temp\openssl-1.0.2a
    16 OPENSSLDIR=C:\Temp\openssl-1.0.2a\ssl
     15INSTALLTOP=c:\src\sdks\openssl-1.0.2ax64
     16OPENSSLDIR=c:\src\sdks\openssl-1.0.2ax64\ssl
    1717
    1818# Set your compiler options
    19 PLATFORM=VC-WIN32
     19PLATFORM=VC-WIN64A
    2020CC=cl
    21 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   
     21CFLAG= /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   
    2222APP_CFLAG= /Zi /Fd$(TMP_D)/app
    2323LIB_CFLAG= /Zi /Fd$(TMP_D)/lib -D_WINDLL
    2424SHLIB_CFLAG=
    EX_LIBS=ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib 
    3232SRC_D=.
    3333
    3434LINK=link
    35 LFLAGS=/nologo /subsystem:console /opt:ref /debug
     35LFLAGS=/nologo /subsystem:console /opt:ref /debug /release
    3636RSC=rc
    3737
    3838# The output directory for everything interesting
    RM=del /Q 
    4949RANLIB=
    5050MKDIR=$(PERL) util/mkdir-p.pl
    5151MKLIB=lib /nologo
    52 MLFLAGS= /nologo /subsystem:console /opt:ref /debug /dll
    53 ASM=ml /nologo /Cp /coff /c /Cx /Zi
     52MLFLAGS= /nologo /subsystem:console /opt:ref /debug /release /dll
     53ASM=ml64 /c /Cp /Cx /Zi
    5454
    5555# FIPS validated module and support file locations
    5656
    EXHEADER= $(EXHEADER) $(INCO_D)\applink.c 
    455455
    456456LIBS_DEP=$(LIBS_DEP) $(OBJ_D)\applink.obj
    457457CRYPTOOBJ=$(OBJ_D)\uplink.obj $(CRYPTOOBJ)
     458CRYPTOOBJ=ms\uptable.obj $(CRYPTOOBJ)
    458459
    459460
    460461$(TMP_D):
    $(OBJ_D)\mem_dbg.obj: $(SRC_D)\crypto\mem_dbg.c 
    14291430        $(CC) /Fo$(OBJ_D)\mem_dbg.obj  $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -c $(SRC_D)\crypto\mem_dbg.c
    14301431
    14311432$(OBJ_D)\cversion.obj: $(SRC_D)\crypto\cversion.c
    1432         $(CC) /Fo$(OBJ_D)\cversion.obj  $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WIN32 -c $(SRC_D)\crypto\cversion.c
     1433        $(CC) /Fo$(OBJ_D)\cversion.obj  $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WIN64A -c $(SRC_D)\crypto\cversion.c
    14331434
    14341435$(OBJ_D)\ex_data.obj: $(SRC_D)\crypto\ex_data.c
    14351436        $(CC) /Fo$(OBJ_D)\ex_data.obj  $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -c $(SRC_D)\crypto\ex_data.c

Debug/x64

  • (a) "a/openssl\\ms\\ntdll.mak.orig" vs. (b) "b/openssl\\ms\\ntdll.mak"

    a b  
    1212# The one monster makefile better suits building in non-unix
    1313# environments.
    1414
    15 INSTALLTOP=C:\Temp\openssl-1.0.2a
    16 OPENSSLDIR=C:\Temp\openssl-1.0.2a\ssl
     15INSTALLTOP=c:\src\sdks\openssl-1.0.2ax64-debug
     16OPENSSLDIR=c:\src\sdks\openssl-1.0.2ax64-debug\ssl
    1717
    1818# Set your compiler options
    19 PLATFORM=VC-WIN32
     19PLATFORM=VC-WIN64A
    2020CC=cl
    21 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   
     21CFLAG= /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   
    2222APP_CFLAG= /Zi /Fd$(TMP_D)/app
    2323LIB_CFLAG= /Zi /Fd$(TMP_D)/lib -D_WINDLL
    2424SHLIB_CFLAG=
    EX_LIBS=ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib 
    3232SRC_D=.
    3333
    3434LINK=link
    35 LFLAGS=/nologo /subsystem:console /opt:ref /debug
     35LFLAGS=/nologo /subsystem:console /opt:ref /debug /release
    3636RSC=rc
    3737
    3838# The output directory for everything interesting
    39 OUT_D=out32dll
     39OUT_D=out32dll.dbg
    4040# The output directory for all the temporary muck
    41 TMP_D=tmp32dll
     41TMP_D=tmp32dll.dbg
    4242# The output directory for the header files
    4343INC_D=inc32
    4444INCO_D=inc32\openssl
    RM=del /Q 
    4949RANLIB=
    5050MKDIR=$(PERL) util/mkdir-p.pl
    5151MKLIB=lib /nologo
    52 MLFLAGS= /nologo /subsystem:console /opt:ref /debug /dll
    53 ASM=ml /nologo /Cp /coff /c /Cx /Zi
     52MLFLAGS= /nologo /subsystem:console /opt:ref /debug /release /dll
     53ASM=ml64 /c /Cp /Cx /Zi
    5454
    5555# FIPS validated module and support file locations
    5656
    EXHEADER= $(EXHEADER) $(INCO_D)\applink.c 
    455455
    456456LIBS_DEP=$(LIBS_DEP) $(OBJ_D)\applink.obj
    457457CRYPTOOBJ=$(OBJ_D)\uplink.obj $(CRYPTOOBJ)
     458CRYPTOOBJ=ms\uptable.obj $(CRYPTOOBJ)
    458459
    459460
    460461$(TMP_D):
    $(OBJ_D)\mem_dbg.obj: $(SRC_D)\crypto\mem_dbg.c 
    14291430        $(CC) /Fo$(OBJ_D)\mem_dbg.obj  $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -c $(SRC_D)\crypto\mem_dbg.c
    14301431
    14311432$(OBJ_D)\cversion.obj: $(SRC_D)\crypto\cversion.c
    1432         $(CC) /Fo$(OBJ_D)\cversion.obj  $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WIN32 -c $(SRC_D)\crypto\cversion.c
     1433        $(CC) /Fo$(OBJ_D)\cversion.obj  $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WIN64A -c $(SRC_D)\crypto\cversion.c
    14331434
    14341435$(OBJ_D)\ex_data.obj: $(SRC_D)\crypto\ex_data.c
    14351436        $(CC) /Fo$(OBJ_D)\ex_data.obj  $(SHLIB_CFLAGS) -DOPENSSL_BUILD_SHLIBCRYPTO -c $(SRC_D)\crypto\ex_data.c
Last modified 5 years ago Last modified on Jun 22, 2015, 10:05:33 PM