Leaked source code of windows server 2003
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.

113 lines
3.2 KiB

  1. MAJORCOMP=setup
  2. TARGETPATH=..\..\$(_OBJ_DIR)
  3. TARGETTYPE=DYNLINK
  4. DLLDEF=$(O)\winnt32.def
  5. DLLENTRY=_DllMainCRTStartup
  6. PASS0_HEADERDIR=$(O)
  7. PASS0_SOURCEDIR=$(O)
  8. INCLUDES= $(PASS0_HEADERDIR); \
  9. $(PASS0_SOURCEDIR); \
  10. ..; \
  11. ..\..\..\inc; \
  12. ..\..\..\..\inc; \
  13. ..\..\faulth; \
  14. $(ADMIN_INC_PATH); \
  15. $(BASE_INC_PATH); \
  16. $(WINDOWS_INC_PATH); \
  17. $(TERMSRV_INC_PATH); \
  18. # $(SDK_INC_PATH); \
  19. # $(SDK_INC_PATH)\crt; \
  20. #
  21. # We use various NT APIs to do stuff like arc name translations and
  22. # NV-RAM manipulation. The x86 version has to run on Win95, so we can't
  23. # link to ntdll.dll (when running on NT x86 the code does loadlib/getprocaddr
  24. # for the routines it needs). On non-x86 we want ntdll to come last
  25. # in the link order so we don't get crt routines from it (the set of crt
  26. # routines exported from it varies from release to release) so we play
  27. # a little build trickery to get it right.
  28. #
  29. NO_NTDLL=1
  30. USE_LIBCMT=1
  31. UMTYPE=windows
  32. LINKER_FLAGS=/SWAPRUN:CD /SWAPRUN:NET
  33. !if $(386)
  34. SUBSYSTEM_VERSION=4.00
  35. !ENDIF
  36. SOURCES=..\arc.c \
  37. ..\argvw.c \
  38. ..\cleanup.c \
  39. ..\comp.c \
  40. ..\copylist.c \
  41. ..\debug.c \
  42. ..\delnode.c \
  43. ..\diamond.c \
  44. ..\dll.c \
  45. ..\dynsetup.c \
  46. ..\dynupdt.c \
  47. ..\eula.c \
  48. ..\incompat.c \
  49. ..\inf.c \
  50. ..\inspect.c \
  51. ..\internal.c \
  52. ..\misc.c \
  53. ..\msg.mc \
  54. ..\options.c \
  55. ..\params.c \
  56. ..\regmigrt.c \
  57. ..\rsrcutil.c \
  58. ..\security.c \
  59. ..\sticky.c \
  60. ..\util.c \
  61. ..\winnt32.c \
  62. ..\winnt32.rc \
  63. ..\dscheck.c \
  64. ..\web.cpp \
  65. ..\wizard.c \
  66. ..\cmdcons.c \
  67. ..\lang.c \
  68. ..\sxs.c \
  69. TARGETLIBS=\
  70. $(SDK_LIB_PATH)\kernel32.lib \
  71. $(SDK_LIB_PATH)\user32.lib \
  72. $(SDK_LIB_PATH)\gdi32.lib \
  73. $(SDK_LIB_PATH)\uuid.lib \
  74. $(SDK_LIB_PATH)\ole32.lib \
  75. $(SDK_LIB_PATH)\oleaut32.lib \
  76. $(SDK_LIB_PATH)\advapi32.lib \
  77. $(SDK_LIB_PATH)\cfgmgr32.lib \
  78. $(SDK_LIB_PATH)\comctl32.lib \
  79. $(SDK_LIB_PATH)\comdlg32.lib \
  80. $(BASE_LIB_PATH)\patchbc.lib \
  81. $(PROJECT_LIB_PATH)\pnpsif.lib \
  82. $(SDK_LIB_PATH)\mpr.lib \
  83. $(SDK_LIB_PATH)\version.lib \
  84. $(SDK_LIB_PATH)\winspool.lib \
  85. $(SDK_LIB_PATH)\imm32.lib \
  86. $(PROJECT_LIB_PATH)\pencrypt.lib \
  87. $(PROJECT_ROOT)\ntsetup\pidgen\lib\trial\$(O)\pidgen.lib \
  88. $(PROJECT_ROOT)\mspatch\api\statica\$(O)\mspatchz.lib \
  89. PRECOMPILED_INCLUDE=precomp.h
  90. #
  91. # Definition of DOWNLOAD_DETAILS
  92. #
  93. !ifdef DOWNLOAD_DETAILS
  94. C_DEFINES=$(C_DEFINES) -DDOWNLOAD_DETAILS
  95. !endif
  96. #
  97. # Definition of PRERELEASE
  98. #
  99. !include $(PROJECT_ROOT)\ntsetup\sources.inc