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.

102 lines
3.3 KiB

  1. CCSHELL_DIR = $(PROJECT_ROOT)
  2. TARGET_BOTH = 1
  3. NOT_UNICODE = 1
  4. PRECOMPILED_CXX = 1
  5. !include $(CCSHELL_DIR)\common.inc
  6. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
  7. TARGETTYPE = DYNLINK
  8. TARGETNAME = mlang
  9. TARGETPATH = obj
  10. UMTYPE = windows
  11. DLLENTRY = _DllMainCRTStartup
  12. DLLDEF = ..\mlang.def
  13. PRECOMPILED_INCLUDE = ..\private.h
  14. # Dynamically loading comctl32 through shfusion. Need to ignore "locally defined symbol imported" error
  15. LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
  16. TARGETLIBS = $(SDK_LIB_PATH)\kernel32.lib \
  17. $(SDK_LIB_PATH)\user32.lib \
  18. $(SDK_LIB_PATH)\gdi32.lib \
  19. $(SDK_LIB_PATH)\advapi32.lib \
  20. $(SDK_LIB_PATH)\uuid.lib \
  21. $(SDK_LIB_PATH)\ole32.lib \
  22. $(SDK_LIB_PATH)\shlwapi.lib \
  23. $(SDK_LIB_PATH)\version.lib \
  24. $(CCSHELL_DIR)\lib\$O\stock4.lib \
  25. $(CCSHELL_DIR)\lib\$(O)\shfusion.lib
  26. USE_MSVCRT = 1
  27. INCLUDES = $(INCLUDES); \
  28. $(BASEDIR)\public\sdk\inc\atl21
  29. # Multi Language part
  30. SOURCES_ML = ..\mlang.rc \
  31. ..\init.cpp \
  32. ..\mimedb.cpp \
  33. ..\mimereg.cpp \
  34. ..\rfc1766.cpp \
  35. ..\enumcp.cpp \
  36. ..\mlang.cpp \
  37. ..\dllload.cpp \
  38. ..\reg.cpp \
  39. ..\debug.c
  40. # IMLConvertCharset part
  41. SOURCES_CC = ..\utf8obj.cpp \
  42. ..\utf7obj.cpp \
  43. ..\ichrcnv.cpp \
  44. ..\convbase.cpp \
  45. ..\convinet.cpp \
  46. ..\detcbase.cpp \
  47. ..\kscobj.cpp \
  48. ..\eucjobj.cpp \
  49. ..\hzgbobj.cpp \
  50. ..\jisobj.cpp \
  51. ..\convobj.cpp
  52. # IMLangX part
  53. SOURCES_MLX = ..\mlflink.cpp \
  54. ..\mlstr.cpp \
  55. ..\mlstrw.cpp \
  56. ..\mlstra.cpp \
  57. ..\mlswalk.cpp \
  58. ..\mllbcons.cpp \
  59. ..\attrstr.cpp \
  60. ..\attrstrw.cpp \
  61. ..\attrstra.cpp \
  62. ..\attrloc.cpp \
  63. ..\util.cpp
  64. # Multi Language detection
  65. SOURCES_AUTO = ..\fechauto.cpp \
  66. ..\fechmap.cpp \
  67. ..\jislex.cpp \
  68. ..\lcinit.cpp \
  69. ..\detcjpn.cpp \
  70. ..\detckrn.cpp \
  71. ..\cpdetect.cpp \
  72. ..\lcdetect.cpp \
  73. ..\validate.cpp
  74. SOURCES = $(SOURCES_ML) $(SOURCES_CC) $(SOURCES_MLX) $(SOURCES_AUTO)
  75. #
  76. # Fusionized
  77. #
  78. SXS_ASSEMBLY_NAME=WindowsShell
  79. SXS_ASSEMBLY_VERSION=1.0
  80. SXS_ASSEMBLY_LANGUAGE=0000
  81. SXS_MANIFEST=WindowsShell.Manifest
  82. SXS_MANIFEST_IN_RESOURCES=
  83. SXS_MANIFEST_RESOURCE_ID=123
  84. SXS_NO_BINPLACE=1