Leaked source code of windows server 2003
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.

149 lines
3.3 KiB

  1. !IF 0
  2. Copyright (c) Microsoft Corporation
  3. Module Name:
  4. sources.
  5. !ENDIF
  6. TERMSRV_ROOT = ..\..\..
  7. TSHRCLNT_ROOT = ..\..
  8. !include $(TERMSRV_ROOT)\common\newcommon.inc
  9. !include $(TERMSRV_ROOT)\common\win32com.inc
  10. !include $(TSHRCLNT_ROOT)\place32.inc
  11. MAJORCOMP = TShrClnt
  12. MINORCOMP = actx
  13. TARGETNAME = mstscax
  14. TARGETPATH = $(TSHRCLNT_ROOT)\lib\win32\$(_OBJ_DIR)
  15. TARGETTYPE = DYNLINK
  16. PASS0_HEADERDIR=$(O)
  17. PASS0_SOURCEDIR=$(O)
  18. MIDL_UUIDDIR=$(O)
  19. DLLENTRY = _DllMainCRTStartup
  20. DLLDEF = ..\actx.def
  21. DLLBASE = 0x6A600000
  22. DELAYLOAD=RPCRT4.DLL
  23. DLOAD_ERROR_HANDLER=DliHook
  24. !if "$(FREEBUILD)"=="0"
  25. C_DEFINES = \
  26. $(C_DEFINES) \
  27. -DCRTREPORT_DEBUG_HACK
  28. !endif
  29. C_DEFINES = $(C_DEFINES) -DDOMESTIC
  30. TSACTIVEXCLIENT_LIB_DLL = \
  31. $(SDK_LIB_PATH)\uuid.lib \
  32. $(SDK_LIB_PATH)\ole32.lib \
  33. $(SDK_LIB_PATH)\oleaut32.lib
  34. TARGETLIBS= \
  35. $(CLIENT_LIB_DLL) \
  36. $(CLIENT_LIB_EXE) \
  37. $(SDK_LIB_PATH)\ntdll.lib \
  38. $(DS_LIB_PATH)\randlib.lib \
  39. $(SDK_LIB_PATH)\wsock32.lib \
  40. $(SDK_LIB_PATH)\shlwapi.lib \
  41. $(SDK_LIB_PATH)\rpcrt4.lib \
  42. $(SDK_LIB_PATH)\comctl32.lib \
  43. $(TSHRCLNT_ROOT)\lib\win32\$(O)\core.lib \
  44. $(TSHRCLNT_ROOT)\lib\win32\$(O)\util.lib \
  45. $(TSHRCLNT_ROOT)\lib\win32\$(O)\rdpdr.lib \
  46. $(TERMSRV_ROOT)\lib\$(O)\debuglib.lib \
  47. $(TERMSRV_ROOT)\lib\$(O)\cryptlib.lib \
  48. $(TERMSRV_ROOT)\lib\$(O)\licstore.lib \
  49. $(TERMSRV_ROOT)\lib\$(O)\liclient.lib \
  50. $(TERMSRV_ROOT)\lib\$(O)\licecrtd.lib \
  51. $(TERMSRV_ROOT)\lib\$(O)\asn1.lib \
  52. $(TERMSRV_ROOT)\lib\$(O)\tssec.lib \
  53. $(TERMSRV_ROOT)\lib\$(O)\tscompru.lib \
  54. $(TERMSRV_ROOT)\lib\win32\$(O)\tsaxuuid.lib \
  55. $(DS_LIB_PATH)\rsa32.lib \
  56. $(DS_LIB_PATH)\randlib.lib \
  57. $(BASEDIR)\public\sdk\lib\*\winspool.lib \
  58. $(BASEDIR)\public\sdk\lib\*\uuid.lib \
  59. $(BASEDIR)\public\sdk\lib\*\comdlg32.lib \
  60. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  61. $(BASEDIR)\public\sdk\lib\*\oleaut32.lib \
  62. !IF $(386)
  63. TARGETLIBS = \
  64. $(TARGETLIBS) \
  65. $(TSHRCLNT_ROOT)\lib\win32\$(O)\uilibux.lib \
  66. $(TERMSRV_ROOT)\lib\$(O)\uniwrap.lib \
  67. !ELSE
  68. TARGETLIBS = \
  69. $(TARGETLIBS) \
  70. $(TSHRCLNT_ROOT)\lib\win32\$(O)\uilibu.lib \
  71. !ENDIF
  72. !IFDEF SMART_SIZING
  73. TARGETLIBS=$(TARGETLIBS) \
  74. $(SDK_LIB_PATH)\gdiplus.lib
  75. !ENDIF
  76. !IF "$(FREEBUILD)"=="0"
  77. !IF $(386)
  78. TARGETLIBS = \
  79. $(TARGETLIBS) \
  80. $(TERMSRV_ROOT)\lib\$(O)\tsctrcux.lib \
  81. !ELSE
  82. TARGETLIBS = \
  83. $(TARGETLIBS) \
  84. $(TERMSRV_ROOT)\lib\$(O)\tsctrcu.lib \
  85. !ENDIF
  86. !ENDIF
  87. !if "$(BUILD_PRF)"=="1"
  88. TARGETLIBS=$(TARGETLIBS) $(TSHRCLNT_ROOT)\lib\win32\obj\*\tscprf.lib
  89. !endif
  90. !include ..\actx.inc
  91. INCLUDES=\
  92. $(INCLUDES); \
  93. $(TERMSRV_ROOT)\common\clientidl\tsax\$(O); \
  94. $(BASE_INC_PATH)
  95. PASS0_HEADERDIR=$(O)
  96. INCLUDES=$(INCLUDES);$(O)
  97. USE_STATIC_ATL=1
  98. ATL_VER=30
  99. !IF 0
  100. Don't use msvcrt.dll untill we can resolve problems
  101. with it's availability on win95
  102. !IF "$(FREEBUILD)"!="0"
  103. USE_MSVCRT=1
  104. !ENDIF
  105. !ENDIF
  106. #
  107. # Include (platform-specific) Unicode options
  108. # Unicode is wrapped on x86 so it works on win9x
  109. #
  110. C_DEFINES=$(C_DEFINES) $(C_DEFS_UNICODE)
  111. #
  112. # Only use UNIWRAP on X86 as that is the only
  113. # architecture that needs to run on 9x
  114. #
  115. !IF $(386)
  116. C_DEFINES=$(C_DEFINES) -DUNIWRAP
  117. !ENDIF