82 lines
2.3 KiB
Plaintext
82 lines
2.3 KiB
Plaintext
############################################################################
|
|
#
|
|
# 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=WinMgmt
|
|
|
|
TARGETPATH=obj
|
|
TARGETTYPE=PROGRAM
|
|
|
|
# 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) \
|
|
$(WBEMCOMN_DLL_LIB) \
|
|
$(WBEMINT_LIB) \
|
|
$(WMIREPOSITIDL_LIB) \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\gdi32.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\resutils.lib \
|
|
$(SDK_LIB_PATH)\version.lib \
|
|
$(SDK_LIB_PATH)\vccomsup.lib \
|
|
$(SDK_LIB_PATH)\Shell32.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); \
|
|
$(COREPROX_INC); \
|
|
$(WMIIDL_INC); \
|
|
$(MC_INC); \
|
|
$(WBEMCORE_INC); \
|
|
$(WBEMCOMN_INC); \
|
|
$(WBEMMCP_INC); \
|
|
$(MOFCOMP_DLL_INC); \
|
|
$(TRANLIB_INC); \
|
|
$(WBEMMSP_INC); \
|
|
$(STDLIBRARY_INC); \
|
|
$(WMIREPOSITIDL_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 \
|
|
cntserv.cpp \
|
|
sched.cpp \
|
|
resync.cpp \
|
|
ntreg.cpp \
|
|
utils.cpp \
|
|
win9xaut.cpp \
|
|
backuprestore.cpp \
|
|
SERVUTIL.CPP \
|
|
winmgmt.cpp
|
|
|
|
# Next, specify options for the compiler using C_DEFINES.
|
|
C_DEFINES=$(C_DEFINES) /DOPTIMIZE /D_UNICODE /DUNICODE
|
|
USER_C_FLAGS=/EHa
|
|
USE_NATIVE_EH=1
|
|
LINKER_STACKSIZE=/STACK:1048576,16384
|
|
USE_MSVCRT=1
|
|
|
|
UMTYPE=windows
|
|
UMENTRY=winmain
|