143 lines
3.2 KiB
Plaintext
143 lines
3.2 KiB
Plaintext
!IF 0
|
|
|
|
Copyright (C) Microsoft Corporation, 1989 - 1999
|
|
|
|
Module Name:
|
|
|
|
sources.
|
|
|
|
Abstract:
|
|
|
|
This file specifies the target component being built and the list of
|
|
sources files needed to build that component. Also specifies optional
|
|
compiler switches and libraries that are unique for the component being
|
|
built.
|
|
|
|
|
|
Author:
|
|
|
|
Steve Wood (stevewo) 12-Apr-1990
|
|
|
|
NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
|
|
|
|
!ENDIF
|
|
|
|
TARGETNAME=netdiag
|
|
TARGETPATH=obj
|
|
TARGETTYPE=PROGRAM
|
|
|
|
UMTYPE=console
|
|
|
|
INCLUDES=.
|
|
INCLUDES=$(INCLUDES);$(NET_INC_PATH);$(DS_INC_PATH);$(BASE_INC_PATH)
|
|
|
|
PRECOMPILED_INCLUDE = precomp.h
|
|
PRECOMPILED_PCH = precomp.pch
|
|
PRECOMPILED_OBJ = precomp.obj
|
|
|
|
SOURCES= \
|
|
netdiag.rc \
|
|
autonet.c \
|
|
Bindings.c \
|
|
Bowser.c \
|
|
DcList.c \
|
|
dcutil.c \
|
|
DefGw.c \
|
|
DnsCmn.c \
|
|
DnsTest.c \
|
|
domutil.c \
|
|
DsGetDc.c \
|
|
format.c \
|
|
global.c \
|
|
ipcfg.c \
|
|
IpLoopBk.c \
|
|
ipsec.c \
|
|
Kerberos.c \
|
|
LdapTest.c \
|
|
machine.c \
|
|
member.c \
|
|
ModemTst.c \
|
|
NbtNm.c \
|
|
nbtxport.c \
|
|
nbtutil.c \
|
|
ndUtils.c \
|
|
netstat.c \
|
|
nettest.c \
|
|
regutil.c \
|
|
results.c \
|
|
route.c \
|
|
strings.c \
|
|
tfschar.c \
|
|
Trust.c \
|
|
WanTest.c \
|
|
Winsock.c \
|
|
WinsTest.c \
|
|
xportst.c \
|
|
ndisquer.c \
|
|
browser1.c \
|
|
snmputil.c \
|
|
|
|
!if $(386)
|
|
__I386_LIBS=$(DS_LIB_PATH)\nwapi32.lib
|
|
!endif
|
|
|
|
TARGETLIBS= \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\crypt32.lib \
|
|
$(SDK_LIB_PATH)\lsadll.lib \
|
|
$(NET_LIB_PATH)\icmp.lib \
|
|
$(SDK_LIB_PATH)\samlib.lib \
|
|
$(SDK_LIB_PATH)\netlib.lib \
|
|
$(SDK_LIB_PATH)\ntdll.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\dnsapi.lib \
|
|
$(SDK_LIB_PATH)\dnslib.lib \
|
|
$(SDK_LIB_PATH)\ntdsapi.lib \
|
|
$(SDK_LIB_PATH)\ws2_32.lib \
|
|
$(SDK_LIB_PATH)\wldap32.lib \
|
|
$(SDK_LIB_PATH)\rpcrt4.lib \
|
|
$(NET_LIB_PATH)\ndispnp.lib \
|
|
$(SDK_LIB_PATH)\iphlpapi.lib \
|
|
$(SDK_LIB_PATH)\wsock32.lib \
|
|
$(SDK_LIB_PATH)\mprapi.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\rasapi32.lib \
|
|
$(SDK_LIB_PATH)\netapi32.lib \
|
|
$(DS_LIB_PATH)\netapi32p.lib \
|
|
$(SDK_LIB_PATH)\tapi32.lib \
|
|
$(SDK_LIB_PATH)\snmpapi.lib \
|
|
$(SDK_LIB_PATH)\mpr.lib \
|
|
$(SDK_LIB_PATH)\userenv.lib \
|
|
$(__I386_LIBS)
|
|
|
|
I386_SOURCES=IpxTest.c \
|
|
NwTest.c
|
|
|
|
C_DEFINES=$(C_DEFINES) -DRPC_NO_WINDOWS_H
|
|
# C_DEFINES=$(C_DEFINES) -DUNICODE
|
|
|
|
# Used when compiling ipconfig and DsGetDcName to identify the NetTest utility
|
|
C_DEFINES=$(C_DEFINES) -DNETTEST_UTILITY
|
|
|
|
# Used when Compiling DsGetDcName
|
|
C_DEFINES=$(C_DEFINES) -D_DSGETDCAPI_
|
|
|
|
# Needed by ipconfig to identify this as NT.
|
|
C_DEFINES=$(C_DEFINES) -DNT
|
|
|
|
# Turn on verbose debugging in DsGetDcName
|
|
C_DEFINES=$(C_DEFINES) -DNETLOGONDBG=1
|
|
|
|
|
|
# dont display scope id string anymore as UI changed..
|
|
# similary dont display dns resolution anymore as UI changed..
|
|
C_DEFINES=$(C_DEFINES) -DFLAG_DISPLAY_SCOPE_ID=0 -DFLAG_DISPLAY_DNS_RESOLUTION=0
|
|
C_DEFINES=$(C_DEFINES) -DFLAG_DONT_SHOW_PPP_ADAPTERS=1
|
|
|
|
|
|
MSC_WARNING_LEVEL=/W3 /WX
|
|
|
|
USE_MSVCRT=1
|