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.

112 lines
2.3 KiB

  1. !IF 0
  2. Copyright (c) 1989-98 Microsoft Corporation
  3. Module Name:
  4. common.inc - Win32 specific (TShare Client) 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. Madan Appiah - Sep. 5th 1997
  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. USE_LIBCMT = 1
  25. #
  26. # Insure that we will work on Win 95
  27. #
  28. #CHICAGO_PROJECT = 1
  29. #CHICAGO_PRODUCT = 1
  30. CBSTRING = -cbstring
  31. P5_FDIV_FIX = /QIfdiv-
  32. P5_0F_FIX = /QIf
  33. C_INCREMENTAL_FLAG = /Gi- /Gm-
  34. EH_FLAGS = /GX- /GR-
  35. FRAME_PTR_ON = /Oy
  36. FRAME_PTR_OFF = /Oy-
  37. CL_TARGET_SPEC = /Yl$(TARGETNAME)
  38. #
  39. # Library files, referenced by <component>.inc file, eg client.inc
  40. #
  41. CLIENT_LIB_DLL = \
  42. $(SDK_LIB_PATH)\kernel32.lib \
  43. $(SDK_LIB_PATH)\advapi32.lib \
  44. $(SDK_LIB_PATH)\user32.lib \
  45. $(SDK_LIB_PATH)\gdi32.lib \
  46. $(SDK_LIB_PATH)\imagehlp.lib
  47. CLIENT_LIB_EXE = \
  48. $(SDK_LIB_PATH)\wsock32.lib \
  49. $(SDK_LIB_PATH)\shell32.lib \
  50. # $(SDK_LIB_PATH)\netapi32.lib
  51. #
  52. # Additional compiler flags
  53. #
  54. WIN32_DEFINE = -DWIN32=200 -D_CHICAGO_=200 -D_WIN32_WINDOWS=0x040a -D_WIN32_WINNT=0x0400
  55. CLIENT_SECURITY = -DISSP_LEVEL=32
  56. C_DEFINES = $(C_DEFINES) -DWIN32 -D_WIN32 -DWIN_95_32_BIT
  57. C_DEFS_UNICODE = -DUNICODE -D_UNICODE
  58. !IF "$(_PERF)" == "1"
  59. C_DEFINES = $(C_DEFINES) -DPERF
  60. !ENDIF
  61. #
  62. # Additional linker flags
  63. #
  64. #LINKER_FLAGS = $(LINKER_FLAGS) -map
  65. #
  66. # File name prefix for 32-bit
  67. #
  68. PLATFORM_PREFIX = n
  69. C_DEFINES=$(C_DEFINES) -DOS_WIN32 -DOS_WINNT -DSECURITY_WIN32
  70. #
  71. # Setup MSC_OPTIMIZATION for debug and retail
  72. #
  73. !if "$(FREEBUILD)" == "0"
  74. MSC_OPTIMIZATION=/Odi
  75. !else
  76. MSC_OPTIMIZATION=/Oxs
  77. !endif
  78. 386_WARNING_LEVEL=/W3
  79. !ifdef ICACAP_BUILD
  80. MSC_OPTIMIZATION=$(MSC_OPTIMIZATION) /Gh
  81. PERFLIBS=$(SDK_LIB_PATH)\icap.lib
  82. LINKLIBS=$(LINKLIBS) $(PERFLIBS)
  83. !endif // ICACAP_BUILD