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.

160 lines
4.2 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. Add SRVNTVERCHK to the C_DEFINES line below if you want to enable
  11. server side checking of NT build numbers. Having compiled with this,
  12. you can set REG_DWORD MinNt5Client in the registry to the minimum NT5
  13. build number that a client must be running in order to connect to a disk
  14. share on this server. If you have clients which you want to exclude from
  15. this check, you can add their static IP address to REG_MULTI_SZ ValidNT5IPAddr
  16. as dotted quad values. You do not need to restart the server if you make
  17. changes to these registry values. If you want to restrict clients from connecting
  18. to all shares (not just disk), use the MinNT5ClientIPC keyword instead of
  19. MinNt5Client.
  20. !ENDIF
  21. MAJORCOMP=ntos
  22. MINORCOMP=srv
  23. TARGETNAME=srv
  24. TARGETTYPE=DRIVER
  25. TARGETPATH=obj
  26. TARGETLIBS=$(DDK_LIB_PATH)\tdi.lib \
  27. $(DDK_LIB_PATH)\ksecdd.lib \
  28. $(DS_LIB_PATH)\rsa32k.lib
  29. # merge RSA32K.LIB paged code & data into non-paged sections.
  30. LINKER_FLAGS = $(LINKER_FLAGS) -merge:PAGER32C=.text -merge:PAGER32D=.data -merge:PAGER32R=.rdata
  31. NT_UP=0
  32. INCLUDES=\
  33. ..;\
  34. $(O);\
  35. $(NET_INC_PATH);\
  36. $(DS_INC_PATH);\
  37. $(DS_INC_PATH)\crypto;\
  38. $(DRIVERS_INC_PATH);\
  39. $(IFSKIT_INC_PATH)
  40. C_DEFINES=$(C_DEFINES) -D_NTDRIVER_ -D_PNP_POWER_ -DSRVNTVERCHK -DSRVCATCH -DSYSCACHE_DEBUGGING
  41. MSC_WARNING_LEVEL=/W3 /WX
  42. !IFNDEF DISABLE_NET_UNICODE
  43. UNICODE=1
  44. NET_C_DEFINES=-DUNICODE
  45. !ENDIF
  46. !IFDEF BUILD_FOR_3_51
  47. C_DEFINES=$(C_DEFINES) -D_NTIFS_
  48. !ENDIF
  49. NTPROFILEINPUT=yes
  50. SOURCES= \
  51. ..\access.c \
  52. ..\blkconn.c \
  53. ..\blkdebug.c \
  54. ..\blkdir.c \
  55. ..\blkendp.c \
  56. ..\blkfile.c \
  57. ..\blksec.c \
  58. ..\blksess.c \
  59. ..\blkshare.c \
  60. ..\blksrch.c \
  61. ..\blktable.c \
  62. ..\blktimer.c \
  63. ..\blktrans.c \
  64. ..\blktree.c \
  65. ..\blkwork.c \
  66. ..\copy.c \
  67. ..\dfs.c \
  68. ..\ea.c \
  69. ..\errorlog.c \
  70. ..\fsd.c \
  71. ..\fsddisp.c \
  72. ..\fsdraw.c \
  73. ..\fsdsmb.c \
  74. ..\fspinit.c \
  75. ..\heapmgr.c \
  76. ..\info.c \
  77. ..\ipx.c \
  78. ..\io.c \
  79. ..\lock.c \
  80. ..\lockcode.c \
  81. ..\move.c \
  82. ..\network.c \
  83. ..\open.c \
  84. ..\oplock.c \
  85. ..\pipe.c \
  86. ..\prnsupp.c \
  87. ..\scavengr.c \
  88. ..\share.c \
  89. ..\smbadmin.c \
  90. ..\smbattr.c \
  91. ..\smbclose.c \
  92. ..\smbdir.c \
  93. ..\smbfile.c \
  94. ..\smbfind.c \
  95. ..\smbioctl.c \
  96. ..\smblock.c \
  97. ..\smbmisc.c \
  98. ..\smbmpx.c \
  99. ..\smbnotfy.c \
  100. ..\smbopen.c \
  101. ..\smbprint.c \
  102. ..\smbproc.c \
  103. ..\smbraw.c \
  104. ..\smbrdwrt.c \
  105. ..\smbsrch.c \
  106. ..\smbsupp.c \
  107. ..\smbtrans.c \
  108. ..\smbtree.c \
  109. ..\srv.rc \
  110. ..\srvconfg.c \
  111. ..\srvdata.c \
  112. ..\srvsnap.c \
  113. ..\srvstamp.c \
  114. ..\srvstat.c \
  115. ..\srvstrng.c \
  116. ..\svcconn.c \
  117. ..\svcfile.c \
  118. ..\svcsess.c \
  119. ..\svcshare.c \
  120. ..\svcsrv.c \
  121. ..\svcstats.c \
  122. ..\svcsupp.c \
  123. ..\svcxport.c \
  124. ..\worker.c \
  125. ..\xssupp.c
  126. RUN_WPP=$(SOURCES) -km -gen{simple.tpl}*.tmh -func:KdPrint((MSG,...)) -ini:localwpp.ini -func:SrvPrint0(MSG) -func:SrvPrint1(MSG,...) -func:SrvPrint2(MSG,...) -func:SrvPrint3(MSG,...) -func:SrvPrint4(MSG,...)
  127. NTTARGETFILE0=srv.bmf
  128. PRECOMPILED_INCLUDE=..\precomp.h
  129. PRECOMPILED_PCH=precomp.pch
  130. PRECOMPILED_OBJ=precomp.obj
  131. SOURCES_USED=..\SOURCES.INC
  132. MISCFILES=smbsrv.sld