############################################################################ # # Copyright (c) 1999-2001 Microsoft Corporation, All Rights Reserved # # All rights reserved. # ############################################################################ WMIPRECOMP=1 !include $(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn SOURCES_USED=$(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn TARGETNAME=wmiutils TARGETPATH=obj TARGETTYPE=DYNLINK #next line lets it run on win95. Needed for sdk. SUBSYSTEM_VERSION=4.00 # 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= \ $(STDLIBRARY_LIB) \ $(WMIIDL_LIB) \ $(ADMIN_LIB_PATH)\umiuuid.lib \ $(WBEMINT_LIB) \ $(WBEMCOMN_STATIC_LIB) \ $(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\version.lib \ $(SDK_LIB_PATH)\oleaut32.lib \ $(SDK_LIB_PATH)\ole32.lib \ $(SDK_LIB_PATH)\rpcrt4.lib \ $(SDK_LIB_PATH)\uuid.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); \ $(WBEMINT_INC); \ $(WBEMCORE_INC); \ $(WMIIDL_INC); \ $(STDLIBRARY_INC); \ $(COMLIB_INC); \ $(WBEMCOMN_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= \ msgtable.mc \ umiparse.cpp \ umipathlex.cpp \ maindll.cpp \ pathparse.cpp \ actualparse.cpp \ opathlex2.cpp \ wbemerror.cpp \ ver.rc \ assocqp.cpp \ like.cpp \ wmiquery.cpp \ wql.cpp \ wqllex.cpp \ localloc.cpp PASS1_PUBLISH={$(O)\$(TARGETNAME).lib=$(SDK_LIB_PATH)\$(TARGETNAME).lib} # Next, specify options for the compiler using C_DEFINES. C_DEFINES=$(C_DEFINES) /DBUILDING_PROX /D_UNICODE /DUNICODE USER_C_FLAGS=/EHa USE_NATIVE_EH=1 USE_MSVCRT=1 DLLENTRY=_DllMainCRTStartup DLLDEF=$(O)\wmiutils.def