############################################################################
#
#   Copyright (C) 1999, Microsoft Corporation.
#
#   All rights reserved.
#
############################################################################

WMIPRECOMP=1
WMIMFC=1
!include $(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
SOURCES_USED=$(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn

TARGETNAME=wbemdr32

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.
TARGETLIBS= \
	$(WMIIDL_LIB) \
	$(WBEMINT_LIB) \
	$(STDLIBRARY_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)\uuid.lib \
	$(SDK_LIB_PATH)\mpr.lib\
	$(SDK_LIB_PATH)\odbccp32.lib\
	$(SDK_LIB_PATH)\comctl32.lib\
	$(SDK_LIB_PATH)\htmlhelp.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); \
	$(STDLIBRARY_INC); \
	$(WMIIDL_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= \
	wbemdr32.rc \
	browse.cpp \
	bcd.cpp \
	catalog.cpp \
	coldefs.cpp \
	conndlg.cpp \
	connect.cpp \
	dbase.cpp \
	dll.cpp \
	drdbdr.cpp \
	evaluate.cpp \
	execute.cpp \
	info.cpp \
	isam.cpp \
	optimize.cpp \
	options.cpp \
	parse.cpp \
	prepare.cpp \
	results.cpp \
	semantic.cpp \
	setup.cpp \
	scalar.cpp \
	sqltype.cpp \
	sort.cpp \
	transact.cpp \
	util.cpp

C_DEFINES=$(C_DEFINES) /DBUILD_CORE
WIN32_WINNT_VERSION=0x0400
USER_C_FLAGS=/EHa
DLLENTRY=_DllMainCRTStartup

DLLDEF=$(O)\x86.def
USE_MSVCRT=1
USE_VCCOM=1