Source code of Windows XP (NT5)
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

  1. #Copyright (c) 1998 - 1999 Microsoft Corporation
  2. TERMSRV_ROOT = ..\..
  3. TSHRCLNT_ROOT = ..\..\newclient
  4. C_DEFINES=-DUNICODE
  5. !include $(TERMSRV_ROOT)\common\newcommon.inc
  6. !include $(TERMSRV_ROOT)\common\win32com.inc
  7. !include $(TSHRCLNT_ROOT)\place32.inc
  8. USE_UNICODE=1
  9. C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE
  10. MAJORCOMP=mstsproxy
  11. MINORCOMP=proxy
  12. TARGETNAME = tsproxy
  13. TARGETPATH = lib\win32\$(_OBJ_DIR)
  14. TARGETTYPE = DYNLINK
  15. PASS0_HEADERDIR=$(O)
  16. PASS0_SOURCEDIR=$(O)
  17. MIDL_UUIDDIR=$(O)
  18. DLLENTRY = _DllMainCRTStartup
  19. DLLBASE=0x2000000
  20. DLLDEF=tsproxy.def
  21. !if "$(FREEBUILD)"=="0"
  22. DEBUG_CRTS = 1
  23. !endif
  24. USE_STATIC_ATL=1
  25. ATL_VER=30
  26. USE_RTTI=1
  27. USE_NATIVE_EH=1
  28. UMTYPE=windows
  29. INCLUDES=\
  30. ..; \
  31. $(INCLUDES); \
  32. $(SDK_INC_PATH)\; \
  33. $(DS_INC_PATH)\crypto; \
  34. $(TSHRCLNT_ROOT)\inc; \
  35. $(TERMSRV_ROOT)\inc; \
  36. $(TERMSRV_ROOT)\common\inc; \
  37. $(TERMSRV_ROOT)\common\license\inc; \
  38. $(TERMSRV_ROOT)\newclient\inc; \
  39. $(DS_INC_PATH)\crypto; \
  40. $(TERMSRV_ROOT)\common\clientidl\tsax\$(O); \
  41. $(TSHRCLNT_ROOT)\tsmmc\multihst\win32\$(O); \
  42. SOURCES=\
  43. stdafx.cpp \
  44. tsproxy.cpp \
  45. tsproxyacl.cpp
  46. TSACTIVEXCLIENT_LIB_DLL = \
  47. $(BASEDIR)\public\sdk\lib\*\uuid.lib \
  48. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  49. $(BASEDIR)\public\sdk\lib\*\oleaut32.lib
  50. TARGETLIBS= \
  51. $(CLIENT_LIB_DLL) \
  52. $(CLIENT_LIB_EXE) \
  53. $(SDK_LIB_PATH)\ntdll.lib \
  54. $(DS_LIB_PATH)\randlib.lib \
  55. $(SDK_LIB_PATH)\wsock32.lib \
  56. $(SDK_LIB_PATH)\Ws2_32.lib \
  57. $(SDK_LIB_PATH)\shlwapi.lib \
  58. $(SDK_LIB_PATH)\rpcrt4.lib \
  59. $(SDK_LIB_PATH)\comctl32.lib \
  60. $(TSHRCLNT_ROOT)\lib\win32\$(O)\core.lib \
  61. $(TSHRCLNT_ROOT)\lib\win32\$(O)\util.lib \
  62. $(TSHRCLNT_ROOT)\lib\win32\$(O)\rdpdr.lib \
  63. $(TERMSRV_ROOT)\lib\$(O)\debuglib.lib \
  64. $(TERMSRV_ROOT)\lib\$(O)\cryptlib.lib \
  65. $(TERMSRV_ROOT)\lib\$(O)\licstore.lib \
  66. $(TERMSRV_ROOT)\lib\$(O)\liclient.lib \
  67. $(TERMSRV_ROOT)\lib\$(O)\licecrtd.lib \
  68. $(TERMSRV_ROOT)\lib\$(O)\asn1.lib \
  69. $(TERMSRV_ROOT)\lib\$(O)\tssec.lib \
  70. $(TERMSRV_ROOT)\lib\$(O)\tscompr.lib \
  71. $(TERMSRV_ROOT)\lib\win32\$(O)\tsaxuuid.lib \
  72. $(DS_LIB_PATH)\rsa32.lib \
  73. $(BASEDIR)\public\sdk\lib\*\winspool.lib \
  74. $(BASEDIR)\public\sdk\lib\*\uuid.lib \
  75. $(BASEDIR)\public\sdk\lib\*\comdlg32.lib \
  76. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  77. $(BASEDIR)\public\sdk\lib\*\oleaut32.lib \
  78. !IF $(386)
  79. TARGETLIBS = \
  80. $(TARGETLIBS) \
  81. $(TERMSRV_ROOT)\lib\$(O)\uniwrap.lib \
  82. !ENDIF
  83. !IFDEF SMART_SIZING
  84. TARGETLIBS=$(TARGETLIBS) \
  85. $(SDK_LIB_PATH)\gdiplus.lib
  86. !ENDIF
  87. !IF "$(FREEBUILD)"=="0"
  88. !IF $(386)
  89. TARGETLIBS = \
  90. $(TARGETLIBS) \
  91. $(TERMSRV_ROOT)\lib\$(O)\tsctrcux.lib \
  92. !ELSE
  93. TARGETLIBS = \
  94. $(TARGETLIBS) \
  95. $(TERMSRV_ROOT)\lib\$(O)\tsctrcu.lib \
  96. !ENDIF
  97. !ENDIF
  98. !if "$(BUILD_PRF)"=="1"
  99. TARGETLIBS=$(TARGETLIBS) $(TSHRCLNT_ROOT)\lib\win32\obj\*\tscprf.lib
  100. !endif