|
1 # vim:set ts=8 sw=8 sts=8 noet: |
|
2 # This Source Code Form is subject to the terms of the Mozilla Public |
|
3 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 |
|
6 # Portions created by the Initial Developer are Copyright (C) 2005 |
|
7 # the Initial Developer. All Rights Reserved. |
|
8 # |
|
9 # Contributor(s): |
|
10 # |
|
11 # Alternatively, the contents of this file may be used under the terms of |
|
12 # either the GNU General Public License Version 2 or later (the "GPL"), or |
|
13 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
|
14 # in which case the provisions of the GPL or the LGPL are applicable instead |
|
15 # of those above. If you wish to allow use of your version of this file only |
|
16 # under the terms of either the GPL or the LGPL, and not to allow others to |
|
17 # use your version of this file under the terms of the MPL, indicate your |
|
18 # decision by deleting the provisions above and replace them with the notice |
|
19 # and other provisions required by the GPL or the LGPL. If you do not delete |
|
20 # the provisions above, a recipient may use your version of this file under |
|
21 # the terms of any one of the MPL, the GPL or the LGPL. |
|
22 # |
|
23 # ***** END LICENSE BLOCK ***** |
|
24 |
|
25 # This program is output to dist/host/bin because it is only needed by the |
|
26 # build system and is not intended to be included in Mozilla distributions. |
|
27 |
|
28 ifdef MOZ_NATIVE_BZ2 |
|
29 HOST_LIBS += $(MOZ_BZ2_LIBS) |
|
30 else |
|
31 HOST_LIBS += $(DIST)/host/lib/$(LIB_PREFIX)hostbz2.$(LIB_SUFFIX) |
|
32 endif |
|
33 |
|
34 ifeq ($(HOST_OS_ARCH),WINNT) |
|
35 HOST_EXTRA_LIBS += $(call EXPAND_LIBNAME,Ws2_32) |
|
36 endif |
|
37 |
|
38 include $(topsrcdir)/config/rules.mk |
|
39 |
|
40 HOST_CXXFLAGS += $(MOZ_BZ2_CFLAGS) |