Bug 452317 - FeedConverter.js: QueryInterface should throw NS_ERROR_NO_INTERFACE...
[wine-gecko.git] / toolkit / components / Makefile.in
blob6c219fdb40962cffdb120f569e75cb6cd656b128
1 # ***** BEGIN LICENSE BLOCK *****
2 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 # http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Original Code is the Mozilla Browser code.
16 # The Initial Developer of the Original Code is
17 # Netscape Communications Corporation.
18 # Portions created by the Initial Developer are Copyright (C) 2003
19 # the Initial Developer. All Rights Reserved.
21 # Contributor(s):
22 # Brian Ryner <bryner@brianryner.com>
23 # Benjamin Smedberg <benjamin@smedbergs.us>
25 # Alternatively, the contents of this file may be used under the terms of
26 # either the GNU General Public License Version 2 or later (the "GPL"), or
27 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 # in which case the provisions of the GPL or the LGPL are applicable instead
29 # of those above. If you wish to allow use of your version of this file only
30 # under the terms of either the GPL or the LGPL, and not to allow others to
31 # use your version of this file under the terms of the MPL, indicate your
32 # decision by deleting the provisions above and replace them with the notice
33 # and other provisions required by the GPL or the LGPL. If you do not delete
34 # the provisions above, a recipient may use your version of this file under
35 # the terms of any one of the MPL, the GPL or the LGPL.
37 # ***** END LICENSE BLOCK *****
39 DEPTH = ../..
40 topsrcdir = @top_srcdir@
41 srcdir = @srcdir@
42 VPATH = @srcdir@
44 include $(topsrcdir)/config/config.mk
46 # These component dirs are built for all apps (including suite)
48 ifdef MOZ_ENABLE_XREMOTE
49 DIRS += remote
50 endif
51 DIRS += \
52 urlformatter \
53 contentprefs \
54 microformats \
55 places \
56 apppicker \
57 filepicker \
58 console \
59 exthelper \
60 viewconfig \
61 typeaheadfind \
62 parentalcontrols \
63 $(NULL)
65 ifneq (,$(filter cocoa, $(MOZ_WIDGET_TOOLKIT)))
66 TOOL_DIRS += alerts
67 else
68 DIRS += alerts
69 endif
71 ifdef MOZ_FEEDS
72 DIRS += feeds
73 endif
75 ifdef MOZ_HELP_VIEWER
76 DIRS += help
77 endif
79 ifdef NS_PRINTING
80 DIRS += printing
81 endif
83 ifdef MOZ_VIEW_SOURCE
84 DIRS += viewsource
85 endif
87 ifndef MOZ_SUITE
88 ifndef MOZ_THUNDERBIRD
89 DIRS += search
90 endif
91 endif
93 ifdef MOZ_XUL
94 DIRS += \
95 autocomplete \
96 $(NULL)
97 endif
99 ifndef MOZ_THUNDERBIRD
100 DIRS += \
101 cookie \
102 $(NULL)
104 ifdef MOZ_XUL
105 DIRS += satchel
106 endif # MOZ_XUL
108 ifdef MOZ_SUITE
109 # Suite can't use passwordmgr because mail still depends on wallet (bug 239131)
110 DIRS += passwordmgr/public
111 else
112 DIRS += passwordmgr
113 endif # MOZ_SUITE
114 endif # MOZ_THUNDERBIRD
116 ifndef SUITE_USING_XPFE_DM
117 ifdef MOZ_RDF
118 DIRS += downloads
119 endif
120 endif # SUITE_USING_XPFE_DM
122 ifdef MOZ_URL_CLASSIFIER
123 DIRS += url-classifier
124 endif
126 DIRS += \
127 commandlines \
128 startup \
129 build \
130 $(NULL)
132 EXTRA_PP_COMPONENTS = nsDefaultCLH.js
134 ifeq ($(MOZ_BUILD_APP),camino)
135 DIRS += autocomplete/public
136 DIRS += downloads/public
137 endif
139 include $(topsrcdir)/config/rules.mk