!IF 0

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

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

!ENDIF

#
# The MAJORCOMP and MINORCOMP variables are defined
# so that $(MAJORCOMP)$(MINORCOMP)filename can be used in
# cross compiling to provide unique filenames in a flat namespace.
#

MAJORCOMP=net
MINORCOMP=logonsrv

#
# The TARGETNAME variable is defined by the developer.  It is the name of
# the target (component) that is being built by this makefile.  It
# should NOT include any path or file extension information.
#

TARGETNAME=netlogon

#
# The TARGETPATH and TARGETTYPE variables are defined by the developer.
# The first specifies where the target is to be build.  The second specifies
# the type of target (either PROGRAM, DYNLINK, LIBRARY, UMAPPL_NOLIB or
# BOOTPGM).  UMAPPL_NOLIB is used when you're only building user-mode
# apps and don't need to build a library.
#

TARGETPATH=\nt\public\sdk\lib

# Pick one of the following and delete the others
TARGETTYPE=DYNLINK
DLLENTRY=NetlogonDllInit

#
# The TARGETLIBS specifies additional libraries to link with you target
# image.  Each library path specification should contain an asterisk (*)
# where the machine specific subdirectory name should go.
#

TARGETLIBS= $(BASEDIR)\Public\Sdk\Lib\*\netlib.lib      \
            $(BASEDIR)\public\sdk\lib\*\netapi32.lib    \
            $(BASEDIR)\public\sdk\lib\*\samsrv.lib      \
            $(BASEDIR)\Public\Sdk\Lib\*\kernel32.lib    \
            $(BASEDIR)\Public\Sdk\Lib\*\advapi32.lib    \
            $(BASEDIR)\public\sdk\lib\*\lsasrv.lib      \
            $(BASEDIR)\public\sdk\lib\*\rpcutil.lib     \
            $(BASEDIR)\public\sdk\lib\*\msv1_0.lib      \
            $(BASEDIR)\public\sdk\lib\*\rpcrt4.lib      \
            $(BASEDIR)\public\sdk\lib\*\rpcndr.lib


#
# The INCLUDES variable specifies any include paths that are specific to
# this source directory.  Separate multiple directory paths with single
# semicolons.  Relative path specifications are okay.
#

INCLUDES=.;..;..\..\..\inc;..\..\..\..\inc

#
# Indicate that a .prf file exists.
#

NTPROFILEINPUT=yes

#
# Set RPC_SERVER so that MIDL generated stubs use the version of structures
# that contain non-opaque PISID instead of PSID.
#
C_DEFINES=-DRPC_SERVER -DRPC_NO_WINDOWS_H

#
# The SOURCES variable is defined by the developer.  It is a list of all the
# source files for this component.  Each source file should be on a separate
# line using the line continuation character.  This will minimize merge
# conflicts if two developers adding source files to the same component.
#

!IFNDEF DISABLE_NET_UNICODE
UNICODE=1
NET_C_DEFINES=-DUNICODE
!ENDIF

SOURCES= \
        announce.c \
        changelg.c \
        chutil.c \
        chworker.c \
        error.c \
        logon_s.c \
        logonapi.c \
        lsarepl.c \
        lsrvrepl.c \
        lsrvutil.c \
        mailslot.c \
        netlogon.c \
        netlogon.rc \
        nlp.c \
        nlsecure.c \
        oldstub.c \
        parse.c \
        repluas.c \
        replutil.c \
        srvsess.c \
        ssiapi.c \
        ssiauth.c \
        trustutl.c

# i386_SOURCES=i386\source1.asm

# i860_SOURCES=i860\source1.s

# MIPS_SOURCES=mips\source1.s

#
# Next specify options for the compiler.
#

WARNING_LEVEL=-W4
#   USE_CL860_LARGE_MODEL=

#
# This line makes the netlogon.dll to use crtdll.dll instead of libc.lib
#

USE_CRTDLL=1

#
# Next specify a kernel mode test (valid only in NTOS tree)
#

NTTEST=

#
# Next specify one or more user mode test programs and their type
# UMTEST is used for optional test programs.  UMAPPL is used for
# programs that always get built when the directory is built.
#

UMTYPE=console
UMAPPL=nltest
UMLIBS= obj\*\ssiauth.obj                           \
        obj\*\chutil.obj                            \
        obj\*\nltest1.obj                           \
        $(BASEDIR)\Public\Sdk\Lib\*\netlib.lib      \
        $(BASEDIR)\Public\Sdk\Lib\*\samlib.lib      \
        $(BASEDIR)\public\sdk\lib\*\netapi32.lib    \
        $(BASEDIR)\public\sdk\lib\*\ntdll.lib


#
# Defining either (or both) the variables NTTARGETFILE0 and/or NTTARGETFILES
# will cause MAKEFILE.DEF to include .\makefile.inc immediately after it
# specifies the top level targets (all, clean and loc) and their dependencies.
# MAKEFILE.DEF also expands NTTARGETFILE0 as the first dependent for the
# "all" target and NTTARGETFILES as the last dependent for the "all" target.
# Useful for specifying additional targets and dependencies that don't fit the
# general case covered by MAKEFILE.DEF
#

#   NTTARGETFILE0=
#   NTTARGETFILES=
