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.

140 lines
2.8 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=mrxsmb
  18. TARGETNAME=mrxsmb
  19. TARGETPATH=obj
  20. TARGETTYPE=EXPORT_DRIVER
  21. SYNCHRONIZE_DRAIN=1
  22. !if "$(DS_BUILD)" == "1"
  23. #DSINC=..
  24. !endif
  25. INCLUDES=\
  26. $(INCLUDES);\
  27. $(RDR2)\inc;\
  28. $(RDR2)\rdbss\inc;\
  29. $(PROJECT_ROOT)\ntos\inc;\
  30. ..;\
  31. $(RDR2)\bowser;\
  32. $(DS_INC_PATH);\
  33. $(DS_INC_PATH)\crypto;\
  34. $(NET_INC_PATH);\
  35. $(IFSKIT_INC_PATH)
  36. TARGETLIBS=\
  37. ..\..\..\bowser\$(O)\bowser.lib \
  38. $(RDR2)\rdbss\daytona\$(O)\rdbss.lib \
  39. $(DDK_LIB_PATH)\ksecdd.lib \
  40. $(DDK_LIB_PATH)\tdi.lib \
  41. $(RDR2)\rdbss\smb.mrx\rdrssp\$(O)\rdrssp.lib\
  42. $(DS_LIB_PATH)\rsa32k.lib \
  43. $(RDR2)\wmi\$(O)\wmlkm.lib
  44. NTLAYGO=1
  45. MSC_WARNING_LEVEL=/W3 /WX
  46. C_DEFINES= $(C_DEFINES) -DEXPLODE_POOLTAGS -DDS_BUILD -D_PNP_POWER_
  47. !IF $(MONOLITHIC_MINIRDR)
  48. C_DEFINES=$(C_DEFINES) -DMONOLITHIC_MINIRDR
  49. !ENDIF
  50. # merge RSA32K.LIB paged code & data into non-paged sections.
  51. LINKER_FLAGS=$(LINKER_FLAGS) -merge:PAGER32C=.text -merge:PAGER32D=.data -merge:PAGER32R=.rdata
  52. MOST_SOURCES= \
  53. ..\devfcb.c \
  54. ..\ea.c \
  55. ..\exsessup.c \
  56. ..\fileinfo.c \
  57. ..\downlvli.c \
  58. ..\fsctl.c \
  59. ..\init.c \
  60. ..\locks.c \
  61. ..\midatlas.c \
  62. ..\mm.c \
  63. ..\mssndrcv.c \
  64. ..\netroot.c \
  65. ..\ntsecure.c \
  66. ..\openclos.c \
  67. ..\downlvlo.c \
  68. ..\read.c \
  69. ..\rename.c \
  70. ..\recursvc.c \
  71. ..\sessetup.c \
  72. ..\smb64.c \
  73. ..\smbadmin.c \
  74. ..\smbcedb.c \
  75. ..\smbcemid.c \
  76. ..\smbsecur.c \
  77. ..\smbutils.c \
  78. ..\smbxchng.c \
  79. ..\sndrcv.c \
  80. ..\srvcall.c \
  81. ..\smbpse.c \
  82. ..\stuffer.c \
  83. ..\stfftest.c \
  84. ..\transprt.c \
  85. ..\transact.c \
  86. ..\vcsndrcv.c \
  87. ..\write.c \
  88. ..\manipmdl.c \
  89. ..\3connect.c \
  90. ..\ntbowsif.c \
  91. ..\usrcnnct.c \
  92. ..\vnrcntxt.c \
  93. ..\reconnct.c \
  94. ..\infocach.c \
  95. PRECOMPILED_INCLUDE=..\precomp.h
  96. PRECOMPILED_PCH=precomp.pch
  97. PRECOMPILED_OBJ=precomp.obj
  98. DLLDEF=$(O)\mrxsmb.def
  99. MISCFILES=smbrdr.sld
  100. !if "$(NO_BUILD_SMBMINI_FOR_CSC)" != "1"
  101. CSC=$(RDR2)\csc
  102. RECORD_MAN=$(CSC)\record.mgr
  103. TARGETLIBS=$(TARGETLIBS)\
  104. $(RDR2)\rdbss\smb.mrx\csc.nt5\$(O)\nt5csc.lib\
  105. $(RECORD_MAN)\daytona\$(O)\rec_mngr.lib
  106. C_DEFINES=$(C_DEFINES) -DMRXSMB_BUILD_FOR_CSC
  107. !if "$(NO_BUILD_SMBMINI_FOR_CSC_DCON)" != "1"
  108. C_DEFINES=$(C_DEFINES) -DMRXSMB_BUILD_FOR_CSC_DCON
  109. !endif
  110. !endif