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.

99 lines
2.1 KiB

  1. !IF 0
  2. Copyright (c) 1989-98 Microsoft Corporation
  3. Module Name:
  4. common.inc - Win32 specific (TShare Clipboard Monitor) build definitions
  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. Martin Richards - March 18th 1998
  12. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  13. !ENDIF
  14. SDK_LIB_PATH = $(BASEDIR)\public\sdk\lib\*
  15. CRT_LIB_PATH = $(BASEDIR)\public\sdk\lib\*
  16. SDK_INC_PATH = $(BASEDIR)\public\sdk\inc
  17. CRT_INC_PATH = $(SDK_INC_PATH)\crt
  18. #
  19. # Set common options
  20. #
  21. #
  22. # Use Multi-threaded static library by default.
  23. #
  24. !if $(386)
  25. USE_LIBCMT = 1
  26. !endif
  27. #
  28. # Insure that we will work on Win 95
  29. #
  30. #CHICAGO_PROJECT = 1
  31. #CHICAGO_PRODUCT = 1
  32. CBSTRING = -cbstring
  33. P5_FDIV_FIX = /QIfdiv-
  34. P5_0F_FIX = /QIf
  35. C_INCREMENTAL_FLAG = /Gi- /Gm-
  36. EH_FLAGS = /GX- /GR-
  37. FRAME_PTR_ON = /Oy
  38. FRAME_PTR_OFF = /Oy-
  39. CL_TARGET_SPEC = /Yl$(TARGETNAME)
  40. #
  41. # Library files, referenced by <component>.inc file, eg client.inc
  42. #
  43. CLIENT_LIB_EXE = \
  44. $(SDK_LIB_PATH)\kernel32.lib \
  45. $(SDK_LIB_PATH)\advapi32.lib \
  46. $(SDK_LIB_PATH)\user32.lib \
  47. $(SDK_LIB_PATH)\gdi32.lib \
  48. $(SDK_LIB_PATH)\imagehlp.lib \
  49. $(SDK_LIB_PATH)\shell32.lib \
  50. #
  51. # Additional compiler flags
  52. #
  53. WIN32_DEFINE = -DWIN32=200 -D_CHICAGO_=200 -D_WIN32_WINDOWS=0x040a -D_WIN32_WINNT=0x0400
  54. C_DEFINES = $(C_DEFINES) -DWIN32 -D_WIN32 -DWIN_95_32_BIT
  55. C_DEFS_UNICODE = -DUNICODE -D_UNICODE
  56. #
  57. # File name prefix for 32-bit
  58. #
  59. PLATFORM_PREFIX = n
  60. C_DEFINES=$(C_DEFINES) -DOS_WIN32 -DOS_WINNT -DSECURITY_WIN32
  61. #
  62. # Setup MSC_OPTIMIZATION for debug and retail
  63. #
  64. !if "$(FREEBUILD)" == "0"
  65. MSC_OPTIMIZATION=/Odi
  66. !else
  67. MSC_OPTIMIZATION=/Oxs
  68. !endif
  69. 386_WARNING_LEVEL=/W3
  70. !ifdef ICACAP_BUILD
  71. MSC_OPTIMIZATION=$(MSC_OPTIMIZATION) /Gh
  72. PERFLIBS=$(SDK_LIB_PATH)\icap.lib
  73. LINKLIBS=$(LINKLIBS) $(PERFLIBS)
  74. !endif // ICACAP_BUILD