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.

170 lines
3.9 KiB

  1. !IF 0
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. sources.
  5. Abstract:
  6. This file specifies the target component being built and the list of
  7. sources files needed to build that component. Also specifies optional
  8. compiler switches and libraries that are unique for the component being
  9. built.
  10. Author:
  11. Nadim Abdo (nadima) 1-Oct-1999
  12. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  13. NOTE: Builds 128 bit control
  14. !ENDIF
  15. TERMSRV_ROOT = ..\..\..
  16. TSHRCLNT_ROOT = ..\..
  17. !include $(TERMSRV_ROOT)\common\newcommon.inc
  18. !include $(TERMSRV_ROOT)\common\win32com.inc
  19. !IF 0
  20. In contrast to the rest of the client bits the OCX file gets placed directly
  21. Into the ROOT of binaries
  22. !ENDIF
  23. BINPLACE_PLACEFILE=$(TSHRCLNT_ROOT)\Placefil.txt
  24. MAJORCOMP = TShrClnt
  25. MINORCOMP = actx
  26. TARGETNAME = msrdp
  27. TARGETPATH = $(TSHRCLNT_ROOT)\lib\win32\$(_OBJ_DIR)
  28. TARGETTYPE = DYNLINK
  29. TARGETEXT = ocx
  30. PASS0_HEADERDIR=$(O)
  31. PASS0_SOURCEDIR=$(O)
  32. MIDL_UUIDDIR=$(O)
  33. DLLENTRY = _DllMainCRTStartup
  34. DLLDEF = ..\actx.def
  35. DLLBASE = 0x6A600000
  36. DELAYLOAD=RPCRT4.DLL
  37. DLOAD_ERROR_HANDLER=DliHook
  38. !if "$(FREEBUILD)"=="0"
  39. C_DEFINES = \
  40. $(C_DEFINES) \
  41. -DCRTREPORT_DEBUG_HACK
  42. !endif
  43. C_DEFINES = $(C_DEFINES) -DDOMESTIC -DREDIST_CONTROL
  44. TSACTIVEXCLIENT_LIB_DLL = \
  45. $(BASEDIR)\public\sdk\lib\*\uuid.lib \
  46. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  47. $(BASEDIR)\public\sdk\lib\*\oleaut32.lib
  48. TARGETLIBS= \
  49. $(CLIENT_LIB_DLL) \
  50. $(CLIENT_LIB_EXE) \
  51. $(SDK_LIB_PATH)\ntdll.lib \
  52. $(DS_LIB_PATH)\randlib.lib \
  53. $(SDK_LIB_PATH)\wsock32.lib \
  54. $(SDK_LIB_PATH)\shlwapi.lib \
  55. $(SDK_LIB_PATH)\rpcrt4.lib \
  56. $(SDK_LIB_PATH)\comctl32.lib \
  57. $(TSHRCLNT_ROOT)\lib\win32\$(O)\core.lib \
  58. $(TSHRCLNT_ROOT)\lib\win32\$(O)\util.lib \
  59. $(TSHRCLNT_ROOT)\lib\win32\$(O)\rdpdr.lib \
  60. $(TERMSRV_ROOT)\lib\$(O)\debuglib.lib \
  61. $(TERMSRV_ROOT)\lib\$(O)\cryptlib.lib \
  62. $(TERMSRV_ROOT)\lib\$(O)\licstore.lib \
  63. $(TERMSRV_ROOT)\lib\$(O)\liclient.lib \
  64. $(TERMSRV_ROOT)\lib\$(O)\licecrtd.lib \
  65. $(TERMSRV_ROOT)\lib\$(O)\asn1.lib \
  66. $(TERMSRV_ROOT)\lib\$(O)\tssec.lib \
  67. $(TERMSRV_ROOT)\lib\$(O)\tscompru.lib \
  68. $(DS_LIB_PATH)\rsa32.lib \
  69. $(DS_LIB_PATH)\randlib.lib \
  70. $(TERMSRV_ROOT)\lib\win32\$(O)\tswebuuid.lib \
  71. $(BASEDIR)\public\sdk\lib\*\winspool.lib \
  72. $(BASEDIR)\public\sdk\lib\*\uuid.lib \
  73. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  74. $(BASEDIR)\public\sdk\lib\*\comdlg32.lib \
  75. $(BASEDIR)\public\sdk\lib\*\oleaut32.lib
  76. !IFDEF SMART_SIZING
  77. TARGETLIBS=$(TARGETLIBS) \
  78. $(SDK_LIB_PATH)\gdiplus.lib
  79. !ENDIF
  80. !IF $(386)
  81. TARGETLIBS = \
  82. $(TARGETLIBS) \
  83. $(TSHRCLNT_ROOT)\lib\win32\$(O)\uilibux.lib \
  84. $(TERMSRV_ROOT)\lib\$(O)\uniwrap.lib \
  85. !ELSE
  86. TARGETLIBS = \
  87. $(TARGETLIBS) \
  88. $(TSHRCLNT_ROOT)\lib\win32\$(O)\uilibu.lib \
  89. !ENDIF
  90. !IF "$(FREEBUILD)"=="0"
  91. !IF $(386)
  92. TARGETLIBS = \
  93. $(TARGETLIBS) \
  94. $(TERMSRV_ROOT)\lib\$(O)\tsctrcux.lib \
  95. !ELSE
  96. TARGETLIBS = \
  97. $(TARGETLIBS) \
  98. $(TERMSRV_ROOT)\lib\$(O)\tsctrcu.lib \
  99. !ENDIF
  100. !ENDIF
  101. !if "$(BUILD_PRF)"=="1"
  102. TARGETLIBS=$(TARGETLIBS) $(TSHRCLNT_ROOT)\lib\win32\obj\*\tscprf.lib
  103. !endif
  104. !include ..\actx.inc
  105. INCLUDES=\
  106. $(INCLUDES); \
  107. $(TERMSRV_ROOT)\common\clientidl\tsax.web\$(O); \
  108. $(BASE_INC_PATH)
  109. PASS0_HEADERDIR=$(O)
  110. INCLUDES=$(INCLUDES);$(O)
  111. USE_STATIC_ATL=1
  112. ATL_VER=30
  113. !IF 0
  114. Don't use msvcrt.dll untill we can resolve problems
  115. with it's availability on win95
  116. !IF "$(FREEBUILD)"!="0"
  117. USE_MSVCRT=1
  118. !ENDIF
  119. !ENDIF
  120. #
  121. # Include (platform-specific) Unicode options
  122. # Unicode is wrapped on x86 so it works on win9x
  123. #
  124. C_DEFINES=$(C_DEFINES) $(C_DEFS_UNICODE)
  125. #
  126. # Only use UNIWRAP on X86 as that is the only
  127. # architecture that needs to run on 9x
  128. #
  129. !IF $(386)
  130. C_DEFINES=$(C_DEFINES) -DUNIWRAP
  131. !ENDIF