!IF 0

Copyright (c) 1989  Microsoft Corporation

Module Name:

    sources.

Abstract:

    This file specifies the target component being built and the list of
    sources files needed to build that component.  Also specifies optional
    compiler switches and libraries that are unique for the component being
    built.

Author:

    Donna Liu (DonnaLi) 19-Dec-1993

!ENDIF

MAJORCOMP   = cairole
MINORCOMP   = com

# This links against oleutest\assert which is built before this directory.
# So we block here and collect our threads to assure that "assert" is
# finished building.
#  Blocking here also allows "olebind", "Server1", "Server2" and
# "Server3", which also need "assert", to build without SYNCHRONZATION.

SYNCHRONIZE_BLOCK=1
SYNCHRONIZE_DRAIN=1

#
# This is the name of the target built from the source files specified
# below.  The name should include neither the path nor the file extension.
#

TARGETNAME=   oleimpl

TARGETPATH=   obj

#
# This specifies the type of the target, such as PROGRAM, DYNLINK, LIBRARY,
# etc.
#

TARGETTYPE=   DYNLINK

DLLDEF=       $(O)\oleimpl.def

DLLBASE=@$(COFFBASE_TXT_FILE),usermode

!include ..\..\chicago.inc

INCLUDES=     ..\..\..\ole32\common\chicago;..\..\..\ole32\ih;..;..\..\common

C_DEFINES=    \
              $(C_DEFINES)          \
              -DFLAT                \
              -DWIN32=200           \
              -D_CHICAGO_=200          \
              -DINC_OLE2            \
              -DNOEXCEPTIONS        \
              -DCAIROLE_DOWNLEVEL

SOURCES=      \
              ..\oleimpl.cxx  \
              ..\iclisite.cxx

DLLENTRY=_DllMainCRTStartup

UMTYPE=       windows

LINKLIBS=     \
              ..\..\assert\chicago\$(O)\assert.lib          \
              ..\..\oledll2\chicago\$(O)\oledll2.lib         \
              $(SDK_LIB_PATH)\uuid.lib            \
              $(SDK_LIB_PATH)\ole32.lib           \
              $(SDK_LIB_PATH)\gdi32.lib           \
              $(BASEDIR)\private\ole32\dcom95\lib\kernel32.lib        \
              $(SDK_LIB_PATH)\user32.lib          \
              $(SDK_LIB_PATH)\advapi32.lib
	
USE_MSVCRT=1

!IF $(386)
NTTARGETFILE0=$(DLLDEF:*=i386)
!ENDIF

!IF $(MIPS)
NTTARGETFILE0=$(DLLDEF:*=mips)
!ENDIF

!IF $(ALPHA)
NTTARGETFILE0=$(DLLDEF:*=alpha)
!ENDIF

CHICAGO_PRODUCT= 1