138 lines
3.2 KiB
Plaintext
138 lines
3.2 KiB
Plaintext
!IF 0
|
|
|
|
Copyright (c) 2001 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:
|
|
|
|
CliffV 11-April-2001
|
|
|
|
|
|
!ENDIF
|
|
|
|
MAJORCOMP=authz
|
|
MINORCOMP=azroles
|
|
|
|
TARGETNAME=$(MINORCOMP)
|
|
TARGETPATH=obj
|
|
TARGETTYPE=DYNLINK
|
|
DLLDEF= $(O)\$(TARGETNAME).def
|
|
DLLENTRY= _DllMainCRTStartup
|
|
|
|
C_DEFINES= $(C_DEFINES) -DUNICODE
|
|
C_DEFINES= $(C_DEFINES) -D_AZROLESAPI_
|
|
|
|
# Define the following to build a binary that runs on Windows XP RTM
|
|
C_DEFINES= $(C_DEFINES) -DRUN_ON_XP_RTM
|
|
|
|
# Define the following to build a binary where the MSXML: provider is compiled into azroles.dll
|
|
C_DEFINES= $(C_DEFINES) -DUSE_INTERNAL_MSXML
|
|
|
|
|
|
USE_STL=1
|
|
ATL_VER=30
|
|
USE_STATIC_ATL=1
|
|
USE_SYSTEM_MIDL=1
|
|
IDL_TYPE=OLE
|
|
# USE_ICECAP4_ICEPICK=1
|
|
|
|
SOURCES= \
|
|
$(TARGETNAME).idl \
|
|
$(TARGETNAME).rc \
|
|
$(TARGETNAME).cxx \
|
|
azdisp.cxx \
|
|
stdafx_stub.cxx \
|
|
accessck.cxx \
|
|
azstore.cxx \
|
|
app.cxx \
|
|
bizrule.cxx \
|
|
context.cxx \
|
|
domain.cxx \
|
|
genobj.cxx \
|
|
group.cxx \
|
|
role.cxx \
|
|
xml.cxx \
|
|
adstore.cxx \
|
|
scope.cxx \
|
|
sid.cxx \
|
|
task.cxx \
|
|
op.cxx \
|
|
opcache.cxx \
|
|
persist.cxx \
|
|
util.cxx \
|
|
|
|
|
|
INCLUDES= \
|
|
$(SECURITY_INC); \
|
|
$(BASE_INC_PATH); \
|
|
$(O) \
|
|
.; \
|
|
|
|
|
|
|
|
# Strict warning, can be used to detect uninitialized vars. Picks up random
|
|
# stuff too
|
|
|
|
COMPILER_WARNINGS=$(COMPILER_WARNINGS) -FI$(SECURITY_INC)\secwarn.h
|
|
MSC_WARNING_LEVEL=/W4
|
|
|
|
PRECOMPILED_INCLUDE=pch.hxx
|
|
PRECOMPILED_OBJ=pch.obj
|
|
PRECOMPILED_PCH=pch.pch
|
|
|
|
|
|
# Use C++ Exception Handling
|
|
# USE_NATIVE_EH=1
|
|
|
|
USE_MSVCRT= 1
|
|
|
|
TARGETLIBS= \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\authzi.lib \
|
|
$(DS_LIB_PATH)\alloca.lib \
|
|
$(SDK_LIB_PATH)\wldap32.lib \
|
|
$(SDK_LIB_PATH)\netapi32.lib \
|
|
$(SDK_LIB_PATH)\secur32.lib \
|
|
$(SDK_LIB_PATH)\msxml2.lib \
|
|
$(SDK_LIB_PATH)\rpcrt4.lib \
|
|
$(SECURITY_LIB_PATH)\dsysdbg.lib \
|
|
$(SDK_LIB_PATH)\rpcrt4.lib \
|
|
$(SDK_LIB_PATH)\wininet.lib \
|
|
$(SDK_LIB_PATH)\mpr.lib \
|
|
$(SDK_LIB_PATH)\shlwapi.lib \
|
|
$(SDK_LIB_PATH)\Ntdsapi.lib \
|
|
|
|
|
|
DELAYLOAD=netapi32.dll;secur32.dll;wldap32.dll;mpr.dll;shlwapi.dll
|
|
DLOAD_ERROR_HANDLER=kernel32
|
|
|
|
NTTARGETFILES= \
|
|
stdafx_stub.cxx \
|
|
$(O)\azrolesp.lib \
|
|
|
|
PASS0_PUBLISH= \
|
|
{$(O)\$(TARGETNAME).h=$(SDK_INC_PATH)\$(TARGETNAME).h} \
|
|
{$(O)\$(TARGETNAME).tlb=$(SDK_LIB_PATH)\$(TARGETNAME).tlb}
|
|
|
|
PASS0_BINPLACE= \
|
|
-:DEST retail Microsoft.Interop.Security.AzRoles.dll
|
|
|
|
PASS1_PUBLISH= \
|
|
{$(O)\$(TARGETNAME).lib=$(SDK_LIB_PATH)\$(TARGETNAME).lib} \
|
|
{$(O)\azrolesp.lib=$(DS_GLOBAL_LIB_PATH)\azrolesp.lib}
|