2007-03-22 10:30:00 -07:00
|
|
|
# ***** 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 *****
|
|
|
|
|
2009-11-13 11:40:00 -08:00
|
|
|
DEPTH = ../..
|
2007-03-22 10:30:00 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
2009-11-13 11:40:00 -08:00
|
|
|
VPATH = @srcdir@
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2008-07-06 13:37:07 -07:00
|
|
|
include $(topsrcdir)/config/config.mk
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
# These component dirs are built for all apps (including suite)
|
|
|
|
|
|
|
|
ifdef MOZ_ENABLE_XREMOTE
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += remote
|
2007-03-22 10:30:00 -07:00
|
|
|
endif
|
2009-11-13 11:40:00 -08:00
|
|
|
|
|
|
|
PARALLEL_DIRS += \
|
|
|
|
aboutmemory \
|
|
|
|
apppicker \
|
|
|
|
commandlines \
|
|
|
|
console \
|
|
|
|
contentprefs \
|
|
|
|
cookie \
|
|
|
|
exthelper \
|
|
|
|
filepicker \
|
2010-04-29 11:35:39 -07:00
|
|
|
find \
|
2009-11-13 11:40:00 -08:00
|
|
|
microformats \
|
|
|
|
parentalcontrols \
|
|
|
|
passwordmgr \
|
2010-07-30 12:17:56 -07:00
|
|
|
perf \
|
2009-11-13 11:40:00 -08:00
|
|
|
places \
|
2010-06-14 14:00:21 -07:00
|
|
|
prompts \
|
2009-11-13 11:40:00 -08:00
|
|
|
startup \
|
2010-03-03 03:19:57 -08:00
|
|
|
statusfilter \
|
2009-11-13 11:40:00 -08:00
|
|
|
typeaheadfind \
|
|
|
|
urlformatter \
|
|
|
|
viewconfig \
|
2010-10-15 11:16:45 -07:00
|
|
|
webapps \
|
2009-11-13 11:40:00 -08:00
|
|
|
$(NULL)
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-04-02 13:16:51 -07:00
|
|
|
ifdef BUILD_CTYPES
|
|
|
|
PARALLEL_DIRS += \
|
|
|
|
ctypes \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2007-05-02 13:16:31 -07:00
|
|
|
ifneq (,$(filter cocoa, $(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
TOOL_DIRS += alerts
|
|
|
|
else
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += alerts
|
2007-05-02 13:16:31 -07:00
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
ifdef MOZ_FEEDS
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += feeds
|
2007-03-22 10:30:00 -07:00
|
|
|
endif
|
|
|
|
|
2008-03-24 10:18:38 -07:00
|
|
|
ifdef MOZ_HELP_VIEWER
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += help
|
2008-03-24 10:18:38 -07:00
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
ifdef NS_PRINTING
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += printing
|
2007-03-22 10:30:00 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_VIEW_SOURCE
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += viewsource
|
2007-03-22 10:30:00 -07:00
|
|
|
endif
|
|
|
|
|
2008-09-24 09:54:14 -07:00
|
|
|
ifdef MOZ_XUL
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += \
|
2009-09-03 12:25:22 -07:00
|
|
|
autocomplete \
|
|
|
|
satchel \
|
|
|
|
$(NULL)
|
2008-09-24 09:54:14 -07:00
|
|
|
endif
|
|
|
|
|
2010-02-21 21:51:18 -08:00
|
|
|
ifdef MOZ_TOOLKIT_SEARCH
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += search
|
2009-06-11 01:23:04 -07:00
|
|
|
endif
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
ifdef MOZ_RDF
|
2010-04-29 11:35:39 -07:00
|
|
|
PARALLEL_DIRS += \
|
|
|
|
downloads \
|
|
|
|
intl \
|
|
|
|
$(NULL)
|
2007-03-22 10:30:00 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_URL_CLASSIFIER
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += url-classifier
|
2007-03-22 10:30:00 -07:00
|
|
|
endif
|
|
|
|
|
2009-08-22 00:13:49 -07:00
|
|
|
ifdef MOZ_FASTSTART
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += faststart
|
2009-08-22 00:13:49 -07:00
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
DIRS += \
|
2009-11-13 11:40:00 -08:00
|
|
|
build \
|
|
|
|
$(NULL)
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
EXTRA_PP_COMPONENTS = nsDefaultCLH.js
|
2010-06-22 09:59:15 -07:00
|
|
|
EXTRA_COMPONENTS = nsDefaultCLH.manifest
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|