############################################################################ # # Copyright (C) 2000, Microsoft Corporation. # # All rights reserved. # ############################################################################ !include $(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn SOURCES_USED=$(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn TARGETNAME=wbemupgd 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_DLL_LIB) \ $(STDLIBRARY_LIB) \ $(WMIIDL_LIB) \ $(WBEMINT_LIB) \ $(WDMLIB_LIB) \ $(UTILLIB_LIB) \ $(SDK_LIB_PATH)\ole32.lib \ $(SDK_LIB_PATH)\oleaut32.lib \ $(SDK_LIB_PATH)\uuid.lib \ $(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\advapip.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\setupapi.lib \ $(SDK_LIB_PATH)\version.lib \ $(SDK_LIB_PATH)\vccomsup.lib \ $(SDK_LIB_PATH)\netapi32.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); \ $(STDLIBRARY_INC); \ $(WBEMINT_INC); \ $(WDMLIB_INC);\ $(MOFCOMP_DLL_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= \ export.cpp \ exportV1.cpp \ exportV5.cpp \ exportV7.cpp \ exportV9.cpp \ import.cpp \ main.cpp \ mmfarena2.cpp \ reg.cpp \ str.cpp \ upgrade.cpp \ localloc.cpp \ upgrade.rc \ ocgen.cpp \ util.cpp # Next, specify options for the compiler using C_DEFINES. C_DEFINES=$(C_DEFINES) /D__WINNT_BUILD__ /D_WINDLL USER_C_FLAGS=/Ob2 /EHa DLLDEF=$(O)\wbemupgd.def USE_MSVCRT=1 USE_STL=1 DLLENTRY=_DllMainCRTStartup