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.

110 lines
2.0 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. RCOPTIONS=-l 404
  15. SYNCHRONIZE_DRAIN=1
  16. C_DEFINES=$(C_DEFINES) -DCHINESET
  17. MAJORCOMP=INTLWB
  18. MINORCOMP=ChtBrkr
  19. USE_MSVCRT=0
  20. TARGETNAME=ChtBrkr
  21. TARGETPATH=obj
  22. TARGETTYPE=DYNLINK
  23. SUBSYSTEM_VERSION=4.00
  24. SOURCES=ChtBrkr.rc \
  25. wbclassf.cxx\
  26. exports.cxx\
  27. iwbreak.cxx\
  28. stemcf.cxx\
  29. stemmer.cxx\
  30. register.cxx \
  31. ctplus0.c\
  32. log.c
  33. UMTYPE=windows
  34. DLLBASE=0x44e00000
  35. DLLENTRY=DllMain
  36. PRECOMPILED_INCLUDE=pch.cxx
  37. CONDITIONAL_INCLUDES= \
  38. $(CONDITIONAL_INCLUDES) \
  39. thammer.h
  40. DLLDEF=$(O)\ChtBrkr.def
  41. #
  42. # Support for IceCap profiling.
  43. #
  44. !if "$(PERFFLAGS)" == "TRUE"
  45. ! if exist ($(SDK_LIB_PATH)\icap.lib)
  46. ! if !defined(MSC_Optimiztion)
  47. MSC_OPTIMIZATION=-Oxs -Gh -MD
  48. ! elseif "$(MSC_OPTIMIZATION)" == "-GX"
  49. MSC_OPTIMIZATION=-Oxs -GX -Gh -MD
  50. ! else
  51. MSC_OPTIMIZATION=$(MSC_OPTIMIZATION) -Gh -MD
  52. ! endif
  53. USE_PDB=1
  54. ! if "$(USE_PENTER)" == "TRUE"
  55. LINKLIBS=$(LINKLIBS) $(SDK_LIB_PATH)\penter.lib
  56. UMLIBS=$(UMLIBS) $(SDK_LIB_PATH)\penter.lib
  57. ! else
  58. LINKLIBS=$(LINKLIBS) $(SDK_LIB_PATH)\ICAP.lib
  59. UMLIBS=$(UMLIBS) $(SDK_LIB_PATH)\ICAP.lib
  60. ! endif
  61. ! if "$(DBG)" == "1"
  62. ! message Warning: Profiling with DBG on!
  63. ! endif
  64. ! else
  65. ! error Cannot build for IceCap profiling without ICAP.LIB
  66. ! endif
  67. !endif
  68. LINKER_FLAGS=$(LINKER_FLAGS) -IGNORE:4077
  69. LINKLIBS=$(LINKLIBS)\
  70. $(SDK_LIB_PATH)\ntdll.lib \
  71. $(SDK_LIB_PATH)\user32.lib\
  72. $(SDK_LIB_PATH)\kernel32.lib\
  73. $(SDK_LIB_PATH)\advapi32.lib \
  74. $(SDK_LIB_PATH)\uuid.lib\
  75. $(SDK_LIB_PATH)\query.lib
  76. MISCFILES=noise.cht