mirror of https://github.com/tongzx/nt5src
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.
124 lines
2.8 KiB
124 lines
2.8 KiB
#Copyright (c) 1998 - 1999 Microsoft Corporation
|
|
|
|
TERMSRV_ROOT = ..\..
|
|
TSHRCLNT_ROOT = ..\..\newclient
|
|
|
|
C_DEFINES=-DUNICODE
|
|
|
|
!include $(TERMSRV_ROOT)\common\newcommon.inc
|
|
!include $(TERMSRV_ROOT)\common\win32com.inc
|
|
!include $(TSHRCLNT_ROOT)\place32.inc
|
|
|
|
USE_UNICODE=1
|
|
C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE
|
|
|
|
MAJORCOMP=mstsproxy
|
|
MINORCOMP=proxy
|
|
|
|
TARGETNAME = tsproxy
|
|
TARGETPATH = lib\win32\$(_OBJ_DIR)
|
|
TARGETTYPE = DYNLINK
|
|
|
|
PASS0_HEADERDIR=$(O)
|
|
PASS0_SOURCEDIR=$(O)
|
|
MIDL_UUIDDIR=$(O)
|
|
|
|
DLLENTRY = _DllMainCRTStartup
|
|
DLLBASE=0x2000000
|
|
DLLDEF=tsproxy.def
|
|
|
|
|
|
!if "$(FREEBUILD)"=="0"
|
|
DEBUG_CRTS = 1
|
|
!endif
|
|
|
|
|
|
USE_STATIC_ATL=1
|
|
ATL_VER=30
|
|
USE_RTTI=1
|
|
USE_NATIVE_EH=1
|
|
|
|
|
|
UMTYPE=windows
|
|
|
|
INCLUDES=\
|
|
..; \
|
|
$(INCLUDES); \
|
|
$(SDK_INC_PATH)\; \
|
|
$(DS_INC_PATH)\crypto; \
|
|
$(TSHRCLNT_ROOT)\inc; \
|
|
$(TERMSRV_ROOT)\inc; \
|
|
$(TERMSRV_ROOT)\common\inc; \
|
|
$(TERMSRV_ROOT)\common\license\inc; \
|
|
$(TERMSRV_ROOT)\newclient\inc; \
|
|
$(DS_INC_PATH)\crypto; \
|
|
$(TERMSRV_ROOT)\common\clientidl\tsax\$(O); \
|
|
$(TSHRCLNT_ROOT)\tsmmc\multihst\win32\$(O); \
|
|
|
|
|
|
SOURCES=\
|
|
stdafx.cpp \
|
|
tsproxy.cpp \
|
|
tsproxyacl.cpp
|
|
|
|
TSACTIVEXCLIENT_LIB_DLL = \
|
|
$(BASEDIR)\public\sdk\lib\*\uuid.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\ole32.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\oleaut32.lib
|
|
|
|
TARGETLIBS= \
|
|
$(CLIENT_LIB_DLL) \
|
|
$(CLIENT_LIB_EXE) \
|
|
$(SDK_LIB_PATH)\ntdll.lib \
|
|
$(DS_LIB_PATH)\randlib.lib \
|
|
$(SDK_LIB_PATH)\wsock32.lib \
|
|
$(SDK_LIB_PATH)\Ws2_32.lib \
|
|
$(SDK_LIB_PATH)\shlwapi.lib \
|
|
$(SDK_LIB_PATH)\rpcrt4.lib \
|
|
$(SDK_LIB_PATH)\comctl32.lib \
|
|
$(TSHRCLNT_ROOT)\lib\win32\$(O)\core.lib \
|
|
$(TSHRCLNT_ROOT)\lib\win32\$(O)\util.lib \
|
|
$(TSHRCLNT_ROOT)\lib\win32\$(O)\rdpdr.lib \
|
|
$(TERMSRV_ROOT)\lib\$(O)\debuglib.lib \
|
|
$(TERMSRV_ROOT)\lib\$(O)\cryptlib.lib \
|
|
$(TERMSRV_ROOT)\lib\$(O)\licstore.lib \
|
|
$(TERMSRV_ROOT)\lib\$(O)\liclient.lib \
|
|
$(TERMSRV_ROOT)\lib\$(O)\licecrtd.lib \
|
|
$(TERMSRV_ROOT)\lib\$(O)\asn1.lib \
|
|
$(TERMSRV_ROOT)\lib\$(O)\tssec.lib \
|
|
$(TERMSRV_ROOT)\lib\$(O)\tscompr.lib \
|
|
$(TERMSRV_ROOT)\lib\win32\$(O)\tsaxuuid.lib \
|
|
$(DS_LIB_PATH)\rsa32.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\winspool.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\uuid.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\comdlg32.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\ole32.lib \
|
|
$(BASEDIR)\public\sdk\lib\*\oleaut32.lib \
|
|
|
|
!IF $(386)
|
|
TARGETLIBS = \
|
|
$(TARGETLIBS) \
|
|
$(TERMSRV_ROOT)\lib\$(O)\uniwrap.lib \
|
|
!ENDIF
|
|
|
|
!IFDEF SMART_SIZING
|
|
TARGETLIBS=$(TARGETLIBS) \
|
|
$(SDK_LIB_PATH)\gdiplus.lib
|
|
!ENDIF
|
|
|
|
!IF "$(FREEBUILD)"=="0"
|
|
!IF $(386)
|
|
TARGETLIBS = \
|
|
$(TARGETLIBS) \
|
|
$(TERMSRV_ROOT)\lib\$(O)\tsctrcux.lib \
|
|
!ELSE
|
|
TARGETLIBS = \
|
|
$(TARGETLIBS) \
|
|
$(TERMSRV_ROOT)\lib\$(O)\tsctrcu.lib \
|
|
!ENDIF
|
|
!ENDIF
|
|
|
|
|
|
!if "$(BUILD_PRF)"=="1"
|
|
TARGETLIBS=$(TARGETLIBS) $(TSHRCLNT_ROOT)\lib\win32\obj\*\tscprf.lib
|
|
!endif
|