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.

120 lines
2.9 KiB

  1. TERMSRV_ROOT = ..
  2. MAJORCOMP=termsrv
  3. TARGETNAME=tsuserex
  4. TARGETPATH=obj
  5. TARGETTYPE=DYNLINK
  6. SXS_ASSEMBLY_NAME=tsuserex.interfaces.1
  7. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  8. SXS_MANIFEST=tsuserex.manifest
  9. SXS_MANIFEST_IN_RESOURCES=1
  10. SXS_NO_BINPLACE=1
  11. # the resource ID here must be 2
  12. SXS_MANIFEST_RESOURCE_ID=2
  13. # ISOLATION_AWARE_ENABLED ==> use ui themes
  14. C_DEFINES=$(C_DEFINES) -DISOLATION_AWARE_ENABLED
  15. USE_RTTI=1
  16. PASS0_HEADERDIR=$(O)
  17. PASS0_SOURCEDIR=$(O)
  18. MIDL_UUIDDIR=$(O)
  19. MIDL_TLBDIR=$(O)
  20. #
  21. # Setting TSCOPY to 1 enables untested extension for copying userparameters in dsadmin
  22. # and it enables ISnapinAbout for the propsheet extension
  23. #
  24. TSCOPY=0
  25. #!IF defined(SLATE_REGISTER) && defined(MAKEDLL)
  26. #REGSVR_FILE=$(TARGETPATH)\$(TARGET_DIRECTORY)\$(TARGETNAME).dll
  27. #REGSVR_MARKER=$O\$(TARGETNAME).trg
  28. #NTTARGETFILES=$(REGSVR_MARKER)
  29. #!ENDIF
  30. !if $(FREEBUILD)
  31. !MESSAGE *****This is Free build
  32. #C_DEFINES = $(C_DEFINES) /DNDEBUG
  33. !else
  34. !MESSAGE *****This is Checked build
  35. #C_DEFINES = $(C_DEFINES) /D_DEBUG
  36. #DEBUG_CRTS=1
  37. !endif
  38. !if $(TSCOPY)
  39. C_DEFINES = $(C_DEFINES) -D_RTM_
  40. !endif
  41. DLLDEF=tsuserex.def
  42. DLLBASE=0x2000000
  43. USE_MSVCRT=1
  44. DLLENTRY=_DllMainCRTStartup
  45. #DLLBASE=0x7E00000
  46. UMTYPE=windows
  47. C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE -DSECURITY_WIN32
  48. #USE_MFCUNICODE=1
  49. #USE_MFC=1
  50. USE_ATL=1
  51. USE_STL=1
  52. USE_NATIVE_EH=1
  53. USE_VCCOM=1
  54. INCLUDES=\
  55. $(NET_INC_PATH); \
  56. ..\regapi; \
  57. ..\..\ds\adsi\include; \
  58. ..\..\ds\adsi\ldapc; \
  59. ..\..\ds\ds\src\common\iislib; \
  60. ..\..\public\internal\ds\inc\crypto;
  61. TARGETLIBS=\
  62. $(TERMSRV_ROOT)\lib\$(O)\apisub.lib \
  63. $(TERMSRV_ROOT)\lib\$(O)\regapilib.lib \
  64. $(SDK_LIB_PATH)\ntdsapi.lib \
  65. $(SDK_LIB_PATH)\adsiid.lib \
  66. $(SDK_LIB_PATH)\activeds.lib \
  67. $(SDK_LIB_PATH)\mmc.lib \
  68. $(SDK_LIB_PATH)\kernel32.lib \
  69. $(SDK_LIB_PATH)\user32.lib \
  70. $(SDK_LIB_PATH)\oleaut32.lib \
  71. $(SDK_LIB_PATH)\ole32.lib \
  72. $(SDK_LIB_PATH)\advapi32.lib \
  73. $(SDK_LIB_PATH)\uuid.lib \
  74. $(SDK_LIB_PATH)\comctl32.lib \
  75. $(SDK_LIB_PATH)\comdlg32.lib \
  76. $(SDK_LIB_PATH)\gdi32.lib \
  77. $(SDK_LIB_PATH)\shell32.lib \
  78. $(DS_LIB_PATH)\netapi32p.lib \
  79. $(SDK_LIB_PATH)\secur32.lib \
  80. $(SDK_LIB_PATH)\shlwapi.lib \
  81. $(SDK_LIB_PATH)\winsta.lib \
  82. $(SDK_LIB_PATH)\samlib.lib \
  83. $(SDK_LIB_PATH)\ntdll.lib \
  84. PRECOMPILED_INCLUDE = stdafx.h
  85. PRECOMPILED_SOURCEFILE=stdafx.cpp
  86. PRECOMPILED_CXX = 1
  87. !if $(TSCOPY)
  88. EXTRAFILES = tsusrcpy.cpp
  89. !else
  90. EXTRAFILES =
  91. !endif
  92. SOURCES=\
  93. tsuserex.idl \
  94. tsuserex.cpp \
  95. interfaces.cpp \
  96. ads.cpp \
  97. tsuserex.rc \
  98. tsusrsht.cpp \
  99. $(EXTRAFILES)