!ifndef ROOT
ROOT=$(MAKEDIR:\cert=)
!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=rdmkcert

C_DEFINES=$(C_DEFINES) -D_WINDOWS

TARGETNAME=rdmkcert
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= \
    nmmkcert.rc \
    nmmkcert.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 \
    $(SDK_LIB_PATH)\crypt32.lib

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