gfx/harfbuzz/src/Makefile.in
author Jonathan Kew <jkew@mozilla.com>
Thu, 18 Oct 2012 15:44:21 +0100
changeset 110669 83d4508b92d318a2d0c7cc919983d3750580105e
parent 102715 9dc6b1b9db8e0a2d59d483e5cd075395b5ba25c8
child 113649 be3a0b4edebdbf2cf4c3c089671f0189bc53c6c9
permissions -rw-r--r--
bug 802223 - suppress harfbuzz build warning that isn't relevant to our usage. r=jdaggett

#
# Copyright (C) 2010  Mozilla Foundation
#
#  This is used to integrate the HarfBuzz library with the Mozilla build.
#
# Permission is hereby granted, without written agreement and without
# license or royalty fees, to use, copy, modify, and distribute this
# software and its documentation for any purpose, provided that the
# above copyright notice and the following two paragraphs appear in
# all copies of this software.
#
# IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
# IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
# DAMAGE.
#
# THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
# ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
# PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
# Mozilla author(s): Jonathan Kew
#


DEPTH     = @DEPTH@
topsrcdir = @top_srcdir@
srcdir    = @srcdir@
VPATH     = @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE         = harfbuzz
LIBRARY_NAME   = mozharfbuzz
ifneq ($(OS_ARCH),WINNT)
LIBXUL_LIBRARY = 1
endif

CPPSRCS	=                        \
  hb-blob.cc                     \
  hb-buffer.cc                   \
  hb-common.cc                   \
  hb-fallback-shape.cc           \
  hb-font.cc                     \
  hb-ot-layout.cc                \
  hb-ot-map.cc                   \
  hb-ot-shape-complex-arabic.cc  \
  hb-ot-shape-complex-indic.cc   \
  hb-ot-shape-complex-misc.cc    \
  hb-ot-shape-fallback.cc        \
  hb-ot-shape-normalize.cc       \
  hb-ot-shape.cc                 \
  hb-ot-tag.cc                   \
  hb-set.cc                      \
  hb-shape.cc                    \
  hb-shape-plan.cc               \
  hb-shaper.cc                   \
  hb-unicode.cc                  \
  hb-warning.cc                  \
  $(NULL)

EXPORTS_NAMESPACES = harfbuzz

EXPORTS_harfbuzz = \
  hb.h             \
  hb-blob.h        \
  hb-buffer.h      \
  hb-common.h      \
  hb-font.h        \
  hb-ot.h          \
  hb-ot-layout.h   \
  hb-ot-tag.h      \
  hb-set.h         \
  hb-shape.h       \
  hb-shape-plan.h  \
  hb-unicode.h     \
  hb-version.h     \
  $(NULL)

LOCAL_INCLUDES  += -I$(srcdir) 

FORCE_STATIC_LIB = 1

include $(topsrcdir)/config/rules.mk

DEFINES += -DPACKAGE_VERSION="\"moz\""
DEFINES += -DPACKAGE_BUGREPORT="\"http://bugzilla.mozilla.org/\""
DEFINES += -DHAVE_OT=1 -DHB_NO_MT -DHB_NO_UNICODE_FUNCS

# Cancel the effect of the -DDEBUG macro if present,
# because harfbuzz uses that name for its own purposes
COMPILE_CXXFLAGS += -UDEBUG