!IF 0

Copyright (c) 1989-1996 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.

NOTE:   Commented description of this file is in \nt\public\oak\bin\sources.tpl

!ENDIF

PRECOMPILED_INCLUDE=pch.h
PRECOMPILED_PCH=pch.pch
PRECOMPILED_OBJ=pch.obj
PRECOMPILED_CXX=1
TARGETNAME=common
TARGETPATH=obj
TARGETTYPE=LIBRARY
USE_MSVCRT=1
USE_NATIVE_EH=1

#
# Define PROFILE to enable IceCAP profiling.
#
!IF "$(PROFILE)" == "1"
USE_ICECAP=1
C_DEFINES=$(C_DEFINES) -DPROFILE
!ENDIF

#
# Must process this directory before any others because
# others link with the product (common.lib)
#
SYNCHRONIZE_BLOCK=1

C_DEFINES=$(C_DEFINES) -DWIN32 -DWINNT -DUNICODE

!IF !$(FREEBUILD)
C_DEFINES=$(C_DEFINES) -DDEBUG
!ENDIF

MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX

INCLUDES=.;\
         ..\control; \
	 $(O);
	
PASS0_SOURCEDIR=$(O)
PASS0_HEADERDIR=$(O)

SOURCES= msg.mc \
         alloc.cpp \
         debug.cpp \
         except.cpp \
         ntds.cpp \
         mapfile.cpp \
         registry.cpp \
         strclass.cpp \
         pathstr.cpp \
         thdsync.cpp \
         utils.cpp \
         xbytes.cpp \
         policy.cpp \
         eventlog.cpp \
         dblnul.cpp