!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

TARGETNAME=netlogon
TARGETPATH=$(BASEDIR)\public\sdk\lib

TARGETTYPE=DYNLINK
DLLENTRY=NetlogonDllInit

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

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

!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

#
# Next specify options for the compiler.
#

MSC_WARNING_LEVEL=/W3 /WX

USE_CRTDLL=1

UMTYPE=console
UMAPPL=nltest
UMRES=$(@R).res
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

NTTARGETFILE1=obj\*\nltest.res


