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.

107 lines
2.4 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. Steve Wood (stevewo) 12-Apr-1990
  12. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  13. !ENDIF
  14. TERMSRV_ROOT = ..
  15. MAJORCOMP=termsrv
  16. MINORCOMP=RDPClip
  17. TARGETNAME=RDPClip
  18. TARGETPATH=obj
  19. TARGETTYPE=PROGRAM
  20. UMENTRY=winmain
  21. # Defining this allows windows.h to include other headers
  22. NOT_LEAN_AND_MEAN = 1
  23. UMTYPE = windows
  24. #Copied from Client build (win32com.inc) - not sure if we need them
  25. CBSTRING = -cbstring
  26. P5_FDIV_FIX = /QIfdiv-
  27. P5_0F_FIX = /QIf
  28. C_INCREMENTAL_FLAG = /Gi- /Gm-
  29. EH_FLAGS = /GX- /GR-
  30. FRAME_PTR_ON = /Oy
  31. FRAME_PTR_OFF = /Oy-
  32. CL_TARGET_SPEC = /Yl$(TARGETNAME)
  33. # Additional compiler flags
  34. C_DEFINES = $(C_DEFINES) \
  35. -DSTRICT -DOS_WINDOWS \
  36. -D_WIN32 -DWIN_95_32_BIT \
  37. -DOS_WIN32 -DOS_WINNT
  38. !if "$(FREEBUILD)" == "0"
  39. C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE -D_DEBUG -DDEBUG -DDC_DEBUG -DTRC_CL=0
  40. MSC_OPTIMIZATION=/Odi
  41. !else
  42. C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE -DTRC_CL=5
  43. MSC_OPTIMIZATION=/Oxs
  44. !endif
  45. # Prevent bldnt pulling in various libraries
  46. LIBC_LIB =
  47. NO_NTDLL = 1
  48. # include files.
  49. INCLUDES= \
  50. ..\inc; \
  51. ..\newclient\inc; \
  52. $(TERMSRV_ROOT)\common\trace; \
  53. $(DS_INC_PATH)\crypto
  54. TARGETLIBS= \
  55. $(CLIENT_LIB_DLL) \
  56. $(SDK_LIB_PATH)\kernel32.lib \
  57. $(SDK_LIB_PATH)\advapi32.lib \
  58. $(SDK_LIB_PATH)\user32.lib \
  59. $(SDK_LIB_PATH)\gdi32.lib \
  60. $(SDK_LIB_PATH)\imagehlp.lib \
  61. $(SDK_LIB_PATH)\shell32.lib \
  62. $(SDK_LIB_PATH)\winsta.lib \
  63. $(SDK_LIB_PATH)\ntdll.lib \
  64. $(SDK_LIB_PATH)\wsock32.lib \
  65. $(SDK_LIB_PATH)\ws2_32.lib \
  66. $(SDK_LIB_PATH)\msacm32.lib \
  67. $(SDK_LIB_PATH)\Wtsapi32.lib \
  68. $(BASEDIR)\public\sdk\lib\*\uuid.lib \
  69. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  70. $(BASEDIR)\termsrv\lib\$(_OBJ_DIR)\*\tssec.lib \
  71. $(DS_LIB_PATH)\rsa32.lib \
  72. $(DS_LIB_PATH)\randlib.lib
  73. MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /W3 /WX
  74. USE_MSVCRT=1
  75. SOURCES = \
  76. sclip.rc \
  77. sclip.cpp \
  78. sclip2.cpp \
  79. sndchan.cpp
  80. !if "$(FREEBUILD)" == "0"
  81. SOURCES = $(SOURCES) scliptrc.c
  82. !endif