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.

90 lines
1.5 KiB

  1. !IF 0
  2. Copyright (c) 1989-2000 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. !ENDIF
  11. TARGETNAME=bldr
  12. TARGETPATH=obj
  13. TARGETTYPE=LIBRARY
  14. !IF "$(BUILD_DEBUG_LOADER)" != ""
  15. DBG_LDR=_dbg
  16. !ELSE
  17. DBG_LDR=
  18. !ENDIF
  19. !include $(PROJECT_ROOT)\boot\loader$(DBG_LDR).inc
  20. INCLUDES=\
  21. $(PROJECT_ROOT)\boot\inc;\
  22. $(PROJECT_ROOT)\ntos\inc;\
  23. $(PROJECT_ROOT)\ntos\config;\
  24. $(PROJECT_ROOT)\fs\fastfat;\
  25. $(SDKTOOLS_INC_PATH);\
  26. $(O)
  27. MSC_WARNING_LEVEL=/W3 /WX
  28. !IF $(IA64)
  29. C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE -DEFI
  30. !ELSE
  31. C_DEFINES=$(C_DEFINES) -D_WANT_MACHINE_IDENTIFICATION
  32. !endif
  33. SOURCES=..\osloader.c \
  34. ..\dcmpstub.c \
  35. ..\regboot.c \
  36. ..\hiber.c \
  37. ..\advboot.c \
  38. ..\bootstat.c \
  39. ..\netboot.c \
  40. $(O)\msg.mc \
  41. ..\osloader.rc
  42. PASS0_SOURCEDIR=$(O)
  43. PASS0_HEADERDIR=$(O)
  44. NTTARGETFILE0=$(O)\msg.mc
  45. !IF $(386)
  46. MC_FLAGS=-A
  47. !ENDIF
  48. !IF "$(NOLINK)" != "1"
  49. !IF $(ALPHA) || $(AXP64)
  50. NTTARGETFILES=$(O)\osloader$(DBG_LDR).exe
  51. !ELSEIF $(386)
  52. ! if "$(ALT_PROJECT)" == "ArcI386"
  53. NTTARGETFILES=$(O)\arcldr$(DBG_LDR).exe
  54. ! else
  55. NTTARGETFILES=$(O)\osloader$(DBG_LDR)$(NTD_LDR).exe $(O)\ntldr$(DBG_LDR) $(O)\osloader$(DBG_LDR).ntd
  56. ! endif
  57. !elseif $(IA64)
  58. NTTARGETFILES=$(O)\ia64ldr$(DBG_LDR).efi
  59. !endif
  60. MISCFILES=$(NTTARGETFILES)
  61. !ENDIF