summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 09804150ce0e2d39a4af3593616c9325be5a283d (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
INCLUDES=-I$(top_srcdir)/src $(ENCHANT_CFLAGS)

EXTRA_DIST=test.pwl ispell.in

DEPS= $(top_builddir)/src/libenchant.la
ldadd= $(top_builddir)/src/libenchant.la  $(ENCHANT_LIBS)

if WITH_CXX
cxx_progs = test-enchantxx
else
cxx_progs =
endif

noinst_PROGRAMS = test-enchant $(cxx_progs)
bin_PROGRAMS= enchant-lsmod enchant

test_enchant_SOURCES = test-enchant.c
test_enchant_LDFLAGS =
test_enchant_DEPENDENCIES = $(DEPS)
test_enchant_LDADD = $(ldadd)

enchant_SOURCES = enchant-ispell.c
enchant_LDFLAGS =
enchant_DEPENDENCIES = $(DEPS)
enchant_LDADD = $(ldadd)

test_enchantxx_SOURCES = test-enchantxx.cpp
test_enchantxx_LDFLAGS =
test_enchantxx_DEPENDENCIES = $(DEPS)
test_enchantxx_LDADD = $(ldadd)

enchant_lsmod_SOURCES = enchant-lsmod.c
enchant_lsmod_LDFLAGS =
enchant_lsmod_DEPENDENCIES = $(DEPS)
enchant_lsmod_LDADD = $(ldadd)