Bug 732976 - SingleSourceFactory should generate checksums file. r=ted
[gecko.git] / xulrunner / build.mk
bloba31f558d474cc5c9fb5db8afc5827ca11839f785
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 build system.
16 # The Initial Developer of the Original Code is
17 # the Mozilla Foundation <http://www.mozilla.org/>.
18 # Portions created by the Initial Developer are Copyright (C) 2006
19 # the Initial Developer. All Rights Reserved.
21 # Contributor(s):
22 # Benjamin Smedberg <benjamin@smedbergs.us> (Initial Code)
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 2 or later (the "GPL"), or
26 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
38 include $(topsrcdir)/toolkit/toolkit-tiers.mk
40 TIERS += app
42 ifdef MOZ_EXTENSIONS
43 tier_app_dirs += extensions
44 endif
46 # winEmbed
47 ifeq ($(OS_ARCH),WINNT)
48 ifneq (,$(ENABLE_TESTS)$(MOZILLA_OFFICIAL))
49 tier_app_dirs += embedding/tests/winEmbed
50 endif
51 endif
53 tier_app_dirs += xulrunner
55 installer:
56 @echo "XULRunner doesn't have an installer yet."
58 package:
59 @$(MAKE) -C xulrunner/installer
61 install:
62 @$(MAKE) -C xulrunner/installer install
64 sdk:
65 @$(MAKE) -C xulrunner/installer make-sdk
67 distclean::
68 @$(MAKE) -C xulrunner/installer distclean
70 source-package::
71 @$(MAKE) -C xulrunner/installer source-package
73 upload::
74 @$(MAKE) -C xulrunner/installer upload
76 source-upload::
77 @$(MAKE) -C xulrunner/installer source-upload
79 hg-bundle::
80 @$(MAKE) -C xulrunner/installer hg-bundle
82 ifeq ($(OS_TARGET),Linux)
83 deb: package
84 @$(MAKE) -C xulrunner/installer deb
85 endif