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.

112 lines
2.1 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. RDR2=$(PROJECT_ROOT)\fs\rdr2
  15. !INCLUDE $(RDR2)\rdbss\master.src
  16. MAJORCOMP=ntos
  17. MINORCOMP=rdbss
  18. TARGETNAME=rdbss
  19. TARGETPATH=obj
  20. !IF $(MONOLITHIC_MINIRDR)
  21. TARGETTYPE=LIBRARY
  22. !ELSE
  23. TARGETTYPE=EXPORT_DRIVER
  24. TARGETLIBS=\
  25. $(DDK_LIB_PATH)\tdi.lib \
  26. $(DDK_LIB_PATH)\ksecdd.lib \
  27. $(RDR2)\wmi\$(O)\wmlkm.lib
  28. CRTLIBS= \
  29. $(RDR2)\rdbss\copysup.nt\daytona\$(O)\copysup.lib
  30. !ENDIF
  31. SYNCHRONIZE_DRAIN=1
  32. INCLUDES=\
  33. ..;\
  34. ..\inc;\
  35. ..\..\inc;\
  36. $(NET_INC_PATH);\
  37. $(IFSKIT_INC_PATH)
  38. C_DEFINES=$(C_DEFINES) -DEXPLODE_POOLTAGS
  39. !IF $(MONOLITHIC_MINIRDR)
  40. C_DEFINES=$(C_DEFINES) -DMONOLITHIC_MINIRDR
  41. !ENDIF
  42. #CODE.IMPROVEMENT much of this stuff should be in a sources.inc file
  43. SOURCES= \
  44. ..\BackPack.c \
  45. ..\CacheSup.c \
  46. ..\Cancel.c \
  47. ..\Cleanup.c \
  48. ..\Close.c \
  49. ..\Create.c \
  50. ..\DevCtrl.c \
  51. ..\DirCtrl.c \
  52. ..\Ea.c \
  53. ..\FileInfo.c \
  54. ..\Flush.c \
  55. ..\FsCtrl.c \
  56. ..\LockCtrl.c \
  57. ..\minirdr.c \
  58. ..\NTexcept.c \
  59. ..\NTDevFCB.c \
  60. ..\NTErrLog.c \
  61. ..\NTfsd.c \
  62. ..\NTfsp.c \
  63. ..\NtInit.c \
  64. ..\NtFastIo.c \
  65. ..\Read.c \
  66. ..\strtstop.c \
  67. ..\VolInfo.c \
  68. ..\Write.c
  69. !IF 0
  70. CODE.IMPROVEMENT remove shutdown.c from sources
  71. !ENDIF
  72. NONMONOLITHIC_SOURCES =\
  73. ..\Rdbss.rc ..\drventry.c
  74. !ifndef WRAP_ONLY_MODE
  75. LINKLIBS = $(LINKLIBS) \
  76. $(RDR2)\rxce\daytona\$(O)\rxce.lib
  77. !endif
  78. PRECOMPILED_INCLUDE=..\precomp.h
  79. PRECOMPILED_PCH=precomp.pch
  80. PRECOMPILED_OBJ=precomp.obj
  81. !IF !$(MONOLITHIC_MINIRDR)
  82. SOURCES = $(SOURCES) $(NONMONOLITHIC_SOURCES)
  83. UMRES=$(O)\rdbss.res
  84. DLLDEF=$(O)\rdbss.def
  85. !ENDIF