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.

104 lines
2.6 KiB

  1. !IF 0
  2. Copyright (c) 1989-1996 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. History:
  11. Common ccshell makefile and cleanup 15-Apr-96 Scott Hysom (scotth)
  12. Created 24-Fed-2000 by davepl
  13. from template created 12-Apr-1990 by Steve Wood (stevewo)
  14. NOTE: Commented description of this file is in \nt\public\oak\bin\sources.tpl
  15. !ENDIF
  16. CCSHELL_DIR = $(PROJECT_ROOT)
  17. ! if !defined(NOT_UNICODE)
  18. C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE
  19. ! endif
  20. !if "$(FREEBUILD)" == "0"
  21. C_DEFINES = $(C_DEFINES) -DDEBUG
  22. LINKER_NOICF = 1 # ICF is s-l-o-w
  23. !endif
  24. INCLUDES=$(INCLUDES);$(CCSHELL_DIR)\ext\shtl
  25. INCLUDES = $(INCLUDES);$(PROJECT_ROOT)\lib\$(O)
  26. TARGET_BOTH = 1
  27. NO_BROWSER_FILE = 1
  28. TARGETNAME = SHDRT-SHORTCUTS
  29. TARGETPATH = obj
  30. TARGETTYPE = DYNLINK
  31. NOT_LEAN_AND_MEAN=1
  32. PRECOMPILED_CXX=1
  33. PRECOMPILED_INCLUDE=stdafx.h
  34. PRECOMPILED_PCH=stdafx.pch
  35. PRECOMPILED_OBJ=stdafx.obj
  36. TARGET_IS_NT50_OR_LATER=1
  37. DLLENTRY=_DllMainCRTStartup
  38. UMTYPE=windows
  39. USE_STATIC_ATL=1
  40. ATL_VER=30
  41. USE_VCCOM=1
  42. USE_NATIVE_EH=1
  43. USE_STL=1
  44. USE_MSVCRT=1
  45. # These are used in makefile.def when building the idl files.
  46. PASS0_HEADERDIR=$(O)
  47. PASS0_SOURCEDIR=$(O)
  48. MIDL_UUIDDIR=$(O)
  49. MIDL_TLBDIR=$(O)
  50. !IF "$(DEBUG)" == "1"
  51. C_DEFINES=$(C_DEFINES) -D_DEBUG
  52. !ENDIF
  53. !IF "$(DEBUG_ATL)" == "1"
  54. C_DEFINES=$(C_DEFINES) -D_ATL_DEBUG_INTERFACES -D_ATL_DEBUG_REFCOUNT -D_ATL_DEBUG_QI
  55. !ENDIF
  56. #
  57. # Note! Linking to stocklib.lib generates some LNK4049 warnings
  58. # because stocklib.lib thinks that functions like StrCpyNW are imported,
  59. # even though they aren't. Don't worry.
  60. #
  61. TARGETLIBS = \
  62. $(SDK_LIB_PATH)\kernel32.lib \
  63. $(SDK_LIB_PATH)\gdi32.lib \
  64. $(SDK_LIB_PATH)\user32.lib \
  65. $(SDK_LIB_PATH)\advapi32.lib \
  66. $(SDK_LIB_PATH)\ole32.lib \
  67. $(SDK_LIB_PATH)\oleaut32.lib \
  68. $(SHELL_LIB_PATH)\shlwapip.lib \
  69. $(SHELL_LIB_PATH)\shell32p.lib \
  70. $(CCSHELL_DIR)\lib\$O\shguidp.lib \
  71. $(LIBRARY_PATH)\uuid.lib
  72. LINKLIBS = \
  73. INCLUDES=$(INCLUDES);$(CCSHELL_DIR)\ext\shtl;$(CCSHELL_DIR)\shelldrt
  74. DLLDEF = $(O)\SHDRT-SHORTCUTS.def
  75. SOURCES = \
  76. $(SOURCES_PLATFORM) \
  77. SHDRT-SHORTCUTS.cpp
  78. C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE