windows-nt/Source/XPSP1/NT/admin/wmi/wbem/providers/wdmprovider/sources
2020-09-26 16:20:57 +08:00

83 lines
2.2 KiB
Plaintext

############################################################################
#
# Copyright (c) 1999-2001 Microsoft Corporation, All Rights Reserved
#
# All rights reserved.
#
############################################################################
WMIUNICODE=1
WMIPRECOMP=1
!include ..\..\common\makefile.cmn
SOURCES_USED=..\..\common\makefile.cmn
TARGETNAME=wmiprov
TARGETPATH=obj
TARGETTYPE=DYNLINK
# The TARGETLIBS macro specifies additional libraries to link against your target
# image. Each library path specification should contain an asterisk (*)
# where the machine-specific subdirectory name should go.
LINKLIBS= \
$(CORELIB_LIB) \
TARGETLIBS= \
$(WBEMCOMN_STATIC_LIB)\
$(STDLIBRARY_LIB) \
$(MINIMFC_LIB) \
$(WMIIDL_LIB) \
$(WBEMINT_LIB) \
$(UTILLIB_LIB) \
$(ESSCLI_STATIC_LIB) \
$(WDMLIB_LIB) \
$(SDK_LIB_PATH)\ole32.lib \
$(SDK_LIB_PATH)\oleaut32.lib \
$(SDK_LIB_PATH)\uuid.lib \
$(SDK_LIB_PATH)\wmip.lib\
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\advapip.lib \
$(SDK_LIB_PATH)\vccomsup.lib \
$(SDK_LIB_PATH)\rpcrt4.lib \
$(SDK_LIB_PATH)\user32.lib
# The INCLUDES variable specifies any include paths that are specific to
# this source directory. Separate multiple paths with single
# semicolons. Relative path specifications are okay.
INCLUDES=$(INCLUDES); \
$(WBEMCOMN_INC);\
$(WMIIDL_INC); \
$(MINIMFC_INC); \
$(STDLIBRARY_INC); \
$(MOFCOMP_DLL_INC); \
$(CONTAINER_INC); \
$(CONTAINER_SRC); \
$(UTILLIB_INC); \
$(ESSCLI_INC); \
$(WDMLIB_INC);\
$(FRAMEWORK_EXPT_INC); \
$(CORELIB_INC)
# The developer defines the SOURCES macro. It contains a list of all the
# source files for this component. Specify each source file on a separate
# line using the line-continuation character. This minimizes merge
# conflicts if two developers are adding source files to the same component.
SOURCES= \
wmiprov.rc \
classfac.cpp \
wmiprov.cpp \
wmievent.cpp \
maindll.cpp \
wdmperf.cpp
# Next, specify options for the compiler using C_DEFINES.
C_DEFINES=$(C_DEFINES) $(C_DEFINES) /DBUILDING_MOFD
USER_C_FLAGS=/EHa
DLLENTRY=_DllMainCRTStartup
DLLDEF=$(O)\wmiprov.def
USE_MSVCRT=1
USE_NATIVE_EH=1