extensions/spellcheck/hunspell/src/Makefile.in
author Gregory Szorc <gps@mozilla.com>
Wed, 28 Jan 2015 13:37:00 -0800
branchCAL170_20121012_RELBRANCH
changeset 110539 95d65385e289290923953dd2711c53e8561cbfce
parent 107410 ec30d0346e92b15b605bfabe1b4eadf448d442d8
permissions -rw-r--r--
Close old release branch CAL170_20121012_RELBRANCH

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

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

include $(DEPTH)/config/autoconf.mk

MODULE           = hunspell
LIBRARY_NAME     = hunspell_s
FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY   = 1


CPPSRCS          = mozHunspell.cpp \
                   mozHunspellDirProvider.cpp \
                   $(NULL)

ifndef MOZ_NATIVE_HUNSPELL
CPPSRCS         += affentry.cpp \
                   affixmgr.cpp \
                   csutil.cpp \
                   dictmgr.cpp \
                   filemgr.cpp \
                   hashmgr.cpp \
                   hunspell.cpp \
                   hunzip.cpp \
                   phonet.cpp \
                   replist.cpp \
                   suggestmgr.cpp \
                   $(NULL)

# This variable is referenced in configure.in.  Make sure to change that file
# too if you need to change this variable.
DEFINES = -DHUNSPELL_STATIC
endif

include $(topsrcdir)/config/rules.mk

INCLUDES        += -I$(topsrcdir)/extensions/spellcheck/src

ifdef MOZ_NATIVE_HUNSPELL
CXXFLAGS += $(MOZ_HUNSPELL_CFLAGS)
endif

LOCAL_INCLUDES += \
	-I$(topsrcdir)/editor/libeditor/base \
	$(NULL)