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.

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