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