1999-11-02 06:43:10 +03:00
|
|
|
#
|
|
|
|
# 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) 1999, Mozilla. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
# Stuart Parmenter <pavlov@netscape.com>
|
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
MODULE = docshell
|
2000-07-19 06:57:05 +04:00
|
|
|
IS_COMPONENT = 1
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = docshell_provider
|
1999-11-02 06:43:10 +03:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = docshell
|
2001-04-28 23:48:12 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
2002-12-28 04:15:07 +03:00
|
|
|
GRE_MODULE = 1
|
|
|
|
|
2004-01-07 16:37:00 +03:00
|
|
|
PACKAGE_FILE = docshell.pkg
|
|
|
|
|
2001-09-18 17:41:47 +04:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
dom \
|
2003-06-25 01:43:01 +04:00
|
|
|
js \
|
2001-09-18 17:41:47 +04:00
|
|
|
shistory \
|
|
|
|
necko \
|
|
|
|
gfx \
|
2004-03-06 07:46:11 +03:00
|
|
|
content \
|
2001-09-18 17:41:47 +04:00
|
|
|
layout \
|
|
|
|
webshell \
|
|
|
|
widget \
|
|
|
|
pref \
|
|
|
|
view \
|
|
|
|
intl \
|
|
|
|
htmlparser \
|
|
|
|
chardet \
|
|
|
|
find \
|
2002-02-02 08:13:56 +03:00
|
|
|
composer \
|
|
|
|
editor \
|
|
|
|
commandhandler \
|
2003-07-16 04:33:50 +04:00
|
|
|
history \
|
2003-03-15 04:04:32 +03:00
|
|
|
uriloader \
|
|
|
|
exthandler \
|
|
|
|
helperAppDlg \
|
|
|
|
mimetype \
|
|
|
|
rdf \
|
|
|
|
prefetch \
|
|
|
|
$(NULL)
|
|
|
|
|
2004-02-11 05:10:04 +03:00
|
|
|
EXPORTS = \
|
|
|
|
nsDocShellCID.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2002-01-01 03:03:57 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
EXTRA_DSO_LIBS = gkgfx
|
|
|
|
endif
|
|
|
|
|
1999-11-02 06:43:10 +03:00
|
|
|
CPPSRCS = \
|
|
|
|
nsDocShellModule.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
2000-01-06 14:08:52 +03:00
|
|
|
SHARED_LIBRARY_LIBS= \
|
2001-12-15 02:49:04 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)basedocshell_s.$(LIB_SUFFIX) \
|
2003-03-15 04:04:32 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)uriloaderbase_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)exthandler_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)prefetch_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)shistory_s.$(LIB_SUFFIX) \
|
1999-11-02 06:43:10 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2000-01-06 14:08:52 +03:00
|
|
|
EXTRA_DSO_LDOPTS= \
|
2001-12-18 12:14:29 +03:00
|
|
|
$(LIBS_DIR) \
|
2002-01-01 03:03:57 +03:00
|
|
|
$(EXTRA_DSO_LIBS) \
|
2000-05-02 05:18:46 +04:00
|
|
|
$(MOZ_JS_LIBS) \
|
2003-03-15 04:04:32 +03:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2000-01-06 14:08:52 +03:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
1999-11-02 06:43:10 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
LOCAL_INCLUDES = \
|
1999-11-02 06:43:10 +03:00
|
|
|
-I$(srcdir) \
|
|
|
|
-I$(srcdir)/../base \
|
2003-03-15 04:04:32 +03:00
|
|
|
-I$(topsrcdir)/uriloader/base \
|
|
|
|
-I$(topsrcdir)/uriloader/prefetch \
|
|
|
|
-I$(topsrcdir)/uriloader/exthandler \
|
|
|
|
-I$(topsrcdir)/xpfe/components/shistory/src \
|
1999-11-02 06:43:10 +03:00
|
|
|
$(NULL)
|
2000-04-21 05:14:45 +04:00
|
|
|
|
2003-03-15 04:04:32 +03:00
|
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/uriloader/exthandler/mac
|
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
|
|
$(TK_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2003-03-15 10:12:52 +03:00
|
|
|
OS_LIBS += $(call EXPAND_LIBNAME, shell32)
|
2003-03-15 04:04:32 +03:00
|
|
|
endif
|
|
|
|
|
2003-09-30 02:04:05 +04:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
|
|
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
|
|
|
endif
|