100 lines
2.2 KiB
Plaintext
100 lines
2.2 KiB
Plaintext
TERMSRV_ROOT = ..
|
|
|
|
MAJORCOMP=termsrv
|
|
|
|
TARGETNAME=tsuserex
|
|
TARGETPATH=obj
|
|
TARGETTYPE=DYNLINK
|
|
|
|
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
|
|
DLLENTRY=DllMain
|
|
USE_MSVCRT=1
|
|
|
|
#DLLENTRY=_DllMainCRTStartup
|
|
#DLLBASE=0x7E00000
|
|
|
|
UMTYPE=windows
|
|
C_DEFINES = $(C_DEFINES) -DUNICODE -DSECURITY_WIN32
|
|
#USE_MFCUNICODE=1
|
|
#USE_MFC=1
|
|
USE_ATL=1
|
|
USE_NATIVE_EH=1
|
|
#USE_VCCOM=1
|
|
|
|
INCLUDES=\
|
|
$(NET_INC_PATH); \
|
|
|
|
|
|
TARGETLIBS=\
|
|
$(TERMSRV_LIB_PATH)\regapi.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
|
|
|
|
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 \
|
|
tsuserex.rc \
|
|
tsusrsht.cpp \
|
|
$(EXTRAFILES)
|
|
|
|
386_WARNING_LEVEL=-W4
|