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.
93 lines
2.4 KiB
93 lines
2.4 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=WMIsvc
|
|
|
|
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)
|
|
# $(COREPROX_LIB) \
|
|
# $(WMIIDL_LIB) \
|
|
# $(WBEMCOMN_DLL_LIB) \
|
|
# $(WBEMINT_LIB) \
|
|
# $(STDLIBRARY_LIB) \
|
|
|
|
|
|
|
|
TARGETLIBS= \
|
|
$(WBEMCOMN_DLL_LIB) \
|
|
$(STDLIBRARY_LIB) \
|
|
$(WMIIDL_LIB) \
|
|
$(WBEMINT_LIB) \
|
|
$(WMIREPOSITIDL_LIB) \
|
|
$(SDK_LIB_PATH)\ntdll.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\advapip.lib \
|
|
$(SDK_LIB_PATH)\vccomsup.lib \
|
|
$(SDK_LIB_PATH)\vssapi.lib \
|
|
$(WDMLIB_LIB) \
|
|
$(COMMON)\utillib\$(WMICHARTYPE)\$(O)\utillib.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); \
|
|
$(WBEMINT_INC); \
|
|
$(WMIIDL_INC); \
|
|
$(MINIMFC_INC); \
|
|
$(WBEMCOMN_INC); \
|
|
$(STDLIBRARY_INC); \
|
|
$(CORELIB_INC); \
|
|
$(MOFCOMP_DLL_INC); \
|
|
$(WMIREPOSITIDL_INC); \
|
|
$(ADMIN_INC_PATH); \
|
|
$(WDMLIB_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= \
|
|
winmgmt.rc \
|
|
localloc.cpp \
|
|
winmgmt.cpp \
|
|
cntserv.cpp \
|
|
sched.cpp \
|
|
factory.cpp \
|
|
mofdutil.cpp \
|
|
backuprestore.cpp \
|
|
regcode.cpp \
|
|
resync2.cpp \
|
|
wbemdelta.cpp \
|
|
writer.cpp
|
|
|
|
|
|
# Next, specify options for the compiler using C_DEFINES.
|
|
C_DEFINES=$(C_DEFINES) /DUSE_POLARITY /DBUILDING_DLL /DUNICODE /D_UNICODE
|
|
#/DDEBUG_ADAP /DINSTRUMENTED_BUILD
|
|
USER_C_FLAGS=/EHa
|
|
USE_NATIVE_EH=1
|
|
USE_MSVCRT=1
|
|
DLLENTRY=_DllMainCRTStartup
|
|
|
|
DLLDEF=$(O)\wmisvc.def
|