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.

140 lines
3.0 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=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. $(SDK_LIB_PATH)\randlibk.lib \
  44. $(RDR2)\wmi\$(O)\wmlkm.lib
  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. ..\shadow.c \
  68. ..\downlvlo.c \
  69. ..\read.c \
  70. ..\rename.c \
  71. ..\recursvc.c \
  72. ..\sessetup.c \
  73. ..\smb64.c \
  74. ..\smbadmin.c \
  75. ..\smbcedb.c \
  76. ..\smbcemid.c \
  77. ..\smbsecur.c \
  78. ..\smbutils.c \
  79. ..\smbxchng.c \
  80. ..\sndrcv.c \
  81. ..\srvcall.c \
  82. ..\smbpse.c \
  83. ..\stuffer.c \
  84. ..\stfftest.c \
  85. ..\transprt.c \
  86. ..\transact.c \
  87. ..\vcsndrcv.c \
  88. ..\write.c \
  89. ..\manipmdl.c \
  90. ..\3connect.c \
  91. ..\ntbowsif.c \
  92. ..\usrcnnct.c \
  93. ..\vnrcntxt.c \
  94. ..\reconnct.c \
  95. ..\infocach.c \
  96. PRECOMPILED_INCLUDE=..\precomp.h
  97. PRECOMPILED_PCH=precomp.pch
  98. PRECOMPILED_OBJ=precomp.obj
  99. DLLDEF=$(O)\mrxsmb.def
  100. MISCFILES=smbrdr.sld \
  101. Netmscli_inf_{AFD02F3B-F8DA-4421-B5A4-F7CD888CF5AA}.sld
  102. !if "$(NO_BUILD_SMBMINI_FOR_CSC)" != "1"
  103. CSC=$(RDR2)\csc
  104. RECORD_MAN=$(CSC)\record.mgr
  105. TARGETLIBS=$(TARGETLIBS)\
  106. $(RDR2)\rdbss\smb.mrx\csc.nt5\$(O)\nt5csc.lib\
  107. $(RECORD_MAN)\daytona\$(O)\rec_mngr.lib
  108. C_DEFINES=$(C_DEFINES) -DMRXSMB_BUILD_FOR_CSC
  109. !if "$(NO_BUILD_SMBMINI_FOR_CSC_DCON)" != "1"
  110. C_DEFINES=$(C_DEFINES) -DMRXSMB_BUILD_FOR_CSC_DCON
  111. !endif
  112. !endif