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.

97 lines
2.8 KiB

  1. #
  2. # The following lines allow the tree to be relocated. To use this, put
  3. # private.mk in the root of the project (nt\base as of this writing). If
  4. # nt\base\private.mk does not exist, then the official build location will
  5. # be used.
  6. #
  7. RUNTIME_ROOT=$(PROJECT_ROOT)\ntsetup\spsetup\runtime
  8. !IF EXIST($(PROJECT_ROOT)\private.mk)
  9. !include $(PROJECT_ROOT)\private.mk
  10. !ENDIF
  11. # general build settings
  12. MAJORCOMP=setuprt
  13. TARGETPATH=$(RUNTIME_ROOT)\$(_OBJ_DIR)
  14. #
  15. # The PRERELEASE option
  16. #
  17. !include $(PROJECT_ROOT)\ntsetup\sources.inc
  18. RUNTIME_COMMON=$(RUNTIME_ROOT)\common
  19. RUNTIME_COMMON_OBJ=$(RUNTIME_COMMON)\$(_OBJ_DIR)
  20. RUNTIME_COMMON_BIN=$(RUNTIME_COMMON)\$(O)
  21. RUNTIME_TOOLS=$(RUNTIME_ROOT)\tools
  22. RUNTIME_TOOLS_OBJ=$(RUNTIME_TOOLS)\$(_OBJ_DIR)
  23. RUNTIME_TOOLS_BIN=$(RUNTIME_TOOLS)\$(O)
  24. INCLUDES=$(INCLUDES);\
  25. $(RUNTIME_ROOT)\pcha; \
  26. $(RUNTIME_ROOT)\inc; \
  27. $(PROJECT_ROOT)\ntsetup\inc; \
  28. $(SHELL_INC_PATH); \
  29. $(ADMIN_INC_PATH); \
  30. $(BASE_INC_PATH); \
  31. $(WINDOWS_INC_PATH); \
  32. $(NET_INC_PATH); \
  33. $(DS_INC_PATH); \
  34. $(MULTIMEDIA_INC_PATH); \
  35. # precompiled header
  36. PCH_LIB_PATHA=$(RUNTIME_ROOT)\pcha\$(O)\pcha.lib
  37. PCH_PCH_PATHA=$(RUNTIME_ROOT)\pcha\$(O)\pcha.pch
  38. RUNTIME_PRECOMPILED_OBJA=$(RUNTIME_ROOT)\pcha\$(O)\pcha.obj
  39. RUNTIME_PRECOMPILED_TARGETA=$(RUNTIME_ROOT)\pcha\$(O)\pcha.pch
  40. PCH_LIB_PATHW=$(RUNTIME_ROOT)\pchw\$(O)\pchw.lib
  41. PCH_PCH_PATHW=$(RUNTIME_ROOT)\pchw\$(O)\pchw.pch
  42. RUNTIME_PRECOMPILED_OBJW=$(RUNTIME_ROOT)\pchw\$(O)\pchw.obj
  43. RUNTIME_PRECOMPILED_TARGETW=$(RUNTIME_ROOT)\pchw\$(O)\pchw.pch
  44. RUNTIME_PRECOMPILED_LIBS=$(PCH_LIB_PATHA) $(PCH_LIB_PATHW)
  45. # compiler options
  46. USER_C_FLAGS=-J
  47. !ifdef UNICODE
  48. C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
  49. #
  50. # CONSOLE_ENTRY is defined for subsequent use in main sources: UMENTRY=$(CONSOLE_ENTRY)
  51. #
  52. CONSOLE_ENTRY=wmain
  53. PCH_LIB_PATH=$(PCH_LIB_PATHW)
  54. PCH_PCH_PATH=$(PCH_PCH_PATHW)
  55. RUNTIME_PRECOMPILED_OBJ=$(RUNTIME_PRECOMPILED_OBJW)
  56. RUNTIME_PRECOMPILED_TARGET=$(RUNTIME_PRECOMPILED_TARGETW)
  57. !else
  58. #
  59. # CONSOLE_ENTRY is defined for subsequent use in main sources: UMENTRY=$(CONSOLE_ENTRY)
  60. #
  61. CONSOLE_ENTRY=main
  62. PCH_LIB_PATH=$(PCH_LIB_PATHA)
  63. PCH_PCH_PATH=$(PCH_PCH_PATHA)
  64. RUNTIME_PRECOMPILED_OBJ=$(RUNTIME_PRECOMPILED_OBJA)
  65. RUNTIME_PRECOMPILED_TARGET=$(RUNTIME_PRECOMPILED_TARGETA)
  66. !endif
  67. PRECOMPILED_OPTION=/Yupch.h /Fp$(RUNTIME_PRECOMPILED_TARGET)
  68. # Use NT4/Win95 base API's
  69. WIN32_WINNT_VERSION=0x0400
  70. WIN32_WIN95_VERSION=0x0400
  71. !if $(386)
  72. SUBSYSTEM_VERSION=4.00
  73. !ENDIF
  74. USE_MSVCRT=1