1 | # |
---|
2 | # ***** BEGIN LICENSE BLOCK ***** |
---|
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
---|
4 | # |
---|
5 | # The contents of this file are subject to the Mozilla Public License Version |
---|
6 | # 1.1 (the "License"); you may not use this file except in compliance with |
---|
7 | # the License. You may obtain a copy of the License at |
---|
8 | # http://www.mozilla.org/MPL/ |
---|
9 | # |
---|
10 | # Software distributed under the License is distributed on an "AS IS" basis, |
---|
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
---|
12 | # for the specific language governing rights and limitations under the |
---|
13 | # License. |
---|
14 | # |
---|
15 | # The Original Code is Mozilla Communicator client code, released |
---|
16 | # March 31, 1998. |
---|
17 | # |
---|
18 | # The Initial Developer of the Original Code is |
---|
19 | # Netscape Communications Corporation. |
---|
20 | # Portions created by the Initial Developer are Copyright (C) 1998 |
---|
21 | # the Initial Developer. All Rights Reserved. |
---|
22 | # |
---|
23 | # Contributor(s): |
---|
24 | # Daniel Veditz <dveditz@netscape.com> |
---|
25 | # Douglas Turner <dougt@netscape.com> |
---|
26 | # Samir Gehani <sgehani@netscape.com> |
---|
27 | # |
---|
28 | # Alternatively, the contents of this file may be used under the terms of |
---|
29 | # either of the GNU General Public License Version 2 or later (the "GPL"), |
---|
30 | # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
---|
31 | # in which case the provisions of the GPL or the LGPL are applicable instead |
---|
32 | # of those above. If you wish to allow use of your version of this file only |
---|
33 | # under the terms of either the GPL or the LGPL, and not to allow others to |
---|
34 | # use your version of this file under the terms of the MPL, indicate your |
---|
35 | # decision by deleting the provisions above and replace them with the notice |
---|
36 | # and other provisions required by the GPL or the LGPL. If you do not delete |
---|
37 | # the provisions above, a recipient may use your version of this file under |
---|
38 | # the terms of any one of the MPL, the GPL or the LGPL. |
---|
39 | # |
---|
40 | # ***** END LICENSE BLOCK ***** |
---|
41 | |
---|
42 | DEPTH = .. |
---|
43 | topsrcdir = @top_srcdir@ |
---|
44 | srcdir = @srcdir@ |
---|
45 | VPATH = @srcdir@ |
---|
46 | |
---|
47 | include $(DEPTH)/config/autoconf.mk |
---|
48 | |
---|
49 | MODULE = xpinstall |
---|
50 | DIRS = public src stub cleanup |
---|
51 | |
---|
52 | ifndef MOZ_XUL_APP |
---|
53 | DIRS += res |
---|
54 | endif |
---|
55 | |
---|
56 | ifdef MOZ_INSTALLER |
---|
57 | DIRS += wizard/libxpnet |
---|
58 | ifdef MOZ_ENABLE_GTK |
---|
59 | DIRS += wizard/unix/src2 |
---|
60 | endif |
---|
61 | ifeq ($(OS_ARCH),WINNT) |
---|
62 | DIRS += wizard/windows |
---|
63 | endif |
---|
64 | ifeq ($(OS_ARCH),OS2) |
---|
65 | DIRS += wizard/os2 |
---|
66 | endif |
---|
67 | endif |
---|
68 | |
---|
69 | include $(topsrcdir)/config/rules.mk |
---|
70 | |
---|
71 | packages: |
---|
72 | $(MAKE) -C packager |
---|
73 | |
---|
74 | installer: packages |
---|
75 | ifeq ($(OS_ARCH),Linux) |
---|
76 | $(MAKE) -C packager/unix |
---|
77 | endif |
---|
78 | ifeq ($(OS_ARCH),WINNT) |
---|
79 | $(MAKE) -C wizard/windows/builder |
---|
80 | endif |
---|
81 | |
---|
82 | |
---|