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.

99 lines
2.2 KiB

  1. TERMSRV_ROOT = ..
  2. MAJORCOMP=termsrv
  3. TARGETNAME=tsuserex
  4. TARGETPATH=obj
  5. TARGETTYPE=DYNLINK
  6. PASS0_HEADERDIR=$(O)
  7. PASS0_SOURCEDIR=$(O)
  8. MIDL_UUIDDIR=$(O)
  9. MIDL_TLBDIR=$(O)
  10. #
  11. # Setting TSCOPY to 1 enables untested extension for copying userparameters in dsadmin
  12. # and it enables ISnapinAbout for the propsheet extension
  13. #
  14. TSCOPY=0
  15. #!IF defined(SLATE_REGISTER) && defined(MAKEDLL)
  16. #REGSVR_FILE=$(TARGETPATH)\$(TARGET_DIRECTORY)\$(TARGETNAME).dll
  17. #REGSVR_MARKER=$O\$(TARGETNAME).trg
  18. #NTTARGETFILES=$(REGSVR_MARKER)
  19. #!ENDIF
  20. !if $(FREEBUILD)
  21. !MESSAGE *****This is Free build
  22. #C_DEFINES = $(C_DEFINES) /DNDEBUG
  23. !else
  24. !MESSAGE *****This is Checked build
  25. #C_DEFINES = $(C_DEFINES) /D_DEBUG
  26. #DEBUG_CRTS=1
  27. !endif
  28. !if $(TSCOPY)
  29. C_DEFINES = $(C_DEFINES) -D_RTM_
  30. !endif
  31. DLLDEF=tsuserex.def
  32. DLLBASE=0x2000000
  33. DLLENTRY=DllMain
  34. USE_MSVCRT=1
  35. #DLLENTRY=_DllMainCRTStartup
  36. #DLLBASE=0x7E00000
  37. UMTYPE=windows
  38. C_DEFINES = $(C_DEFINES) -DUNICODE -DSECURITY_WIN32
  39. #USE_MFCUNICODE=1
  40. #USE_MFC=1
  41. USE_ATL=1
  42. USE_NATIVE_EH=1
  43. #USE_VCCOM=1
  44. INCLUDES=\
  45. $(NET_INC_PATH); \
  46. TARGETLIBS=\
  47. $(TERMSRV_LIB_PATH)\regapi.lib \
  48. $(SDK_LIB_PATH)\ntdsapi.lib \
  49. $(SDK_LIB_PATH)\adsiid.lib \
  50. $(SDK_LIB_PATH)\activeds.lib \
  51. $(SDK_LIB_PATH)\mmc.lib \
  52. $(SDK_LIB_PATH)\kernel32.lib \
  53. $(SDK_LIB_PATH)\user32.lib \
  54. $(SDK_LIB_PATH)\oleaut32.lib \
  55. $(SDK_LIB_PATH)\ole32.lib \
  56. $(SDK_LIB_PATH)\advapi32.lib \
  57. $(SDK_LIB_PATH)\uuid.lib \
  58. $(SDK_LIB_PATH)\comctl32.lib \
  59. $(SDK_LIB_PATH)\comdlg32.lib \
  60. $(SDK_LIB_PATH)\gdi32.lib \
  61. $(SDK_LIB_PATH)\shell32.lib \
  62. $(DS_LIB_PATH)\netapi32p.lib \
  63. $(SDK_LIB_PATH)\secur32.lib \
  64. $(SDK_LIB_PATH)\shlwapi.lib \
  65. $(SDK_LIB_PATH)\winsta.lib
  66. PRECOMPILED_INCLUDE = stdafx.h
  67. PRECOMPILED_SOURCEFILE=stdafx.cpp
  68. PRECOMPILED_CXX = 1
  69. !if $(TSCOPY)
  70. EXTRAFILES = tsusrcpy.cpp
  71. !else
  72. EXTRAFILES =
  73. !endif
  74. SOURCES=\
  75. tsuserex.idl \
  76. tsuserex.cpp \
  77. interfaces.cpp \
  78. tsuserex.rc \
  79. tsusrsht.cpp \
  80. $(EXTRAFILES)
  81. 386_WARNING_LEVEL=-W4