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.

182 lines
5.0 KiB

  1. TARGETNAME=syssetup
  2. TARGETPATH=obj
  3. PASS1_PUBLISH={$(O)\$(TARGETNAME).lib=$(SDK_LIB_PATH)\$(TARGETNAME).lib}
  4. TARGETTYPE=DYNLINK
  5. DLLENTRY=_DllMainCRTStartup
  6. #USE_MSVCRT=1
  7. USE_LIBCMT=1
  8. PASS0_HEADERDIR=$(O)
  9. PASS0_SOURCEDIR=$(O)
  10. INCLUDES=\
  11. ..\inc;\
  12. ..\ocmanage\inc;\
  13. ..\..\pchealth\sr\inc;\
  14. $(NET_INC_PATH);\
  15. $(WINDOWS_INC_PATH);\
  16. $(SHELL_INC_PATH);\
  17. $(BASE_INC_PATH);\
  18. $(DS_INC_PATH);\
  19. $(DDK_INC_PATH);
  20. C_DEFINES=-DUNICODE -D_OCM
  21. USE_SETUP_PERF=1
  22. !if "$(USE_SETUP_PERF)" == "1"
  23. C_DEFINES=$(C_DEFINES) -D_SETUP_PERF_
  24. !endif
  25. !include $(PROJECT_ROOT)\ntsetup\sources.inc
  26. SOURCES=applyacl.c \
  27. afpnp.c \
  28. arc.c \
  29. asrbkup.c \
  30. asrclus.c \
  31. asrrest.c \
  32. billbrd.c \
  33. clasinst.c \
  34. clasprop.c \
  35. cmdline.c \
  36. copy.c \
  37. crypto.c \
  38. ctls.c \
  39. debug.c \
  40. dll.c \
  41. dynupdt.c \
  42. external.c \
  43. extprog.c \
  44. fileops.c \
  45. inifile.c \
  46. infcache.c \
  47. intl.c \
  48. log.c \
  49. mainwind.c \
  50. misc.c \
  51. msg.mc \
  52. names.c \
  53. netdde.c \
  54. ocm.c \
  55. oobe.c \
  56. optdirs.c \
  57. pid.c \
  58. preinst.c \
  59. printer.c \
  60. printupg.c \
  61. ps2ppg.c \
  62. registry.c \
  63. repair.c \
  64. resource.c \
  65. security.c \
  66. services.c \
  67. setupasr.c \
  68. sif.c \
  69. storinst.c \
  70. strtmenu.c \
  71. syspnp.c \
  72. syssec.c \
  73. syssetup.c \
  74. unattend.c \
  75. userdiff.c \
  76. vdm.c \
  77. virtmem.c \
  78. watch.c \
  79. welcome.c \
  80. wizard.c \
  81. syssetup.rc \
  82. utils.cpp \
  83. _setup_browser.cxx
  84. LINKLIBS=$(BASE_LIB_PATH)\spapip.lib\
  85. $(PROJECT_LIB_PATH)\pnpsif.lib\
  86. $(PROJECT_LIB_PATH)\pencrypt.lib \
  87. ..\excppkg\$(O)\excppkg.lib \
  88. ..\hwdb\hwdblib\$(O)\hwdblib.lib \
  89. ..\hwdb\$(O)\utils.lib \
  90. ..\hwdb\utils\pch\$(O)\pch.obj \
  91. ..\hwlog\$(O)\hwlog.lib \
  92. TARGETLIBS=\
  93. $(SDK_LIB_PATH)\advapi32.lib \
  94. $(SDK_LIB_PATH)\comctl32.lib \
  95. $(SDK_LIB_PATH)\crypt32.lib \
  96. $(SDK_LIB_PATH)\dnsapi.lib \
  97. $(SDK_LIB_PATH)\gdi32.lib \
  98. $(SDK_LIB_PATH)\imagehlp.lib \
  99. $(SDK_LIB_PATH)\kernel32.lib \
  100. $(SDK_LIB_PATH)\kernl32p.lib \
  101. $(SDK_LIB_PATH)\ole32.lib \
  102. $(SDK_LIB_PATH)\powrprof.lib \
  103. $(DS_LIB_PATH)\dpapi.lib \
  104. $(SDK_LIB_PATH)\samlib.lib \
  105. $(BASE_LIB_PATH)\spapip.lib \
  106. $(BASE_LIB_PATH)\wow64reg.lib \
  107. $(SDK_LIB_PATH)\user32.lib \
  108. $(SDK_LIB_PATH)\userenv.lib \
  109. $(SDK_LIB_PATH)\version.lib \
  110. $(SDK_LIB_PATH)\winspool.lib \
  111. $(SDK_LIB_PATH)\sfc.lib \
  112. $(SDK_LIB_PATH)\sfcfiles.lib \
  113. $(SDK_LIB_PATH)\shlwapi.lib \
  114. $(PROJECT_ROOT)\ntsetup\ocmanage\$(O)\ocmanage.lib \
  115. $(PROJECT_ROOT)\ntsetup\setuplog\unicode\$(O)\setuplgu.lib \
  116. $(SDK_LIB_PATH)\cryptui.lib \
  117. $(SDK_LIB_PATH)\rpcutil.lib \
  118. $(SDK_LIB_PATH)\netapi32.lib \
  119. $(SDK_LIB_PATH)\rpcrt4.lib \
  120. $(DS_LIB_PATH)\rsa32.lib \
  121. $(PROJECT_LIB_PATH)\encrypt.lib \
  122. $(PROJECT_ROOT)\ntsetup\pidgen\lib\trial\$(O)\pidgen.lib \
  123. $(SDK_LIB_PATH)\imm32.lib \
  124. $(SDK_LIB_PATH)\wintrust.lib
  125. UMRES=$(O)\syssetup.res
  126. DELAYLOAD=\
  127. advapi32.dll; \
  128. comctl32.dll; \
  129. crypt32.dll; \
  130. dnsapi.dll; \
  131. imagehlp.dll; \
  132. ocmanage.dll; \
  133. ole32.dll; \
  134. pidgen.dll; \
  135. samlib.dll; \
  136. userenv.dll; \
  137. winspool.drv
  138. !if $(WIN64)
  139. DELAYLOAD=\
  140. $(DELAYLOAD); \
  141. shlwapi.dll
  142. !endif
  143. PRECOMPILED_INCLUDE=setupp.h
  144. PRECOMPILED_PCH=setupp.pch
  145. PRECOMPILED_OBJ=setupp.obj
  146. OPTIONAL_UMTEST=x
  147. UMTYPE=windows
  148. UMENTRY=wmain
  149. UMLIBS=$(SDK_LIB_PATH)\syssetup.lib \
  150. $(BASE_LIB_PATH)\spapip.lib \
  151. $(SDK_LIB_PATH)\comctl32.lib
  152. #
  153. # This is an odd use of Sxs.
  154. # Setup registers .dlls that depends on gdiplus.dll, which is in the
  155. # system default context, but not (any longer) in system32.
  156. # The system default context for the setup.exe process is created before
  157. # we actually install the system default assembly. Creating the system
  158. # default context silently fails if the system default assembly has
  159. # not yet been installed, and is simply retried for every subsequent
  160. # process create. "system default" is also known as "system compatible".
  161. #
  162. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  163. SXS_MANIFEST=SysSetup.Manifest
  164. SXS_ASSEMBLY_NAME=Microsoft.Windows.Setup
  165. SXS_NO_BINPLACE=1
  166. SXS_MANIFEST_IN_RESOURCES=1
  167. SXS_MANIFEST_RESOURCE_ID=1234
  168. C_DEFINES=$(C_DEFINES) -DSXS_MANIFEST_RESOURCE_ID=MAKEINTRESOURCEW($(SXS_MANIFEST_RESOURCE_ID))