michael@0: # vim:set ts=8 sw=8 sts=8 noet: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # Portions created by the Initial Developer are Copyright (C) 2005 michael@0: # the Initial Developer. All Rights Reserved. michael@0: # michael@0: # Contributor(s): michael@0: # michael@0: # Alternatively, the contents of this file may be used under the terms of michael@0: # either the GNU General Public License Version 2 or later (the "GPL"), or michael@0: # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), michael@0: # in which case the provisions of the GPL or the LGPL are applicable instead michael@0: # of those above. If you wish to allow use of your version of this file only michael@0: # under the terms of either the GPL or the LGPL, and not to allow others to michael@0: # use your version of this file under the terms of the MPL, indicate your michael@0: # decision by deleting the provisions above and replace them with the notice michael@0: # and other provisions required by the GPL or the LGPL. If you do not delete michael@0: # the provisions above, a recipient may use your version of this file under michael@0: # the terms of any one of the MPL, the GPL or the LGPL. michael@0: # michael@0: # ***** END LICENSE BLOCK ***** michael@0: michael@0: # This program is output to dist/host/bin because it is only needed by the michael@0: # build system and is not intended to be included in Mozilla distributions. michael@0: michael@0: ifdef MOZ_NATIVE_BZ2 michael@0: HOST_LIBS += $(MOZ_BZ2_LIBS) michael@0: else michael@0: HOST_LIBS += $(DIST)/host/lib/$(LIB_PREFIX)hostbz2.$(LIB_SUFFIX) michael@0: endif michael@0: michael@0: ifeq ($(HOST_OS_ARCH),WINNT) michael@0: HOST_EXTRA_LIBS += $(call EXPAND_LIBNAME,Ws2_32) michael@0: endif michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: HOST_CXXFLAGS += $(MOZ_BZ2_CFLAGS)