windows-nt/Source/XPSP1/NT/base/pnp/tools/devcon2/sources
2020-09-26 16:20:57 +08:00

73 lines
1.7 KiB
Plaintext

TARGETNAME=devcon2
MINORCOMP=devcon2
INCLUDES=$(SDK_INC_PATH)\atl30;$(SDK_INC_PATH)
C_DEFINES=$(C_DEFINES) -D_USRDLL -DUNICODE -D_UNICODE -D_MERGE_PROXYSTUB
USE_NATIVE_EH=1
TARGETLIBS=\
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\atl.lib \
$(SDK_LIB_PATH)\comctl32.lib \
$(SDK_LIB_PATH)\comdlg32.lib \
$(SDK_LIB_PATH)\gdi32.lib \
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\ole32.lib \
$(SDK_LIB_PATH)\oleaut32.lib \
$(SDK_LIB_PATH)\rpcrt4.lib \
$(SDK_LIB_PATH)\rpcndr.lib \
$(SDK_LIB_PATH)\rpcns4.lib \
$(SDK_LIB_PATH)\rpcutil.lib \
$(SDK_LIB_PATH)\setupapi.lib \
$(SDK_LIB_PATH)\shell32.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\userenv.lib \
$(SDK_LIB_PATH)\uuid.lib \
$(SDK_LIB_PATH)\winspool.lib \
$(SDK_LIB_PATH)\MSVCPRT.LIB
#!IF "$(NTDEBUG)" == "ntsd" || "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "sym"
#TARGETLIBS=$(TARGETLIBS) $(SDK_LIB_PATH)\msvcrtd.lib
#C_DEFINES=$(C_DEFINES) -D_DEBUG
#!ELSE
USES_MSVCRT=1
#C_DEFINES=$(C_DEFINES) -DNDEBUG
#!ENDIF
TARGETPATH=obj
TARGETTYPE=DYNLINK
DLLDEF=devcon2.def
DLLENTRY=_DllMainCRTStartup
SOURCES=\
devcon2.cpp \
devcon2.idl \
devcon2.rc \
device.cpp \
deviceconsole.cpp \
deviceicon.cpp \
devices.cpp \
devicesenum.cpp \
devinfoset.cpp \
driver.cpp \
drivers.cpp \
driversenum.cpp \
drvsearchset.cpp \
setupclass.cpp \
setupclassenum.cpp \
setupclasses.cpp \
strings.cpp \
stringsenum.cpp \
dlldatax.c
UMRES=$(O)\devcon2.res
UMTYPE=windows
UMENTRY=winmain
PRECOMPILED_CXX = 1
PRECOMPILED_INCLUDE = stdafx.h
PRECOMPILED_SOURCEFILE = stdafx.cpp