Browse Source

fixup commit for tag 'start'

master start
cvs2hg 14 years ago
commit
9f1ab14aec
  1. 43
      mozilla/.mozconfig
  2. 137
      mozilla/embedding/config/Makefile.in
  3. 413
      mozilla/embedding/config/basebrowser-win
  4. 55
      mozilla/kmeleon/build.mk
  5. 3
      mozilla/kmeleon/config/mozconfig
  6. 1
      mozilla/kmeleon/config/version.txt
  7. 53
      mozilla/kmeleon/confvars.sh
  8. 160
      mozilla/toolkit/components/Makefile.in

43
mozilla/.mozconfig

@ -0,0 +1,43 @@
mk_add_options MOZ_CO_PROJECT=suite
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/RELEASE
ac_add_options --enable-application=kmeleon
ac_add_options --with-user-appdir="K-Meleon"
# code generation options
ac_add_options --enable-optimize='-O1 -Zc:wchar_t'
ac_add_options --enable-debugger-info-modules=yes
ac_add_options --enable-strip
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --disable-logging
ac_add_options --disable-dtd-debug
ac_add_options --disable-native-uconv
#LDFLAGS='-LTCG -OPT:REF -OPT:ICF'
#ac_add_options --disable-optimize
#ac_add_options --enable-debug
#ac_add_options --enable-tests
#ac_add_options --enable-static
#ac_add_options --disable-shared
ac_add_options --enable-crypto
ac_add_options --enable-svg
ac_add_options --disable-ldap
ac_add_options --disable-postscript
ac_add_options --disable-jsd
ac_add_options --enable-composer
ac_add_options --enable-activex
ac_add_options --enable-activex-scripting
ac_add_options --disable-installer
ac_add_options --disable-xprint
ac_add_options --disable-mailnews
ac_add_options --disable-xpinstall
ac_add_options --enable-extensions=xml-rpc,wallet,typeaheadfind
ac_add_options --disable-profilesharing
ac_add_options --disable-updater
ac_add_options --disable-xpfe-components

137
mozilla/embedding/config/Makefile.in

@ -0,0 +1,137 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# 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
# Christopher Blizzard.
# Portions created by the Initial Developer are Copyright (C) 2001
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
BASEBROWSER = basebrowser-mac-macho
CLIENTMANIFEST = client-mac-macho
_PLATFORM = unix
else
ifeq (windows,$(MOZ_WIDGET_TOOLKIT))
BASEBROWSER = basebrowser-win
BASEBROWSER_SUPP = basebrowser-win-supp
CLIENTMANIFEST = client-win
GREMANIFEST = gre-win
GREMANIFEST_SUPP = gre-win-supp
_PLATFORM = dos
else
ifdef MINIMO
BASEBROWSER = minimo-unix
else
BASEBROWSER = basebrowser-unix
endif
CLIENTMANIFEST = client-unix
_PLATFORM = unix
endif
endif
embed_chrome: embed-jar.mn
ifneq (jar,$(MOZ_CHROME_FILE_FORMAT))
$(PERL) -I$(srcdir) $(srcdir)/gen_mn.pl -manifest $(MOZILLA_DIR)/embedding/config/embed-jar.mn -mozpath $(MOZILLA_DIR) -chrome $(DIST)/bin/chrome > embed-tmp.mn
$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-jars.pl -a -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/bin/chrome < embed-tmp.mn
-$(RM) -f embed-tmp.mn
else
-$(RM) -rf $(DIST)/Embed/tmpchrome
for f in $(DIST)/bin/chrome/*.jar; do \
b=`basename $$f | sed -e 's|.jar$$||'` ; \
echo "$$b" ; \
$(NSINSTALL) -D $(DIST)/Embed/tmpchrome/$$b ;\
$(UNZIP) -q -o -d $(DIST)/Embed/tmpchrome/$$b $$f ; \
done
$(PERL) -I$(srcdir) $(srcdir)/gen_mn.pl -manifest $(MOZILLA_DIR)/embedding/config/embed-jar.mn -mozpath $(MOZILLA_DIR) -chrome $(DIST)/Embed/tmpchrome > embed-tmp.mn
$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-jars.pl -a -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/Embed/tmpchrome -z $(ZIP) < embed-tmp.mn
-$(RM) -f embed-tmp.mn
-$(RM) -rf $(DIST)/Embed/tmpchrome
endif
embed_copy::
-mkdir $(DIST)/Embed/defaults/
-mkdir $(DIST)/Embed/defaults/pref
-cp $(srcdir)/all.js $(DIST)/Embed/defaults/pref
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(BASEBROWSER) -o $(_PLATFORM) -v
ifeq ($(OS_ARCH),WINNT)
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(BASEBROWSER_SUPP) -o $(_PLATFORM) -v
endif
if test -f "$(srcdir)/$(CLIENTMANIFEST)"; then \
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(CLIENTMANIFEST) -o $(_PLATFORM) -v; \
fi
$(NSINSTALL) -t $(srcdir)/installed-chrome.txt $(DIST)/Embed/chrome
$(NSINSTALL) -t $(srcdir)/readme.html $(DIST)/Embed
ifndef MINIMO
-$(NSINSTALL) -t $(DEPTH)/embedding/lite/$(LIB_PREFIX)embed_lite$(DLL_SUFFIX) $(DIST)/Embed/components
endif
ifeq ($(OS_ARCH),WINNT)
ifdef MOZ_DEBUG
$(NSINSTALL) -t $(DIST)/bin/windbgdlg.exe $(DIST)/Embed
endif
endif # WINNT
merge_xpt::
$(XPIDL_LINK) $(DIST)/Embed/components/xpt_tmp $(DIST)/Embed/components/*.xpt
$(RM) $(DIST)/Embed/components/*.xpt
mv $(DIST)/Embed/components/xpt_tmp $(DIST)/Embed/components/all.xpt
libs::
$(MAKE) embed_chrome
$(MAKE) embed_copy
ifeq ($(OS_ARCH),WINNT)
gre_copy::
$(PERL) -I$(srcdir) $(srcdir)/gre.pl gre < $(srcdir)/$(BASEBROWSER) > $(MOZILLA_DIR)/embedding/config/gre-win.tmp
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(MOZILLA_DIR)/embedding/config/gre-win.tmp -o $(_PLATFORM) -v
-$(RM) -f $(MOZILLA_DIR)/embedding/config/gre-win.tmp
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(GREMANIFEST) -o $(_PLATFORM) -v
$(PERL) -I$(srcdir) $(srcdir)/gre.pl gre_app_support < $(srcdir)/$(BASEBROWSER_SUPP) > $(MOZILLA_DIR)/embedding/config/gre-win-supp.tmp
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(MOZILLA_DIR)/embedding/config/gre-win-supp.tmp -o $(_PLATFORM) -v
-$(RM) -f $(MOZILLA_DIR)/embedding/config/gre-win-supp.tmp
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(GREMANIFEST_SUPP) -o $(_PLATFORM) -v
$(NSINSTALL) -t $(srcdir)/installed-chrome.txt $(DIST)/gre_app_support/chrome
test -d $(DIST)/gre_app_support/plugins || mkdir $(DIST)/gre_app_support/plugins
test -d $(DIST)/gre_app_support/components || mkdir $(DIST)/gre_app_support/components
gre::
$(MAKE) embed_chrome
$(MAKE) gre_copy
endif # WINNT

413
mozilla/embedding/config/basebrowser-win

@ -0,0 +1,413 @@
; Base Embedding Package File for Win32
;
;
;
[Embed]
;
; Sample App:
;
; Which sample app gets copied is determined in makefile.win
; by the args passed in to it. Both winembed and mfcembed
; are copied by default.
; Run "nmake -f makefile.win APP=winembed" to copy winembed
; Run "nmake -f makefile.win APP=mfcembed" to copy mfcembed
;
; ActiveX control
;
;mozctl.dll
;mozctlx.dll
;
; ActiveX plugin
;
;plugins\npmozax.dll
;components\nsAxSecurityPolicy.js
;
; NSPR:
;
nspr4.dll
plc4.dll
plds4.dll
;
; Javascript:
;
js3250.dll
;
; XPCOM:
;
xpcom.dll
xpcom_core.dll
xpcom_compat.dll
components\xpcom_compat_c.dll
components\xpcom_base.xpt
components\xpcom_components.xpt
components\xpcom_ds.xpt
components\xpcom_io.xpt
components\xpcom_nativeapp.xpt
components\xpcom_thread.xpt
components\xpcom_xpti.xpt
components\mozreg.dll
;components\mozreg.xpt
components\xpcom_obsolete.xpt
; required prefs files
greprefs\*
; xpconnect
components\xpc3250.dll
components\xpconnect.xpt
;
; XP widgets/graphics
;
gkgfx.dll
components\gkgfxthebes.dll
components\gkwidget.dll
components\widget.xpt
components\gfx.xpt
thebes.dll
; layout
moz_art_lgpl.dll
components\gklayout.dll
components\gkparser.dll
components\layout_base.xpt
components\layout_printing.xpt
components\layout_xul.xpt
components\layout_xul_tree.xpt
components\content_base.xpt
components\content_html.xpt
components\content_htmldoc.xpt
components\content_xmldoc.xpt
components\content_xslt.xpt
components\content_xtf.xpt
res\dtd\xhtml11.dtd
;
; Imaging:
;
mozz.dll
components\imglib2.dll
components\imgicon.xpt
components\imglib2.xpt
components\imgicon.dll
mozlcms.dll
;
; Components: (need to trim fat)
;
; accessibility (out of process API support)
; see http://www.mozilla.org/projects/ui/accessibility/vendors-win.html
components\accessibility.dll
components\accessibility.xpt
components\accessibility-msaa.xpt
AccessibleMarshal.dll
; caps (JavaScript security)
components\caps.dll
components\caps.xpt
; cookies
components\cookie.dll
components\cookie.xpt
; embedding glue:
; appshell, docshell, uriloader, chrome, components
components\appshell.dll
components\appshell.xpt
components\docshell.dll
components\docshell_base.xpt
components\uriloader.xpt
components\chrome.dll
components\chrome.xpt
components\webbrwsr.dll
components\webBrowser_core.xpt
components\embedcomponents.dll
components\windowwatcher.xpt
components\embed_base.xpt
; jar
components\jar50.dll
components\jar.xpt
; prefs
components\pref.xpt
components\xppref32.dll
; profile
components\profile.dll
components\profile.xpt
; profile sharing - optional
mozilla-ipcd.exe
ipc\modules\lockmodule.dll
ipc\modules\transmgr.dll
components\ipcdc.dll
; session history
components\shistory.xpt
; optional typeaheadfind
; (docs at http://www.mozilla.org/projects/ui/accessibility/typeaheadfind.html)
components\typeaheadfind.dll
components\typeaheadfind.xpt
; rdf
components\rdf.dll
components\rdf.xpt
; required l10n resources
res\language.properties
res\langGroups.properties
res\charsetData.properties
res\charsetalias.properties
res\wincharset.properties
; res\strres.properties
; required i18n libraries
components\i18n.dll
components\chardet.dll
components\intl.xpt
components\locale.xpt
components\uconv.dll
components\uconv.xpt
components\unicharutil.xpt
components\universalchardet.dll
components\chardet.xpt
components\intlcmpt.dll
components\intlcmpt.xpt
components\lwbrk.xpt
; dom
components\dom.xpt
components\dom_base.xpt
components\dom_canvas.xpt
components\dom_core.xpt
components\dom_css.xpt
components\dom_events.xpt
components\dom_html.xpt
components\dom_loadsave.xpt
components\dom_range.xpt
components\dom_sidebar.xpt
components\dom_stylesheets.xpt
components\dom_svg.xpt
components\dom_traversal.xpt
components\dom_views.xpt
components\dom_xbl.xpt
components\dom_xpath.xpt
components\dom_xul.xpt
components\gksvgrenderer.xpt
; editor
components\editor.dll
components\editor.xpt
; find functionality
; Optional - only if your code uses nsIWebBrowserFind
components\txtsvc.xpt
; netwerk
components\necko.dll
components\necko.xpt
components\necko_about.xpt
components\necko_data.xpt
components\necko_dns.xpt
components\necko_ftp.xpt
components\necko_http.xpt
components\necko_res.xpt
components\necko_socket.xpt
components\necko_strconv.xpt
; cache
components\necko_cache.xpt
; optional for gopher/viewsource/etc support
components\necko2.dll
; plugins
; Optional - only if you need plugin support
components\gkplugin.dll
components\plugin.xpt
plugins\npnul32.dll
; wallet
; Optional - only if you need password persistence
components\wallet.dll
components\wallet.xpt
; download progress
; Optional - you can implement your own download progress dialog
; then this is no longer required
;components\nsProgressDialog.js
;components\nsHelperAppDlg.js
;components\nsDownloadProgressListener.js
; psm2
; Optional - only if you need HTTPS support
components\pipboot.dll
components\pipboot.xpt
components\pipnss.dll
components\pipnss.xpt
components\pippki.dll
components\pippki.xpt
nssutil3.dll
sqlite3.dll
nss3.dll
smime3.dll
softokn3.chk
softokn3.dll
freebl3.chk
freebl3.dll
ssl3.dll
nssckbi.dll
nssdbm3.dll
; xmlextras, optional for XMLHttpRequest support
components\xmlextras.dll
components\xmlextras.xpt
;
; res:
;
res\html.css
res\quirk.css
res\viewsource.css
res\hiddenWindow.html
res\ua.css
res\forms.css
res/contenteditable.css
res/designmode.css
res\arrow.gif
res\arrowd.gif
res\loading-image.gif
res\broken-image.gif
res\entityTables\html40Special.properties
res\entityTables\htmlEntityVersions.properties
res\entityTables\html40Latin1.properties
res\entityTables\html40Symbols.properties
res\entityTables\transliterate.properties
res\fonts\fontEncoding.properties
res\fonts\fontNameMap.properties
res\entityTables\transliterate.properties
; needed for ftp:// dir listings etc
res\html\folder.png
;
; MathML, optional for MathML charset conversion
;
components\ucvmath.dll
res\mathml.css
res\dtd\mathml.dtd
res\entityTables\mathml20.properties
res\fonts\mathfont.properties
res\fonts\mathfontStandardSymbolsL.properties
res\fonts\mathfontSTIXNonUnicode.properties
res\fonts\mathfontSTIXSize1.properties
res\fonts\mathfontUnicode.properties
res\fonts\mathfontSymbol.properties
; SVG
res\svg.css
; permissions
components\cookie.dll
components\perms.dll
;
; wallet
;
defaults\wallet\DistinguishedSchema.tbl
defaults\wallet\FieldSchema.tbl
defaults\wallet\VcardSchema.tbl
defaults\wallet\SchemaConcat.tbl
defaults\wallet\SchemaStrings.tbl
defaults\wallet\PositionalSchema.tbl
defaults\wallet\StateSchema.tbl
;
; oji/LiveConnect support
;
components\oji.dll
components\oji.xpt
jsj3250.dll
;
; Type info support for nsIController
;
components\xuldoc.xpt
;
; history
;
components\history.xpt
components\tkhstory.dll
components\mork.dll
components\autocomplete.xpt
;
; html parser
;
components\htmlparser.xpt
;
; imagelib
;
components\imgbmp.dll
components\imgxbm.dll
components\imgicon.dll
components\imgicon.xpt
components\imglib2.xpt
;
; l10n libraries
;
components\universalchardet.dll
components\chardet.xpt
;
; necko xpts
;
components\necko_cookie.xpt
components\necko_file.xpt
components\necko_viewsource.xpt
;
; webbrowserpersist
;
components\webbrowserpersist.xpt
;
; xml
;
components\xmlextras.dll
components\xmlextras.xpt
components\xml-rpc.xpt
; xslt
components\transformiix.dll
; txmgr (search in about:config?)
components\txmgr.dll
components\txmgr.xpt
components\autoconfig.dll
components\autoconfig.xpt
components\exthandler.xpt
components\nsProxyAutoConfig.js
components\mimetype.xpt
components\prefetch.xpt
components\webshell_idls.xpt
components\composer.dll
components\composer.xpt

55
mozilla/kmeleon/build.mk

@ -0,0 +1,55 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# 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 build system.
#
# The Initial Developer of the Original Code is
# the Mozilla Foundation <http://www.mozilla.org/>.
# Portions created by the Initial Developer are Copyright (C) 2006
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Benjamin Smedberg <benjamin@smedbergs.us> (Initial Code)
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
ifndef LIBXUL_SDK
include $(topsrcdir)/toolkit/toolkit-tiers.mk
endif
TIERS += app
ifdef MOZ_EXTENSIONS
tier_app_dirs += extensions
endif
ifdef MOZ_BRANDING_DIRECTORY
tier_app_dirs += $(MOZ_BRANDING_DIRECTORY)
endif
tier_app_dirs += \
profile \
embedding/config \
$(NULL)

3
mozilla/kmeleon/config/mozconfig

@ -0,0 +1,3 @@
mk_add_options MOZ_CO_PROJECT=suite
ac_add_options --enable-application=kmeleon

1
mozilla/kmeleon/config/version.txt

@ -0,0 +1 @@
1.5.0pre

53
mozilla/kmeleon/confvars.sh

@ -0,0 +1,53 @@
#! /bin/sh
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# 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 Mozilla Build System
#
# The Initial Developer of the Original Code is
# Ben Turner <mozilla@songbirdnest.com>
#
# Portions created by the Initial Developer are Copyright (C) 2007
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
MOZ_APP_NAME=K-Meleon
MOZ_APP_DISPLAYNAME=K-Meleon
MOZ_APP_VERSION=$MOZILLA_VERSION
MOZ_NO_XPCOM_OBSOLETE=1
MOZ_EXTENSIONS_DEFAULT="wallet xml-rpc typeaheadfind"
MOZ_XUL_APP=
MOZ_DISABLE_PARENTAL_CONTROLS=1
MOZ_PREF_EXTENSIONS=
MOZ_WEBSERVICES=
ACCESSIBILITY=
MOZ_JSDEBUGGER=
MOZ_PROFILESHARING=
MOZ_UNIVERSALCHARDET=1
MOZ_CRASHREPORTER=
MOZ_PLACES=

160
mozilla/toolkit/components/Makefile.in

@ -0,0 +1,160 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# 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 code.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 2003
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Brian Ryner <bryner@brianryner.com>
# Benjamin Smedberg <benjamin@smedbergs.us>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
# These component dirs are built for all apps (including suite)
ifdef MOZ_ENABLE_XREMOTE
DIRS += remote
endif
DIRS += \
urlformatter \
contentprefs \
microformats \
$(NULL)
# These component dirs are built only for XUL apps
ifdef MOZ_XUL_APP
DIRS += \
apppicker \
filepicker \
console \
exthelper \
viewconfig \
typeaheadfind \
parentalcontrols \
$(NULL)
ifneq (,$(filter cocoa, $(MOZ_WIDGET_TOOLKIT)))
TOOL_DIRS += alerts
else
DIRS += alerts
endif
ifdef MOZ_FEEDS
DIRS += feeds
endif
ifdef MOZ_HELP_VIEWER
DIRS += help
endif
ifdef MOZ_PLACES
DIRS += places
endif
ifdef NS_PRINTING
DIRS += printing
endif
ifdef MOZ_VIEW_SOURCE
DIRS += viewsource
endif
ifdef MOZ_THUNDERBIRD
DIRS += autocomplete/public
else
DIRS += \
cookie \
$(NULL)
ifdef MOZ_XUL
DIRS += \
autocomplete \
satchel \
$(NULL)
endif # MOZ_XUL
ifdef MOZ_SUITE
# Suite can't use passwordmgr because mail still depends on wallet (bug 239131)
DIRS += passwordmgr/public
else
DIRS += passwordmgr
ifndef MOZ_PLACES
DIRS += history
endif # MOZ_PLACES
endif # MOZ_SUITE
endif # MOZ_THUNDERBIRD
ifndef MOZ_SUITE
# XXX Suite doesn't want these just yet
ifdef MOZ_RDF
DIRS += downloads
endif
endif # MOZ_SUITE
ifdef MOZ_URL_CLASSIFIER
DIRS += url-classifier
endif
DIRS += \
commandlines \
startup \
build \
$(NULL)
EXTRA_PP_COMPONENTS = nsDefaultCLH.js
endif # MOZ_XUL_APP
ifeq ($(MOZ_BUILD_APP),camino)
DIRS += autocomplete/public
DIRS += downloads/public
endif
ifeq ($(MOZ_BUILD_APP),kmeleon)
DIRS += autocomplete/public
DIRS += history
ifdef MOZ_XUL
DIRS += downloads/public
DIRS += viewsource
DIRS += viewconfig
DIRS += passwordmgr
DIRS += autocomplete
EXPORTS = build\nsToolkitCompsCID.h
endif
endif
include $(topsrcdir)/config/rules.mk
Loading…
Cancel
Save