bug 607939 - fail to opened a URL / link from another application after launching...
[mozilla-central.git] / xulrunner / build.mk
blobc50bf1efaa09262f4bf030fe6694533932a2eec8
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 # axcontrol
47 ifndef LIBXUL_SDK
48 ifeq ($(OS_ARCH),WINNT)
49 ifndef MOZ_NO_ACTIVEX_SUPPORT
50 tier_app_dirs += \
51 embedding/browser/activex/src/control \
52 embedding/browser/activex/src/control_kicker \
53 $(NULL)
54 endif # MOZ_NO_ACTIVEX_SUPPORT
55 endif # WINNT
56 endif # LIBXUL_SDK
58 # winembed, mfcembed
59 ifeq ($(OS_ARCH),WINNT)
60 ifneq (,$(ENABLE_TESTS)$(MOZILLA_OFFICIAL))
61 tier_app_dirs += embedding/tests
62 endif
63 endif
65 ifdef MOZ_JAVAXPCOM
66 tier_app_dirs += extensions/java
67 endif
69 tier_app_dirs += xulrunner
71 installer:
72 @echo "XULRunner doesn't have an installer yet."
74 package:
75 @$(MAKE) -C xulrunner/installer
77 install:
78 @$(MAKE) -C xulrunner/installer install
80 sdk:
81 @$(MAKE) -C xulrunner/installer make-sdk
83 distclean::
84 @$(MAKE) -C xulrunner/installer distclean
86 upload::
87 @$(MAKE) -C xulrunner/installer upload
89 ifeq ($(OS_TARGET),Linux)
90 deb: package
91 @$(MAKE) -C xulrunner/installer deb
92 endif