summaryrefslogtreecommitdiff
path: root/providers/Makefile.am
blob: c5eeb75fc1fa9d0ae6d5f8d22c8945ca09b19acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
EXTRA_DIST =			\
	AppleSpell.config

provider_LTLIBRARIES =
providerdir = $(pkglibdir)-@ENCHANT_MAJOR_VERSION@

AM_CPPFLAGS = -I$(top_srcdir) $(ISYSTEM)$(top_builddir)/lib $(ISYSTEM)$(top_srcdir)/lib -I$(top_srcdir)/src $(ENCHANT_CFLAGS)  -D_ENCHANT_BUILD=1
AM_CFLAGS = $(WARN_CFLAGS)
AM_CXXFLAGS = $(WARN_CXXFLAGS)
AM_LDFLAGS = -module -avoid-version -no-undefined $(ENCHANT_LIBS) $(top_builddir)/src/libenchant-@ENCHANT_MAJOR_VERSION@.la $(top_builddir)/lib/libgnu.la

if WITH_ASPELL
provider_LTLIBRARIES += enchant_aspell.la
endif

if WITH_HSPELL
provider_LTLIBRARIES += enchant_hspell.la
endif

if WITH_HUNSPELL
provider_LTLIBRARIES += enchant_hunspell.la
endif
enchant_hunspell_la_CXXFLAGS = $(AM_CXXFLAGS) $(HUNSPELL_CFLAGS)
enchant_hunspell_la_LIBADD = $(HUNSPELL_LIBS)
enchant_hunspell_la_SOURCES = enchant_hunspell.cpp

if WITH_VOIKKO
provider_LTLIBRARIES += enchant_voikko.la
endif
enchant_voikko_la_CXXFLAGS = $(AM_CXXFLAGS) $(VOIKKO_CFLAGS)
enchant_voikko_la_LIBADD = $(VOIKKO_LIBS)

if WITH_ZEMBEREK
provider_LTLIBRARIES += enchant_zemberek.la
endif
enchant_zemberek_la_CXXFLAGS = $(AM_CXXFLAGS) $(ZEMBEREK_CFLAGS)
enchant_zemberek_la_LIBADD = $(ZEMBEREK_LIBS)
enchant_zemberek_la_SOURCES = enchant_zemberek.cpp

if WITH_APPLESPELL
provider_LTLIBRARIES += enchant_applespell.la
pkgdata_DATA = AppleSpell.config
endif
enchant_applespell_la_LIBTOOLFLAGS = $(AM_LIBTOOLFLAGS) --tag=CXX
enchant_applespell_la_OBJCXXFLAGS = $(AM_OBJCXXFLAGS)
enchant_applespell_la_SOURCES = applespell_checker.mm