# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
# 
# This software has been released under the terms of the IBM Public
# License.  For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html

# make compiler warnings fatal
AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -WX

# include the primary makefile
RELDIR=WINNT\license
!INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
!INCLUDE ..\..\config\NTMakefile.version

############################################################################

EXEFILE = $(DESTDIR)\bin\sgml2rtf.exe

EXERES = $(OUT)\sgml2rtf.res

EXEOBJS = \
	$(OUT)\main.obj \
	$(OUT)\multistring.obj

EXELIBS = \
	user32.lib

$(EXERES): sgml2rtf.rc AFS_component_version_number.h

$(EXEFILE) : $(EXEOBJS) $(EXERES)
	$(EXECONLINK) $(EXELIBS)
        $(_VC_MANIFEST_EMBED_EXE)
	$(EXEPREP) 
        $(CODESIGN_USERLAND)
        $(SYMSTORE_IMPORT)

############################################################################
install : $(EXEFILE) lang

lang ::
	$(CD) lang
	@$(MAKECMD) /nologo /f NTMakefile install
	$(CD) ..

mkdir:
	-mkdir $(OUT)\lang
	cd lang
	nmake /nologo /f ntmakefile SRC=$(SRC) OBJ=$(OBJ) mkdir
	cd ..

clean ::
	$(DEL) $(EXERES)
	$(CD) lang
	@$(MAKECMD) /nologo /f NTMakefile clean
	$(CD) ..
