!IF 0

  Application build file

  created: 28-Jun-95
  history: 28-Jun-95 <t-stefb> created; based on build files from Win95 source tree
  history:  2-Aug-95 <t-stefb> converted to new version of WordPad

!ENDIF

MAJORCOMP=shell
MINORCOMP=accesory

TARGETNAME=wordpad
TARGETPATH=obj
TARGETTYPE=PROGRAM

UMTYPE=windows

USE_NATIVE_EH=1

USE_MFCUNICODE=1

MSC_WARNING_LEVEL=/W4 /WX /wd4267

PRECOMPILED_INCLUDE=stdafx.h
PRECOMPILED_CXX=1


SXS_ASSEMBLY_NAME=Microsoft.Windows.Wordpad
SXS_ASSEMBLY_VERSION=1.0 
SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
SXS_MANIFEST=Wordpad.Manifest
SXS_MANIFEST_IN_RESOURCES=1
SXS_NO_BINPLACE=1


#
# Turn of native MFC richedit support because we can't use any of it and if
# we turn it off we'll catch any attempt to use it.  This can be removed when
# MFC gets native richedit2 support.
#

C_DEFINES=  \
            $(C_DEFINES)                \
            -D_AFX_NO_RICHEDIT_SUPPORT

INCLUDES=   \
            include

#
# Note, the files from dlgcomm.cpp to winctrl4.cpp are snapshotted from the
# MFC 4.2 source to provide richedit2 capability.  When MFC gets native support
# for richedit2 the can be removed.
#

SOURCES=\
    dlgcomm.cpp     \
    dlgfnt.cpp      \
    oleinit.cpp     \
    viewrich.cpp    \
    winctrl2.cpp    \
    winctrl4.cpp    \
    wordpad.rc   \
	chicdial.cpp \
	cntritem.cpp \
	colorlis.cpp \
	datedial.cpp \
	ddxm.cpp     \
	docopt.cpp   \
	doctype.cpp  \
    filedlg.cpp  \
	filenewd.cpp \
	formatba.cpp \
	formatpa.cpp \
	formatta.cpp \
	ipframe.cpp  \
	key.cpp      \
	listdlg.cpp  \
	mainfrm.cpp  \
	multconv.cpp \
	options.cpp  \
	optionsh.cpp \
	pageset.cpp  \
	ruler.cpp    \
	srvritem.cpp \
	strings.cpp  \
	unitspag.cpp \
	wordpad.cpp  \
	wordpdoc.cpp \
	wordpvw.cpp  \
    fixhelp.cpp


TARGETLIBS= \
    $(SDK_LIB_PATH)\comdlg32.lib \
    $(SDK_LIB_PATH)\htmlhelp.lib \
    $(SDK_LIB_PATH)\shell32.lib  \
    $(SDK_LIB_PATH)\uuid.lib     \
    $(SDK_LIB_PATH)\ole32.lib    \
    $(SDK_LIB_PATH)\shlwapi.lib  \
    $(SDK_LIB_PATH)\oledlg.lib