SubDir TOP transduction ;


Library libtrans.a :
        string_transducer.cpp xml_format_string_transducer.cpp
        string_output.cpp xml_format_string_output.cpp
        ;


#Main          apply_fst2 : apply_fst2.cpp transduction2.cpp ;
#LinkLibraries apply_fst2 : libtrans.a $(LIBOTEXT) $(LIBOLINGDEF) ;
#LINKLIBS on   apply_fst2$(SUFEXE) = $(XMLLIB) $(BOOSTFSLIB) ;

Main          apply_fst3 : apply_fst3.cpp transduction3.cpp ;
LinkLibraries apply_fst3 : libtrans.a $(LIBOTEXT) $(LIBOLINGDEF) ;
LINKLIBS on   apply_fst3$(SUFEXE) = $(XMLLIB) $(BOOSTFSLIB) $(UNICODELIB) ;

#Main          apply_fst4 : apply_fst4.cpp transduction4.cpp ;
#LinkLibraries apply_fst4 : libtrans.a $(LIBOTEXT) $(LIBOLINGDEF) ;
#LINKLIBS on   apply_fst4$(SUFEXE) = $(XMLLIB) $(BOOSTFSLIB) $(UNICODELIB) ;


Main          FST2sfst : FST2sfst.cpp ;
LinkLibraries FST2sfst : $(LIBOFST2) libtrans.a $(LIBOLINGDEF) ;
LINKLIBS on   FST2sfst$(SUFEXE) = $(XMLLIB) $(BOOSTFSLIB) $(UNICODELIB) ;


Main          gfst2sfst : gfst2sfst.cpp ;
LinkLibraries gfst2sfst : libtrans.a $(LIBOLINGDEF) $(LIBOFSA) ;
LINKLIBS on   gfst2sfst$(SUFEXE) = $(XMLLIB) $(BOOSTFSLIB) $(UNICODELIB) ;

Main          sfst-cleanup : sfst-cleanup.cpp ;
LinkLibraries sfst-cleanup : libtrans.a $(LIBOLINGDEF) ;
LINKLIBS on   sfst-cleanup$(SUFEXE) = $(XMLLIB) $(BOOSTFSLIB) $(UNICODELIB) ;

Main          sfst2dot : sfst2dot.cpp ;
LinkLibraries sfst2dot : libtrans.a $(LIBOLINGDEF) ;
LINKLIBS on   sfst2dot$(SUFEXE) = $(XMLLIB) $(BOOSTFSLIB) $(UNICODELIB) ;


InstallBin $(BINDIR) : FST2sfst gfst2sfst
                       apply_fst3
#                       apply_fst2 apply_fst4
                       sfst2dot sfst-cleanup ;

