chak%netscape.com 797ae82416 Fix for #123981 - Add missing editor functionality to MfcEmbed
r=adamlock, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@114362 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:49:48 +00:00

98 lines
2.0 KiB
Makefile

#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is the Mozilla browser.
#
# The Initial Developer of the Original Code is Netscape
# Communications, Inc. Portions created by Netscape are
# Copyright (C) 2001, Mozilla. All Rights Reserved.
#
# Contributor(s):
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
PROGRAM = mfcembed$(BIN_SUFFIX)
RESFILE = MfcEmbed.res
REQUIRES = \
xpcom \
string \
necko \
webbrwsr \
widget \
docshell \
dom \
uriloader \
embed_base \
webshell \
shistory \
pref \
profile \
find \
gfx \
windowwatcher \
layout \
webbrowserpersist \
composer \
commandhandler \
$(NULL)
CPPSRCS = \
MfcEmbed.cpp \
BrowserFrm.cpp \
EditorFrm.cpp \
BrowserFrameGlue.cpp \
BrowserView.cpp \
BrowserImpl.cpp \
BrowserImplWebPrgrsLstnr.cpp \
BrowserImplCtxMenuLstnr.cpp \
Dialogs.cpp \
ProfileMgr.cpp \
ProfilesDlg.cpp \
winEmbedFileLocProvider.cpp \
MostRecentUrls.cpp \
PrintProgressDialog.cpp \
Preferences.cpp \
PrintSetupDialog.cpp \
StdAfx.cpp \
$(NULL)
EXTRA_DSO_LIBS = embed_base_s gkgfx mfcEmbedComponents
LIBS = \
$(EXTRA_DSO_LIBS) \
$(XPCOM_LIBS) \
$(NSPR_LIBS) \
$(NULL)
OS_LIBS += \
ole32.lib \
comdlg32.lib \
shell32.lib \
version.lib \
$(NULL)
LOCAL_INCLUDES = -I$(srcdir)/components
include $(topsrcdir)/config/rules.mk
CXXFLAGS += /D "_AFXDLL" /D "USE_SINGLE_SIGN_ON"
LDFLAGS += -SUBSYSTEM:windows
libs:: mfcembed.htm
$(INSTALL) $^ $(DIST)/bin