!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:

    Steve Wood (stevewo) 12-Apr-1990

!ENDIF

MAJORCOMP=lsa
MINORCOMP=server

TARGETNAME=lpolicy
TARGETPATH=obj
TARGETTYPE=LIBRARY

INCLUDES=..;..\..\inc;            \
         ..\..\idl\$(O);          \
         $(DS_GLOBAL_INC);        \
         $(NTDS_INC);             \
         $(SECURITY_INC);         \
         $(BASE_INC_PATH);        \
         $(DS_INC_PATH);          \
         $(DS_INC_PATH)\crypto;   \
         $(COM_INC_PATH);         \
         $(DRIVERS_INC_PATH);

NTLEGO=1

# Strict warning, can be used to detect uninitialized vars. Picks up random
# stuff too

COMPILER_WARNINGS=$(COMPILER_WARNINGS) -FI$(SECURITY_INC)\secwarn.h

SOURCES=  dbaccnt.c         \
          dbadmin.c         \
          dbattr.c          \
          dbdata.c          \
          dbdomain.c        \
          dbftrust.cxx      \
          dbhandle.c        \
          dbinit.c          \
          dbinstac.c        \
          dbinstal.c        \
          dbluname.c        \
          dblusid.c         \
          dbluutil.c        \
          dbmisc.c          \
          dbnotify.c        \
          dbobject.c        \
          dbpob.c           \
          dbpolex.c         \
          dbpolicy.c        \
          dbpriv.c          \
          dbsecret.c        \
          dsattrs.c         \
          dsdata.c          \
          dsfixup.c         \
          dslayer.c         \
          dstrust.c         \
          eztrust.c         \
          forest.c          \
          lsads.c           \
          lsawrap.c         \
          netlogon.c        \
          reglayer.c        \
          rpcnotif.c        \
          sidfilter.cxx     \

C_DEFINES= $(C_DEFINES) -DRPC_NO_WINDOWS_H

#
# This line makes lsasrv.dll use crtdll.dll instead of libc.lib
#

USE_CRTDLL=1

UMTYPE=windows
UMRES=$(O)\lsa_rev.res
UMLIBS=$(SDK_LIB_PATH)\lsasrv.lib                        \
       $(SDK_LIB_PATH)\rpcrt4.lib                        \
       $(SDK_LIB_PATH)\samlib.lib                        \
       $(SDK_LIB_PATH)\samsrv.lib                        \
       $(SDK_LIB_PATH)\ntdll.lib

PRECOMPILED_INCLUDE=..\lsapch2.h
PRECOMPILED_OBJ=lsapch2.obj
PRECOMPILED_PCH=lsapch2.pch