!IF 0

Copyright (c) 1998  Microsoft Corporation

Module Name:

    sources.

Abstract:

    This file specifies the target component being built and the list of
    sources files needed to build that component.  Also specifies optional
    compiler switches and libraries that are unique for the component being
    built.


Author:

Revision History:

!ENDIF

MAJORCOMP=admin
MINORCOMP=common

TARGETNAME=certtmpl
TARGETPATH=obj
TARGETTYPE=DYNLINK

DLLENTRY=_DllMainCRTStartup

# required for thread-safe heap
USE_MSVCRT=1

# required to support dynamic_cast
USE_RTTI=1


NO_BROWSER_FILE=


!IF defined(SLATE_REGISTER) && defined(MAKEDLL)
REGSVR_FILE=$(TARGETPATH)\$(TARGET_DIRECTORY)\$(TARGETNAME).dll
REGSVR_MARKER=$(O)\$(TARGETNAME).trg
NTTARGETFILES=$(REGSVR_MARKER)
!ENDIF

UMTYPE=windows

C_DEFINES = -DWORD97_STYLE
WIN32_WINNT_VERSION=0x0500
WIN32_IE_VERSION=0x0500
WINVER_VERSION=0x0500

USE_MFCUNICODE=1
USE_VCCOM=1
USE_ATL=1
ATL_VER=30
USE_STL=1
MSC_WARNING_LEVEL=/W4
USE_WTL=1

PASS0_HEADERDIR=$(O)
PASS0_SOURCEDIR=$(O)
MIDL_TLBDIR=$(O)

#
# Enable Fusion Build Magic (preprocess the manifest, stick in resources)
#
SXS_ASSEMBLY_NAME=Microsoft.Windows.ServerAdmin.CertificateTemplatesSnapin
SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
SXS_MANIFEST=certtmpl.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

TARGETLIBS=\
           $(DS_LIB_PATH)\certclip.lib   \
           $(SDK_LIB_PATH)\mmc.lib       \
           $(SDK_LIB_PATH)\kernel32.lib  \
           $(SDK_LIB_PATH)\user32.lib    \
           $(SDK_LIB_PATH)\oleaut32.lib  \
           $(SDK_LIB_PATH)\ole32.lib     \
           $(SDK_LIB_PATH)\advapi32.lib  \
           $(SDK_LIB_PATH)\netapi32.lib  \
           $(SDK_LIB_PATH)\shell32.lib   \
           $(SDK_LIB_PATH)\uuid.lib      \
           $(SDK_LIB_PATH)\cryptui.lib   \
           $(SDK_LIB_PATH)\crypt32.lib   \
           $(SDK_LIB_PATH)\comdlg32.lib  \
           $(SDK_LIB_PATH)\gdi32.lib     \
           $(SDK_LIB_PATH)\ntdsapi.lib   \
           $(SHELL_LIB_PATH)\shfusion.lib \
           $(SHELL_LIB_PATH)\shlwapip.lib \
           $(SDK_LIB_PATH)\adsiid.lib    \
           $(SDK_LIB_PATH)\activeds.lib  \
           $(SDK_LIB_PATH)\aclui.lib \
           $(SDK_LIB_PATH)\wldap32.lib \
           ..\framewrk\$(O)\framewrk.lib            \
           ..\corecopy\$(O)\uicore.lib


# C_DEFINES is controlled by UIGLOBAL.MK



INCLUDES=..\framewrk;       \
         ..\framewrk\inc;   \
         ..\corecopy;       \
         ..\chooser;        \
         $(NET_INC_PATH);   \
         $(DS_INC_PATH);    \
         $(SHELL_INC_PATH); \
         $(DRIVERS_INC_PATH);

PRECOMPILED_INCLUDE = stdafx.h
PRECOMPILED_CXX = 1

SOURCES= about.cpp \
		AddApprovalDlg.cpp \
		BasicConstraintsDlg.cpp \
		CertTmpl.cpp \
		cmponent.cpp \
		compdata.cpp \
		cookie.cpp   \
		dataobj.cpp  \
		debug.cpp \
		dynamlnk.cpp \
		CertTemplate.cpp \
                HelpPropertyPage.cpp \
		KeyUsageDlg.cpp \
		NewApplicationOIDDlg.cpp \
		NewIssuanceOIDDlg.cpp \
		persist.cpp  \
		PolicyDlg.cpp \
		PolicyOID.cpp \
		SecurityPropertyPage.cpp \
		SelectOIDDlg.cpp \
		SelectTemplateDlg.cpp \
		ShellExt.cpp \
		TemplateGeneralPropertyPage.cpp \
        TemplatePropertySheet.cpp \
		TemplateV1RequestPropertyPage.cpp \
		TemplateV2RequestPropertyPage.cpp \
		TemplateV1SubjectNamePropertyPage.cpp \
		TemplateV2SubjectNamePropertyPage.cpp \
		TemplateV2AuthenticationPropertyPage.cpp \
		TemplateV2SupercedesPropertyPage.cpp \
		TemplateExtensionsPropertyPage.cpp \
        tinstall.cpp \
        ViewOIDDlg.cpp \
		CertTmpl.idl \
		resource.rc