mirror of https://github.com/tongzx/nt5src
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.
78 lines
1.6 KiB
78 lines
1.6 KiB
!IF 0
|
|
|
|
Copyright (c) 1995 Microsoft Corporation
|
|
|
|
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.
|
|
|
|
|
|
Revision History:
|
|
|
|
!ENDIF
|
|
|
|
TARGETNAME=bitssrv
|
|
TARGETTYPE=DYNLINK
|
|
DLLENTRY=_DllMainCRTStartup
|
|
|
|
!if defined(USE_WININET)
|
|
C_DEFINES = $(C_DEFINES) -DUSE_WININET
|
|
!endif
|
|
|
|
INCLUDES=$(INCLUDES);..\inc;;..\..\inc;$(O);..\idl\$(O)
|
|
|
|
#
|
|
# Use the multithreaded C runtime DLL.
|
|
#
|
|
USE_MSVCRT=1
|
|
|
|
#
|
|
# This component uses C++ exception handling.
|
|
#
|
|
USE_NATIVE_EH=1
|
|
|
|
!if !defined(USE_WININET)
|
|
DELAYLOAD=winhttp.dll
|
|
DLOAD_ERROR_HANDLER=BITSSERVER_DelayLoadFailureHook
|
|
!endif
|
|
|
|
TARGETPATH=..\..\bins\$(_OBJ_DIR)
|
|
TARGETLIBS=$(TARGETLIBS) \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
!if defined(USE_WININET)
|
|
$(SDK_LIB_PATH)\wininet.lib \
|
|
!else
|
|
$(SDK_LIB_PATH)\winhttp.lib \
|
|
!endif
|
|
$(SDK_LIB_PATH)\shlwapi.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\activeds.Lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\iphlpapi.lib \
|
|
$(SDK_LIB_PATH)\Ws2_32.lib
|
|
|
|
|
|
SOURCES= \
|
|
server.cpp \
|
|
log.cpp \
|
|
thunks.cpp \
|
|
utils.cpp \
|
|
config.cpp \
|
|
setup.cpp \
|
|
dload.cpp \
|
|
version.rc
|
|
|
|
PRECOMPILED_INCLUDE=precomp.h
|
|
PRECOMPILED_CXX=1
|
|
|
|
BINPLACE_PLACEFILE=..\..\placefil.txt
|