1AM_CPPFLAGS = -I$(srcdir)/../../include $(ICU_CPPFLAGS)
2
3libfstdir = @libfstdir@
4
5if HAVE_SCRIPT
6libfst_LTLIBRARIES = libfstfarscript.la libfstfar.la
7else
8libfst_LTLIBRARIES = libfstfar.la
9endif
10
11libfstfar_la_SOURCES = sttable.cc stlist.cc
12libfstfar_la_LDFLAGS = -version-info 1:0:0
13
14if HAVE_SCRIPT
15libfstfarscript_la_SOURCES = farscript.cc strings.cc main.cc
16libfstfarscript_la_LDFLAGS = -version-info 1:0:0
17endif
18
19if HAVE_BIN
20bin_PROGRAMS = farcompilestrings farcreate farequal farextract farinfo \
21	farprintstrings
22
23LDADD = libfstfarscript.la libfstfar.la ../../script/libfstscript.la \
24        ../../lib/libfst.la -lm -ldl
25
26farcompilestrings_SOURCES = farcompilestrings.cc
27
28farcreate_SOURCES = farcreate.cc
29
30farequal_SOURCES = farequal.cc
31
32farextract_SOURCES = farextract.cc
33
34farinfo_SOURCES = farinfo.cc
35
36farprintstrings_SOURCES = farprintstrings.cc
37endif
38