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.
110 lines
2.7 KiB
110 lines
2.7 KiB
############################################################################
|
|
#
|
|
# Copyright (C) 1999, Microsoft Corporation.
|
|
#
|
|
# All rights reserved.
|
|
#
|
|
############################################################################
|
|
|
|
WMIPRECOMP=1
|
|
!include $(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
|
|
SOURCES_USED=$(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
|
|
|
|
TARGETNAME=wbemdisp
|
|
|
|
TARGETPATH=obj
|
|
TARGETTYPE=DYNLINK
|
|
|
|
MIDL_TLBDIR=$(O)
|
|
PASS0_CLIENTDIR=$(O)
|
|
PASS0_SERVERDIR=$(O)
|
|
PASS0_SOURCEDIR=$(O)
|
|
PASS0_HEADERDIR=$(O)
|
|
|
|
|
|
# Tone down the warning level to avoid errors from
|
|
# symbols names being too long (because of STL)
|
|
MSC_WARNING_LEVEL= /W3
|
|
|
|
# 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.
|
|
TARGETLIBS= \
|
|
$(WMIIDL_LIB) \
|
|
$(STDLIBRARY_LIB) \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\msvcprt.lib \
|
|
$(SDK_LIB_PATH)\rpcrt4.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); \
|
|
$(ADMIN_INC_PATH); \
|
|
$(WMIIDL_INC); \
|
|
$(STDLIBRARY_INC); \
|
|
$(SDK_INC_PATH)\atl30
|
|
|
|
# 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= \
|
|
wbemdisp.rc \
|
|
dispi.idl \
|
|
privilege.cpp \
|
|
enumpriv.cpp \
|
|
pxycache.cpp \
|
|
site.cpp \
|
|
services.cpp \
|
|
error.cpp \
|
|
security.cpp \
|
|
events.cpp \
|
|
method.cpp \
|
|
methset.cpp \
|
|
methvar.cpp \
|
|
objobjp.cpp \
|
|
qualifier.cpp \
|
|
qualset.cpp \
|
|
qualvar.cpp \
|
|
property.cpp \
|
|
propset.cpp \
|
|
propvar.cpp \
|
|
nvalue.cpp \
|
|
context.cpp \
|
|
contvar.cpp \
|
|
cwbemdsp.cpp \
|
|
parsedn.cpp \
|
|
util.cpp \
|
|
disphlp.cpp \
|
|
locator.cpp \
|
|
sink.cpp \
|
|
objsink.cpp \
|
|
asynserv.cpp \
|
|
asyncobj.cpp \
|
|
object.cpp \
|
|
enumobj.cpp \
|
|
enumvar.cpp \
|
|
maindll.cpp \
|
|
classfac.cpp \
|
|
sobjpath.cpp\
|
|
dispi_i.c\
|
|
datetime.cpp\
|
|
refresher.cpp\
|
|
pathcrak.cpp
|
|
|
|
# Next, specify options for the compiler using C_DEFINES.
|
|
C_DEFINES=$(C_DEFINES) /D_WIN32_WINNT=0x0400 /DBUILDING_DLL /DUNICODE /D_UNICODE
|
|
#USER_C_FLAGS=/EHa
|
|
DLLENTRY=_DllMainCRTStartup
|
|
USE_MSVCRT=1
|
|
USE_NATIVE_EH=1
|
|
DLLDEF=$(O)\wbemdisp.def
|
|
MIDL_FLAGS=/client stub /server none
|
|
|
|
# MSC_OPTIMIZATION=/Od
|