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.
120 lines
2.9 KiB
120 lines
2.9 KiB
TERMSRV_ROOT = ..
|
|
|
|
MAJORCOMP=termsrv
|
|
|
|
TARGETNAME=tsuserex
|
|
TARGETPATH=obj
|
|
TARGETTYPE=DYNLINK
|
|
|
|
SXS_ASSEMBLY_NAME=tsuserex.interfaces.1
|
|
SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
|
|
SXS_MANIFEST=tsuserex.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
|
|
|
|
USE_RTTI=1
|
|
|
|
PASS0_HEADERDIR=$(O)
|
|
PASS0_SOURCEDIR=$(O)
|
|
MIDL_UUIDDIR=$(O)
|
|
MIDL_TLBDIR=$(O)
|
|
|
|
#
|
|
# Setting TSCOPY to 1 enables untested extension for copying userparameters in dsadmin
|
|
# and it enables ISnapinAbout for the propsheet extension
|
|
#
|
|
TSCOPY=0
|
|
|
|
#!IF defined(SLATE_REGISTER) && defined(MAKEDLL)
|
|
#REGSVR_FILE=$(TARGETPATH)\$(TARGET_DIRECTORY)\$(TARGETNAME).dll
|
|
#REGSVR_MARKER=$O\$(TARGETNAME).trg
|
|
#NTTARGETFILES=$(REGSVR_MARKER)
|
|
#!ENDIF
|
|
|
|
|
|
!if $(FREEBUILD)
|
|
!MESSAGE *****This is Free build
|
|
#C_DEFINES = $(C_DEFINES) /DNDEBUG
|
|
!else
|
|
!MESSAGE *****This is Checked build
|
|
#C_DEFINES = $(C_DEFINES) /D_DEBUG
|
|
#DEBUG_CRTS=1
|
|
!endif
|
|
|
|
!if $(TSCOPY)
|
|
C_DEFINES = $(C_DEFINES) -D_RTM_
|
|
!endif
|
|
|
|
DLLDEF=tsuserex.def
|
|
DLLBASE=0x2000000
|
|
USE_MSVCRT=1
|
|
|
|
DLLENTRY=_DllMainCRTStartup
|
|
#DLLBASE=0x7E00000
|
|
|
|
UMTYPE=windows
|
|
C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE -DSECURITY_WIN32
|
|
#USE_MFCUNICODE=1
|
|
#USE_MFC=1
|
|
USE_ATL=1
|
|
USE_STL=1
|
|
USE_NATIVE_EH=1
|
|
USE_VCCOM=1
|
|
|
|
INCLUDES=\
|
|
$(NET_INC_PATH); \
|
|
..\regapi; \
|
|
..\..\ds\adsi\include; \
|
|
..\..\ds\adsi\ldapc; \
|
|
..\..\ds\ds\src\common\iislib; \
|
|
..\..\public\internal\ds\inc\crypto;
|
|
|
|
|
|
TARGETLIBS=\
|
|
$(TERMSRV_ROOT)\lib\$(O)\apisub.lib \
|
|
$(TERMSRV_ROOT)\lib\$(O)\regapilib.lib \
|
|
$(SDK_LIB_PATH)\ntdsapi.lib \
|
|
$(SDK_LIB_PATH)\adsiid.lib \
|
|
$(SDK_LIB_PATH)\activeds.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)\uuid.lib \
|
|
$(SDK_LIB_PATH)\comctl32.lib \
|
|
$(SDK_LIB_PATH)\comdlg32.lib \
|
|
$(SDK_LIB_PATH)\gdi32.lib \
|
|
$(SDK_LIB_PATH)\shell32.lib \
|
|
$(DS_LIB_PATH)\netapi32p.lib \
|
|
$(SDK_LIB_PATH)\secur32.lib \
|
|
$(SDK_LIB_PATH)\shlwapi.lib \
|
|
$(SDK_LIB_PATH)\winsta.lib \
|
|
$(SDK_LIB_PATH)\samlib.lib \
|
|
$(SDK_LIB_PATH)\ntdll.lib \
|
|
|
|
PRECOMPILED_INCLUDE = stdafx.h
|
|
PRECOMPILED_SOURCEFILE=stdafx.cpp
|
|
PRECOMPILED_CXX = 1
|
|
|
|
!if $(TSCOPY)
|
|
EXTRAFILES = tsusrcpy.cpp
|
|
!else
|
|
EXTRAFILES =
|
|
!endif
|
|
|
|
SOURCES=\
|
|
tsuserex.idl \
|
|
tsuserex.cpp \
|
|
interfaces.cpp \
|
|
ads.cpp \
|
|
tsuserex.rc \
|
|
tsusrsht.cpp \
|
|
$(EXTRAFILES)
|