!ifndef ROOT
ROOT=$(MAKEDIR:\nmmkcert=)
!endif
!ifndef DEVROOT
DEVROOT=$(ROOT)\dev
!endif

!include $(DEVROOT)\common.inc

!IF 0

Copyright (c) 1989  Microsoft Corporation

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

!ENDIF

386_STDCALL       = 1

MAJORCOMP=common
MINORCOMP=nmmkcert

C_DEFINES=$(C_DEFINES) -D_WINDOWS

TARGETNAME=nmmkcert
TARGETPATH=$(_OBJ_DIR)
TARGETTYPE=DYNLINK

# Don't use any C runtime on i386 retail builds
DLLDEF=$(MINORCOMP).def
DLLENTRY=DllMain
!if "$(FREEBUILD)" != "0"
!if $(386)
USE_SYSDLL=1
!endif
!endif

DBGFLAGS=/Oi

SOURCES= \
    $(MINORCOMP).rc \
    $(MINORCOMP).cpp \
	pvkutil.cpp

LINKLIBS= \
    $(ROOT)\nmutil\nmutila\$(_OBJ_DIR)\*\nmutila.lib

TARGETLIBS= \
    $(SDK_LIB_PATH)\kernel32.lib \
    $(SDK_LIB_PATH)\user32.lib  \
    $(SDK_LIB_PATH)\advapi32.lib  \
    $(SDK_LIB_PATH)\ole32.lib \
    $(SDK_LIB_PATH)\oleaut32.lib \
    $(DS_LIB_PATH)\crypt32p.lib

CONDITIONAL_INCLUDES =	\
macocidl.h				\
macwin32.h				\
rpcerr.h				\
rpcmac.h				\
winwlm.h				\
macname1.h				\
macname2.h				\
macpub.h				\
macapi.h