!IF 0 Copyright (C) Microsoft Corporation, 1989 - 1999 Module Name: sources Abstract: This file specifies the SCardDlg.DLL (Smartcard common dialog) component being built and the list of sources files needed to build this DLL. Also, specifies optional compiler switches and libraries that are unique for this DLL being built. Author: Steve Wood (stevewo) 12-Apr-1990 Modified: Chris Dudley 3-17-1997 Notes: Commented description of this file is in \nt\bak\bin\sources.tpl !ENDIF MAJORCOMP=Calais MINORCOMP=SCardDlg TARGETNAME=$(MINORCOMP) TARGETPATH=obj TARGETTYPE=DYNLINK DLLDEF=$(O)\$(MINORCOMP).def DLLENTRY=_DllMainCRTStartup TARGETLIBS=\ $(SECURITY_LIB_PATH)\CalaislbW.lib \ $(SDK_LIB_PATH)\winscard.lib \ $(SHELL_LIB_PATH)\shfusion.lib \ $(SHELL_LIB_PATH)\shlwapip.lib \ $(SDK_LIB_PATH)\comdlg32.lib \ $(SDK_LIB_PATH)\winspool.lib \ $(SDK_LIB_PATH)\shell32.lib \ $(SDK_LIB_PATH)\wsock32.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\kernel32.lib INCLUDES= \ $(SHELL_INC_PATH);\ ..;$(O); \ ..\..\inc; PASS0_HEADERDIR=$(O) PASS0_SOURCEDIR=$(O) SOURCES= \ sclmsg.mc \ stdafx.cpp \ ..\statmon.cpp \ scsearch.cpp \ scarddlg.rc \ scarddlg.cpp \ scinsdlg.cpp \ scinsbar.cpp \ chngpdlg.cpp C_DEFINES= -D_WINDOWS -D_USRDLL -D_AFXDLL -D_UNICODE # Use C++ Exception Handling USE_NATIVE_EH=1 # Use MFC, without or with UNICODE USE_MFCUNICODE=1 USE_ATL=1 # Make sure we are building a multi-threaded DLL !IF "$(NTDEBUG)" == "retail" || "$(NTDEBUG)" == "" || "$(NTDEBUG)" == "ntsdnodbg" #...release CFLAGS=$(CFLAGS) /MT !ELSE #...debug CFLAGS=$(CFLAGS) /MTd !ENDIF PASS1_PUBLISH={$(O)\$(TARGETNAME).lib=$(SDK_LIB_PATH)\$(TARGETNAME).lib} # # Enable Fusion Build Magic (preprocess the manifest, stick in resources) # SXS_ASSEMBLY_NAME=Microsoft.Windows.scarddlg SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1 SXS_MANIFEST=scarddlg.manifest SXS_MANIFEST_IN_RESOURCES=1 SXS_NO_BINPLACE=1 # the resource ID here must be 2 SXS_MANIFEST_RESOURCE_ID=2 # ISOLATION_AWARE_ENABLED ==> use ui themes C_DEFINES=$(C_DEFINES) -DISOLATION_AWARE_ENABLED # # Shfusion.lib causes linker warnings. Ignore them. # LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217