 |
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 AllPeers Limited
16 #
17 # The Initial Developer of the Original Code is
18 # AllPeers Limited.
19 # Portions created by the Initial Developer are Copyright (C) 2007
20 # the Initial Developer. All Rights Reserved.
21 #
22 # Contributor(s):
23 #
24 # Alternatively, the contents of this file may be used under the terms of
25 # either of the GNU General Public License Version 2 or later (the "GPL"),
26 # or 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.
35 #
36 # ***** END LICENSE BLOCK *****
37
38 DEPTH = ../..
39 topsrcdir = @top_srcdir@
40 srcdir = @srcdir@
41 VPATH = @srcdir@
42
43 MOZ_XULRUNNER = @MOZ_XULRUNNER@
44
45 include $(DEPTH)/config/autoconf.mk
46
47 MODULE = allpeers
48
49 DIRS = \
50 log \
51 core \
52 security \
53 xml \
54 ipfilter \
55 network \
56 upnp \
57 p2p \
58 netstate \
59 stun \
60 http \
61 xmpp \
62 resource \
63 file \
64 database \
65 netresource \
66 workbench \
67 protocol \
68 bittorrent \
69 mail \
70 storageinspector \
71 chat \
72 peer \
73 externalstorage \
74 $(NULL)
75
76 ifdef MOZ_STATIC_ALLPEERS_BUILD
77 DIRS += build
78 endif
79
80 ifdef MOZ_XULRUNNER
81 DIRS += xulrunner \
82 ipc \
83 $(NULL)
84 endif
85
86 XPI_NAME = allpeers
87 USE_EXTENSION_MANIFEST = 1
88 INSTALL_EXTENSION_ID = allpeers@allpeers.com
89 XPI_PKGNAME = allpeers
90
91 DIST_FILES = install.rdf
92
93 include $(topsrcdir)/config/rules.mk
94
95 libs::
96 if test ! -d $(FINAL_TARGET)/allpeers; then \
97 $(NSINSTALL) -D $(FINAL_TARGET)/allpeers; \
98 fi
99
100 if test ! -d $(FINAL_TARGET)/defaults/preferences; then \
101 $(NSINSTALL) -D $(FINAL_TARGET)/defaults/preferences; \
102 fi
103
104 if test ! -d $(FINAL_TARGET)/allpeers/schemas; then $(NSINSTALL) -D $(FINAL_TARGET)/allpeers/schemas; fi
105
106 if test ! -d $(FINAL_TARGET)/allpeers/licenses; then $(NSINSTALL) -D $(FINAL_TARGET)/allpeers/licenses; fi
107 $(INSTALL) $(srcdir)/licenses/*.* $(FINAL_TARGET)/allpeers/licenses
108
109 ifdef MOZ_DEBUG
110 ifdef AP_RELASE_CERTIFICATES
111 $(INSTALL) $(srcdir)/defaults/release/*.* $(FINAL_TARGET)/defaults/preferences
112 else
113 $(INSTALL) $(srcdir)/defaults/debug/*.* $(FINAL_TARGET)/defaults/preferences
114 endif
115 else
116 $(INSTALL) $(srcdir)/defaults/release/*.* $(FINAL_TARGET)/defaults/preferences
117 endif
This page was automatically generated by
LXR.