Blame view

tools/openfst-1.6.7/src/extensions/linear/Makefile.am 973 Bytes
8dcb6dfcb   Yannick Estève   first commit
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
  AM_CPPFLAGS = -I$(srcdir)/../../include $(ICU_CPPFLAGS)
  
  if HAVE_BIN
  bin_PROGRAMS = fstlinear fstloglinearapply
  
  LDADD = libfstlinearscript.la ../../script/libfstscript.la \
      ../../lib/libfst.la -lm $(DL_LIBS)
  
  fstlinear_SOURCES = fstlinear.cc
  
  fstloglinearapply_SOURCES = fstloglinearapply.cc
  endif
  
  if HAVE_SCRIPT
  libfstlinearscript_la_SOURCES = linearscript.cc
  libfstlinearscript_la_LDFLAGS = -version-info 10:0:0 -lm $(DL_LIBS)
  libfstlinearscript_la_LIBADD = ../../script/libfstscript.la \
  							../../lib/libfst.la -lm $(DL_LIBS)
  endif
  
  if HAVE_SCRIPT
  libfst_LTLIBRARIES = linear_tagger-fst.la \
      linear_classifier-fst.la
  lib_LTLIBRARIES = libfstlinearscript.la
  else
  libfst_LTLIBRARIES = linear_tagger-fst.la linear_classifier-fst.la
  endif
  
  libfstdir = @libfstdir@
  
  linear_tagger_fst_la_SOURCES = linear-tagger-fst.cc
  linear_tagger_fst_la_LDFLAGS = -module
  
  linear_classifier_fst_la_SOURCES = linear-classifier-fst.cc
  linear_classifier_fst_la_LDFLAGS = -module