forked from mitlm/mitlm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
124 lines (100 loc) · 2.74 KB
/
Makefile.am
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
## Process this file with automake to produce Makefile.in
SUBDIRS =
EXTRA_DIST = autogen.sh
AM_CPPFLAGS = \
-I$(top_srcdir)/src
# Enable building files in subdirectories.
AUTOMAKE_OPTIONS = subdir-objects
lib_LTLIBRARIES = libmitlm.la
mitlmincdir = $(includedir)/mitlm
mitlmoptimizeincdir = $(includedir)/mitlm/optimize
mitlmutilincdir = $(includedir)/mitlm/util
mitlmvectorincdir = $(includedir)/mitlm/vector
mitlmoptimizeinc_HEADERS= \
src/optimize/Optimization.h \
src/optimize/LBFGS.h \
src/optimize/Powell.h \
src/optimize/LBFGSB.h
mitlmutilinc_HEADERS= \
src/util/FastIO.h \
src/util/RefCounter.h \
src/util/CommandOptions.h \
src/util/ZFile.h \
src/util/Logger.h \
src/util/SharedPtr.h \
src/util/BitOps.h \
src/util/FastHash.h \
src/util/constants.h
mitlmvectorinc_HEADERS= \
src/vector/Range.h \
src/vector/Operations.h \
src/vector/VectorClosures.h \
src/vector/Traits.h \
src/vector/VectorBuilder.h \
src/vector/VectorOps.h \
src/vector/Scalar.h \
src/vector/Vector.h \
src/vector/DenseVector.h \
src/vector/DenseVector.tcc
mitlminc_HEADERS= \
src/MaxLikelihoodSmoothing.h \
src/Smoothing.h \
src/Vocab.h \
src/Mask.h \
src/KneserNeySmoothing.h \
src/PerplexityOptimizer.h \
src/NgramVector.h \
src/Lattice.h \
src/WordErrorRateOptimizer.h \
src/InterpolatedNgramLM.h \
src/NgramLM.h \
src/NgramModel.h \
src/Types.h
libmitlm_la_SOURCES = \
src/util/CommandOptions.cpp \
src/util/RefCounter.cpp \
src/util/Logger.cpp \
src/NgramLM.cpp \
src/Vocab.cpp \
src/PerplexityOptimizer.cpp \
src/Lattice.cpp \
src/Smoothing.cpp \
src/NgramModel.cpp \
src/NgramVector.cpp \
src/MaxLikelihoodSmoothing.cpp \
src/KneserNeySmoothing.cpp \
src/InterpolatedNgramLM.cpp \
src/optimize/lbfgs.f \
src/optimize/lbfgsb.f \
src/optimize/fortran_wrapper.c \
src/WordErrorRateOptimizer.cpp
libmitlm_la_LIBADD = $(FLIBS)
libmitlm_la_LDFLAGS = -export-symbols-regex mitlm
# Programs:
bin_PROGRAMS = evaluate-ngram estimate-ngram interpolate-ngram
evaluate_ngram_SOURCES = \
src/evaluate-ngram.cpp
evaluate_ngram_LDADD = libmitlm.la $(FLIBS)
evaluate_ngram_CFLAGS =
estimate_ngram_SOURCES = \
src/estimate-ngram.cpp
estimate_ngram_LDADD = libmitlm.la $(FLIBS)
estimate_ngram_CFLAGS =
interpolate_ngram_SOURCES = \
src/interpolate-ngram.cpp
interpolate_ngram_LDADD = libmitlm.la $(FLIBS)
interpolate_ngram_CFLAGS =
TESTS = tests/test1.test
EXTRA_DIST += \
tests/data/small.txt \
tests/data/small.vocab \
tests/data/test1_ref/wlc.a.hyp \
tests/data/test1_ref/wlc.b.hyp \
tests/data/test1_ref/wc.a.hyp \
tests/data/test1_ref/wc.b.hyp \
tests/data/test1_ref/wrc.a.hyp \
tests/data/test1_ref/wrc.b.hyp \
tests/data/test1_ref/wec.a.hyp \
tests/data/test1_ref/wec.b.hyp \
tests/data/test1_ref/wl.a.hyp \
tests/data/test1_ref/wl.b.hyp