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.

142 lines
3.2 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)
  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. !if $(386)
  65. __I386_LIBS=$(DS_LIB_PATH)\nwapi32.lib
  66. !endif
  67. TARGETLIBS= \
  68. $(SDK_LIB_PATH)\advapi32.lib \
  69. $(SDK_LIB_PATH)\crypt32.lib \
  70. $(SDK_LIB_PATH)\lsadll.lib \
  71. $(NET_LIB_PATH)\icmp.lib \
  72. $(SDK_LIB_PATH)\samlib.lib \
  73. $(SDK_LIB_PATH)\netlib.lib \
  74. $(SDK_LIB_PATH)\ntdll.lib \
  75. $(SDK_LIB_PATH)\user32.lib \
  76. $(SDK_LIB_PATH)\dnsapi.lib \
  77. $(SDK_LIB_PATH)\dnslib.lib \
  78. $(SDK_LIB_PATH)\ntdsapi.lib \
  79. $(SDK_LIB_PATH)\ws2_32.lib \
  80. $(SDK_LIB_PATH)\wldap32.lib \
  81. $(SDK_LIB_PATH)\rpcrt4.lib \
  82. $(NET_LIB_PATH)\ndispnp.lib \
  83. $(SDK_LIB_PATH)\iphlpapi.lib \
  84. $(SDK_LIB_PATH)\wsock32.lib \
  85. $(SDK_LIB_PATH)\mprapi.lib \
  86. $(SDK_LIB_PATH)\ole32.lib \
  87. $(SDK_LIB_PATH)\oleaut32.lib \
  88. $(SDK_LIB_PATH)\uuid.lib \
  89. $(SDK_LIB_PATH)\rasapi32.lib \
  90. $(SDK_LIB_PATH)\netapi32.lib \
  91. $(DS_LIB_PATH)\netapi32p.lib \
  92. $(SDK_LIB_PATH)\tapi32.lib \
  93. $(SDK_LIB_PATH)\snmpapi.lib \
  94. $(SDK_LIB_PATH)\mpr.lib \
  95. $(SDK_LIB_PATH)\userenv.lib \
  96. $(__I386_LIBS)
  97. I386_SOURCES=IpxTest.c \
  98. NwTest.c
  99. C_DEFINES=$(C_DEFINES) -DRPC_NO_WINDOWS_H
  100. # C_DEFINES=$(C_DEFINES) -DUNICODE
  101. # Used when compiling ipconfig and DsGetDcName to identify the NetTest utility
  102. C_DEFINES=$(C_DEFINES) -DNETTEST_UTILITY
  103. # Used when Compiling DsGetDcName
  104. C_DEFINES=$(C_DEFINES) -D_DSGETDCAPI_
  105. # Needed by ipconfig to identify this as NT.
  106. C_DEFINES=$(C_DEFINES) -DNT
  107. # Turn on verbose debugging in DsGetDcName
  108. C_DEFINES=$(C_DEFINES) -DNETLOGONDBG=1
  109. # dont display scope id string anymore as UI changed..
  110. # similary dont display dns resolution anymore as UI changed..
  111. C_DEFINES=$(C_DEFINES) -DFLAG_DISPLAY_SCOPE_ID=0 -DFLAG_DISPLAY_DNS_RESOLUTION=0
  112. C_DEFINES=$(C_DEFINES) -DFLAG_DONT_SHOW_PPP_ADAPTERS=1
  113. MSC_WARNING_LEVEL=/W3 /WX
  114. USE_MSVCRT=1