You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
2.7 KiB
114 lines
2.7 KiB
!IF 0
|
|
|
|
Copyright (c) 1993-94 Microsoft Corporation
|
|
|
|
!ENDIF
|
|
|
|
ATHROOT=..
|
|
!include $(ATHROOT)\athena.inc
|
|
|
|
!ifndef WIN16
|
|
C_DEFINES = $(C_DEFINES:-DNASHVILLE=) -DUNICODE
|
|
!else
|
|
C_DEFINES = $(C_DEFINES:-DNASHVILLE=)
|
|
!endif
|
|
|
|
#treat warnings as errors and get lots of warnings
|
|
MSC_WARNING_LEVEL=/W3 /WX
|
|
|
|
SOURCES_USED=$(SOURCES_USED) $(ATHROOT)\athena.inc
|
|
|
|
!ifndef WIN16
|
|
TARGETNAME=cryptdlg
|
|
!else
|
|
TARGETNAME=cryptd16
|
|
!endif
|
|
TARGETPATH=obj
|
|
TARGETTYPE=DYNLINK
|
|
|
|
!if "$(BUILD_DEFAULT_TARGETS)" != "-mppc"
|
|
!ifndef WIN16
|
|
C_DEFINES = $(C_DEFINES) -DNT5BUILD
|
|
!endif
|
|
!endif
|
|
|
|
SOURCES = \
|
|
certfram.cpp \
|
|
fineprnt.cpp \
|
|
select.cpp \
|
|
trust.cpp \
|
|
util.cpp \
|
|
view.cpp \
|
|
cryptdlg.rc \
|
|
\
|
|
wxptrust.cpp \
|
|
demand.cpp \
|
|
|
|
|
|
SOURCES_WIN16 = \
|
|
certfram.cpp \
|
|
fineprnt.cpp \
|
|
select.cpp \
|
|
trust.cpp \
|
|
util.cpp \
|
|
view.cpp \
|
|
\
|
|
ltrust.cpp \
|
|
demand.cpp \
|
|
|
|
|
|
!ifdef WIN16
|
|
DLLDEF = $O\cryptd16.def
|
|
!else
|
|
DLLDEF = $O\cryptdlg.def
|
|
!endif
|
|
DLLENTRY=_DllMainCRTStartup
|
|
DLLORDER=$(ATHROOT)\prf\$(BBT_TARGET)\cryptdlg.prf
|
|
|
|
!ifdef WIN16
|
|
LINKER_DIRECTIVES= \
|
|
export CertViewPropertiesA \
|
|
export CertSelectCertificateA \
|
|
export CertConfigureTrustA \
|
|
export GetFriendlyNameOfCertA \
|
|
export CertModifyCertificatesToTrust \
|
|
export FormatVerisignExtension
|
|
!endif
|
|
|
|
TARGETLIBS= \
|
|
!ifndef WIN16
|
|
$(BASEDIR)\public\sdk\lib\*\kernel32.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\user32.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\gdi32.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\comctl32.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\advapi32.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\shell32.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\shlwapi.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\wintrust.lib
|
|
!else
|
|
$(BASEDIR)\public\sdk\lib16\win16x.lib \
|
|
$(BASEDIR)\public\sdk\lib16\comctlie.lib \
|
|
$(BASEDIR)\public\sdk\lib16\ole2.lib \
|
|
$(BASEDIR)\public\sdk\lib16\ole2disp.lib \
|
|
$(BASEDIR)\public\sdk\lib16\ole2nls.lib \
|
|
$(BASEDIR)\public\sdk\lib16\storage.lib \
|
|
$(BASEDIR)\public\sdk\lib16\uuid16.lib \
|
|
$(BASEDIR)\public\sdk\lib16\windows.lib \
|
|
$(BASEDIR)\public\sdk\lib16\shell.lib \
|
|
$(BASEDIR)\public\sdk\lib16\clibl.lib \
|
|
$(BASEDIR)\public\sdk\lib16\plibl.lib
|
|
!endif
|
|
|
|
UMTYPE=windows
|
|
|
|
PRECOMPILED_CXX=1
|
|
!ifndef WIN16
|
|
PRECOMPILED_INCLUDE=pch.hxx
|
|
PRECOMPILED_OPTION=
|
|
PRECOMPILED_TARGET=
|
|
!else
|
|
PRECOMPILED_OPTION=/fh=$(O)\pch.pch
|
|
|
|
MAKEDLL=1
|
|
UMRES=$(O)\cryptdlg.res
|
|
!endif
|