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.

85 lines
1.5 KiB

  1. !IF 0
  2. Copyright (c) 1989 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. Author:
  11. Steve Wood (stevewo) 12-Apr-1990
  12. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  13. !ENDIF
  14. MAJORCOMP=ntos
  15. MINORCOMP=bldr
  16. TARGETNAME=oscldr
  17. TARGETPATH=obj
  18. TARGETTYPE=LIBRARY
  19. !IF "$(BUILD_DEBUG_LOADER)" != ""
  20. DBG_LDR=_dbg
  21. !ELSE
  22. DBG_LDR=
  23. !ENDIF
  24. !include $(PROJECT_ROOT)\boot\loader$(DBG_LDR).inc
  25. INCLUDES= \
  26. $(PROJECT_ROOT)\boot\inc;\
  27. $(PROJECT_ROOT)\ntos\inc;\
  28. $(PROJECT_ROOT)\ntos\config;\
  29. $(PROJECT_ROOT)\boot\lib;\
  30. $(O);
  31. C_DEFINES=$(C_DEFINES) -DSECURITY_WIN32 -D__RPC_DOS__ -DRPC_NO_WINDOWS_H
  32. !IF $(IA64)
  33. C_DEFINES=$(C_DEFINES) -DEFI -DUNICODE -D_UNICODE
  34. !endif
  35. SOURCES=..\oschoice.c \
  36. ..\parse.c \
  37. ..\regboot.c \
  38. ..\dcmpstub.c \
  39. ..\oscheap.c \
  40. $(O)\msg.mc\
  41. ..\oschoice.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 $(386)
  50. NTTARGETFILES=$(O)\oschoice$(DBG_LDR).exe
  51. !endif
  52. !if $(IA64)
  53. NTTARGETFILES=$(O)\oschoice$(DBG_LDR).efi
  54. !endif
  55. MISCFILES=$(NTTARGETFILES)
  56. !endif
  57. UMRES=$(O)\oschoice.res