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.

119 lines
2.4 KiB

  1. !IF 0
  2. Copyright (c) 1989-98 Microsoft Corporation
  3. Module Name:
  4. wincecom.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. Adam Overton- Oct. 24th 1997
  12. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  13. !ENDIF
  14. !if ("$(WINCEDEBUG)" == "debug")
  15. FREEBUILD=0
  16. !else
  17. FREEBUILD=1
  18. !endif
  19. BUILDINGFORCE=1
  20. CDEFINES = $(CDEFINES) -DWINCE_GLOBAL_ALLOC_DEFINED
  21. !if ("$(_TRACKER_ENABLE_)" != "")
  22. CDEFINES = $(CDEFINES) -D_TRACKER_ENABLE_=$(_TRACKER_ENABLE_)
  23. !endif
  24. #
  25. # Set common options
  26. #
  27. WINCEATL30=1
  28. OS_WINCE=1
  29. #
  30. # Library files, referenced by <component>.inc file, eg client.inc
  31. #
  32. TARGETLIBS= $(TARGETLIBS) \
  33. $(SDK_LIB_PATH)\coredll.lib \
  34. ..\..\LIB\WINCE\$(_CPUINDPATH)\wsasync.lib \
  35. $(SDK_LIB_PATH)\winsock.lib
  36. LIBPATH = $(LIBPATH);\
  37. $(SDKROOT)\public\common\sdk\lib\$(_TGTCPU)\$(WINCEDEBUG)\
  38. #CLIENT_LIB_DLL = \
  39. # $(SDK_LIB_PATH)\kernel32.lib \
  40. # $(SDK_LIB_PATH)\advapi32.lib \
  41. # $(SDK_LIB_PATH)\user32.lib \
  42. # $(SDK_LIB_PATH)\gdi32.lib \
  43. # $(SDK_LIB_PATH)\imagehlp.lib
  44. #CLIENT_LIB_EXE = \
  45. # $(SDK_LIB_PATH)\winsock.lib \
  46. # $(SDK_LIB_PATH)\shell32.lib
  47. #
  48. # Additional compiler flags
  49. #
  50. WIN32_DEFINE = -DWIN32=200 -D_CHICAGO_=200 -D_WIN32_WINDOWS=0x040a -D_WIN32_WINNT=0x0400
  51. CLIENT_SECURITY = -DISSP_LEVEL=32
  52. C_DEFINES = $(C_DEFINES) -DWIN32 -D_WIN32 -DWIN_95_32_BIT
  53. #C_DEFINES=$(C_DEFINES) -DUSE_LICENSE -DENFORCE_LICENSE
  54. C_DEFS_UNICODE = -DUNICODE -D_UNICODE
  55. # DC_NO_UNALIGNED should be set for any processor which does not allow
  56. # non-aligned memory access
  57. !IF "$(_TGTCPUFAMILY)" != "x86"
  58. C_DEFINES = $(C_DEFINES) -DDC_NO_UNALIGNED
  59. !ENDIF
  60. !IF "$(_PERF)" == "1"
  61. C_DEFINES = $(C_DEFINES) -DPERF
  62. !ENDIF
  63. #
  64. # Additional linker flags
  65. #
  66. #LINKER_FLAGS = $(LINKER_FLAGS) -map
  67. #
  68. # File name prefix for 32-bit
  69. #
  70. PLATFORM_PREFIX = n
  71. C_DEFINES=$(C_DEFINES) -DOS_WIN32 -DSECURITY_WIN32 -DOS_WINCE
  72. #
  73. # RC flags
  74. #
  75. RDEFINES=$(RDEFINES) -DOS_WINCE
  76. !if "$(FREEBUILD)" == "0"
  77. RDEFINES=$(RDEFINES) -DDC_DEBUG
  78. !endif
  79. #
  80. # Setup MSC_OPTIMIZATION for debug and retail
  81. #
  82. #!if "$(FREEBUILD)" == "0"
  83. #MSC_OPTIMIZATION=/Od
  84. #!else
  85. #MSC_OPTIMIZATION=/Oxs
  86. #!endif
  87. #386_WARNING_LEVEL=/W3