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.

141 lines
4.5 KiB

  1. CCSHELL_DIR = $(PROJECT_ROOT)
  2. !include $(CCSHELL_DIR)\cpls\appwzdui\appwiz.inc
  3. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\cpls\appwzdui\appwiz.inc
  4. SELFREGNAME = $(O)\selfreg_appwiz.inf
  5. MISCFILES = $(MISCFILES) $(SELFREGNAME)
  6. # Don't include core Windows resource header
  7. C_DEFINES = $(C_DEFINES) -DNOWINRES
  8. LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
  9. TARGETNAME = appwiz
  10. TARGETPATH = obj
  11. TARGETTYPE = DYNLINK
  12. TARGETEXT = cpl
  13. # Note: Do >not< link to ntdll. Win95 has an extremely minimal
  14. # implementation of ntdll.
  15. TARGETLIBS = \
  16. $(WINDOWS_LIB_PATH)\obj\duser.lib \
  17. !if $(FREEBUILD)
  18. $(WINDOWS_LIB_PATH)\directui.lib \
  19. !else
  20. $(WINDOWS_LIB_PATH)\directuid.lib \
  21. !endif
  22. $(SDK_LIB_PATH)\GdiPlus.lib \
  23. $(SDK_LIB_PATH)\msimg32.lib \
  24. $(SDK_LIB_PATH)\oleacc.lib \
  25. $(SDK_LIB_PATH)\gdi32.lib \
  26. $(SDK_LIB_PATH)\user32.lib \
  27. $(SDK_LIB_PATH)\advapi32.lib \
  28. $(SDK_LIB_PATH)\uuid.lib \
  29. $(SDK_LIB_PATH)\ole32.lib \
  30. $(SDK_LIB_PATH)\oleaut32.lib \
  31. $(SDK_LIB_PATH)\winsta.lib \
  32. $(SDK_LIB_PATH)\uxtheme.lib \
  33. $(DS_LIB_PATH)\msgina.lib \
  34. !ifndef DOWNLEVEL_PLATFORM
  35. $(SHELL_LIB_PATH)\shlwapip.lib \
  36. !endif
  37. $(CCSHELL_DIR)\lib\$O\shguidp.lib \
  38. $(CCSHELL_DIR)\lib\$O\shguid.lib \
  39. $(CCSHELL_DIR)\lib\$O\ieguidp.lib \
  40. $(SHELL_LIB_PATH)\shfusion.lib \
  41. !ifdef TARGET_WIN95
  42. $(SDK_LIB_DEST)\chicago\i386\kernel32.lib \
  43. $(CCSHELL_DIR)\lib\i386\shell32.w95
  44. !else
  45. $(SDK_LIB_PATH)\kernl32p.lib \
  46. $(SHELL_LIB_PATH)\shell32p.lib
  47. !endif
  48. DELAYLOAD = OLE32.DLL;OLEAUT32.DLL;WINSTA.DLL;MSGINA.DLL
  49. # nt5api must be finished before this one
  50. SYNCHRONIZE_DRAIN=1
  51. !ifdef DOWNLEVEL_PLATFORM
  52. LINKLIBS = $(CCSHELL_DIR)\lib\$O\stock4.lib
  53. !ifdef TARGET_WIN95
  54. LINKLIBS = $(LINKLIBS) \
  55. ..\w5api\$O\apithk.lib \
  56. ..\w95c\$O\srcc.lib
  57. !else #TARGET_WIN95
  58. LINKLIBS = $(LINKLIBS) \
  59. ..\nt5api\$O\apithk.lib \
  60. ..\nt4c\$O\srcc.lib
  61. !endif #TARGET_WIN95
  62. !else #DOWNLEVEL_PLATFORM
  63. LINKLIBS = $(CCSHELL_DIR)\lib\$O\stock.lib \
  64. ..\nt5api\$O\apithk.lib \
  65. ..\ntc\$O\srcc.lib
  66. !endif #DOWNLEVEL_PLATFORM
  67. USE_MSVCRT = 1
  68. DLLENTRY = _DllMainCRTStartup
  69. USE_STATIC_ATL = 1
  70. DLLDEF = $(O)\appwiz.def
  71. DLLBASE = 0x71900000
  72. # For RC to find shappmgr.TLB and HTML files, $(O) must come first
  73. INCLUDES = $(O);$(PROJECT_ROOT)\lib\$(O);..\html;$(WINDOWS_INC_PATH)\DUser;$(INCLUDES);$(DS_INC_PATH);$(SDK_INC_PATH);$(QFE_INC_PATH)
  74. # Pass zero stuff
  75. NTTARGETFILE0 = $(SELFREGNAME)
  76. PRECOMPILED_CXX = 1
  77. PRECOMPILED_INCLUDE = ..\priv.h
  78. PASS0_HEADERDIR=$(O)
  79. PASS0_SOURCEDIR=$(O)
  80. MIDL_TLBDIR=$(O)
  81. # Maintain the sources list in the alphabetical order
  82. SOURCES = \
  83. ..\arp.cpp \
  84. ..\adcctl.cpp \
  85. ..\appmgr.cpp \
  86. ..\appsize.cpp \
  87. ..\appwiz.rc \
  88. ..\awthunk.c \
  89. ..\datasrc.cpp \
  90. ..\darpub.cpp \
  91. ..\darenum.cpp \
  92. ..\darapp.cpp \
  93. ..\debug.cpp \
  94. ..\dlinst.cpp \
  95. ..\dll.cpp \
  96. ..\dlldatax.c \
  97. ..\event.cpp \
  98. ..\findapp.cpp \
  99. ..\instapp.cpp \
  100. ..\instenum.cpp \
  101. ..\mtxarray.cpp \
  102. ..\pubenum.cpp \
  103. ..\sccls.c \
  104. ..\setupenum.cpp \
  105. ..\shappmgrp.idl \
  106. ..\shappmgrp_i.c \
  107. ..\shlwapi.c \
  108. ..\slowfind.cpp \
  109. ..\stdafx.cpp \
  110. ..\tasks.cpp \
  111. ..\util.cpp \
  112. ..\worker.cpp
  113. #
  114. # Fusionized
  115. #
  116. SXS_MANIFEST_RESOURCE_ID=123
  117. SXS_APPLICATION_MANIFEST=WindowsShell.Manifest