!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 \
    $(SDK_LIB_PATH)\comctl32.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= \
    ..;$(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}