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.

149 lines
3.6 KiB

  1. !IF 0
  2. Copyright (C) Microsoft Corporation, 1989 - 1999
  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. TARGETNAME=netdiag
  15. TARGETPATH=obj
  16. TARGETTYPE=PROGRAM
  17. UMTYPE=console
  18. INCLUDES=.
  19. INCLUDES=$(INCLUDES);$(NET_INC_PATH);$(DS_INC_PATH);$(BASE_INC_PATH);$(NET_DEV_ROOT)\inc
  20. PRECOMPILED_INCLUDE = precomp.h
  21. PRECOMPILED_PCH = precomp.pch
  22. PRECOMPILED_OBJ = precomp.obj
  23. SOURCES= \
  24. netdiag.rc \
  25. autonet.c \
  26. Bindings.c \
  27. Bowser.c \
  28. DcList.c \
  29. dcutil.c \
  30. DefGw.c \
  31. DnsCmn.c \
  32. DnsTest.c \
  33. domutil.c \
  34. DsGetDc.c \
  35. format.c \
  36. global.c \
  37. ipcfg.c \
  38. IpLoopBk.c \
  39. ipsec.c \
  40. Kerberos.c \
  41. LdapTest.c \
  42. machine.c \
  43. member.c \
  44. ModemTst.c \
  45. NbtNm.c \
  46. nbtxport.c \
  47. nbtutil.c \
  48. ndUtils.c \
  49. netstat.c \
  50. nettest.c \
  51. regutil.c \
  52. results.c \
  53. route.c \
  54. strings.c \
  55. tfschar.c \
  56. Trust.c \
  57. WanTest.c \
  58. Winsock.c \
  59. WinsTest.c \
  60. xportst.c \
  61. ndisquer.c \
  62. browser1.c \
  63. snmputil.c \
  64. spdcheck.c\
  65. polprn.c\
  66. spdprint.c\
  67. !if $(386)
  68. __I386_LIBS=$(DS_LIB_PATH)\nwapi32.lib
  69. !endif
  70. TARGETLIBS= \
  71. $(SDK_LIB_PATH)\advapi32.lib \
  72. $(SDK_LIB_PATH)\crypt32.lib \
  73. $(SDK_LIB_PATH)\lsadll.lib \
  74. $(NET_LIB_PATH)\icmp.lib \
  75. $(SDK_LIB_PATH)\samlib.lib \
  76. $(SDK_LIB_PATH)\netlib.lib \
  77. $(SDK_LIB_PATH)\ntdll.lib \
  78. $(SDK_LIB_PATH)\user32.lib \
  79. $(SDK_LIB_PATH)\dnsapi.lib \
  80. $(SDK_LIB_PATH)\dnslib.lib \
  81. $(SDK_LIB_PATH)\ntdsapi.lib \
  82. $(SDK_LIB_PATH)\ws2_32.lib \
  83. $(SDK_LIB_PATH)\wldap32.lib \
  84. $(SDK_LIB_PATH)\rpcrt4.lib \
  85. $(NET_LIB_PATH)\ndispnp.lib \
  86. $(SDK_LIB_PATH)\iphlpapi.lib \
  87. $(SDK_LIB_PATH)\wsock32.lib \
  88. $(SDK_LIB_PATH)\mprapi.lib \
  89. $(SDK_LIB_PATH)\ole32.lib \
  90. $(SDK_LIB_PATH)\oleaut32.lib \
  91. $(SDK_LIB_PATH)\uuid.lib \
  92. $(SDK_LIB_PATH)\rasapi32.lib \
  93. $(SDK_LIB_PATH)\netapi32.lib \
  94. $(DS_LIB_PATH)\netapi32p.lib \
  95. $(SDK_LIB_PATH)\tapi32.lib \
  96. $(SDK_LIB_PATH)\snmpapi.lib \
  97. $(SDK_LIB_PATH)\mpr.lib \
  98. $(SDK_LIB_PATH)\userenv.lib \
  99. $(__I386_LIBS)\
  100. $(PROJECT_LIB_PATH)\polstore.lib \
  101. $(BASEDIR)\net\ipsec\pastore\$(O)\pastore.lib \
  102. $(PROJECT_PRIVATE_LIB_PATH)\winipsec.lib\
  103. $(PROJECT_PRIVATE_LIB_PATH)\ipsecshr.lib
  104. I386_SOURCES=IpxTest.c \
  105. NwTest.c
  106. C_DEFINES=$(C_DEFINES) -DRPC_NO_WINDOWS_H
  107. # C_DEFINES=$(C_DEFINES) -DUNICODE
  108. # Used when compiling ipconfig and DsGetDcName to identify the NetTest utility
  109. C_DEFINES=$(C_DEFINES) -DNETTEST_UTILITY
  110. # Used when Compiling DsGetDcName
  111. C_DEFINES=$(C_DEFINES) -D_DSGETDCAPI_
  112. # Needed by ipconfig to identify this as NT.
  113. C_DEFINES=$(C_DEFINES) -DNT
  114. # Turn on verbose debugging in DsGetDcName
  115. C_DEFINES=$(C_DEFINES) -DNETLOGONDBG=1
  116. # dont display scope id string anymore as UI changed..
  117. # similary dont display dns resolution anymore as UI changed..
  118. C_DEFINES=$(C_DEFINES) -DFLAG_DISPLAY_SCOPE_ID=0 -DFLAG_DISPLAY_DNS_RESOLUTION=0
  119. C_DEFINES=$(C_DEFINES) -DFLAG_DONT_SHOW_PPP_ADAPTERS=1
  120. MSC_WARNING_LEVEL=/W3 /WX
  121. USE_MSVCRT=1