summaryrefslogtreecommitdiff
path: root/extools/Makefile.am
blob: ee3632648bcf951e184098022918b771b2d9c283 (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
bin_PROGRAMS = \
  extractor \
  mr_stripe_rule_reduce \
  filter_grammar \
  featurize_grammar \
  extractor_monolingual

noinst_PROGRAMS =

sg_lexer.cc: sg_lexer.l
	$(LEX) -s -CF -8 -o$@ $<

filter_grammar_SOURCES = filter_grammar.cc extract.cc sentence_pair.cc striped_grammar.cc sg_lexer.cc
filter_grammar_LDADD = $(top_srcdir)/utils/libutils.a -lz
#filter_grammar_LDFLAGS = -all-static

featurize_grammar_SOURCES = featurize_grammar.cc extract.cc sentence_pair.cc sg_lexer.cc striped_grammar.cc
featurize_grammar_LDADD = $(top_srcdir)/utils/libutils.a -lz

mr_stripe_rule_reduce_SOURCES = mr_stripe_rule_reduce.cc extract.cc sentence_pair.cc striped_grammar.cc sg_lexer.cc
mr_stripe_rule_reduce_LDADD = $(top_srcdir)/utils/libutils.a -lz

extractor_SOURCES = sentence_pair.cc extract.cc extractor.cc striped_grammar.cc
extractor_LDADD = $(top_srcdir)/utils/libutils.a -lz

extractor_monolingual_SOURCES = extractor_monolingual.cc
extractor_monolingual_LDADD = $(top_srcdir)/utils/libutils.a -lz

AM_CPPFLAGS = -W -Wall -Wno-sign-compare $(GTEST_CPPFLAGS) -I$(top_srcdir)/utils