From 62d4d99e5754304a57f53a80ff61061506a0e908 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 27 Oct 2010 11:22:38 +0800 Subject: fixes makefiles --- utils/Makefile.am | 2 +- utils/segment/Makefile.am | 3 ++- utils/training/Makefile.am | 7 ++++--- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'utils') diff --git a/utils/Makefile.am b/utils/Makefile.am index 1f0d85d..c315d10 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -16,7 +16,7 @@ ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. AUTOMAKE_OPTIONS = gnu -SUBDIRS = storage +SUBDIRS = storage segment training MAINTAINERCLEANFILES = Makefile.in diff --git a/utils/segment/Makefile.am b/utils/segment/Makefile.am index a82627a..789de23 100644 --- a/utils/segment/Makefile.am +++ b/utils/segment/Makefile.am @@ -19,10 +19,11 @@ MAINTAINERCLEANFILES = Makefile.in INCLUDES = -I$(top_srcdir)/src/include \ -I$(top_srcdir)/src/storage \ + -I$(top_srcdir)/src/lookup \ @GLIB2_CPPFLAGS@ noinst_PROGRAMS = spseg spseg_SOURCES = spseg.cpp -spseg_LDADD = @GLIB2_LDFLAGS@ ../storage/libstorage.la +spseg_LDADD = @GLIB2_LDFLAGS@ ../../src/libpinyin.la diff --git a/utils/training/Makefile.am b/utils/training/Makefile.am index 520e4e1..b284747 100644 --- a/utils/training/Makefile.am +++ b/utils/training/Makefile.am @@ -19,18 +19,19 @@ MAINTAINERCLEANFILES = Makefile.in INCLUDES = -I$(top_srcdir)/src/include \ -I$(top_srcdir)/src/storage \ + -I$(top_srcdir)/src/lookup \ @GLIB2_CPPFLAGS@ noinst_PROGRAMS = gen_ngram gen_unigram estimate_interpolation gen_ngram_SOURCES = gen_ngram.cpp -gen_ngram_LDADD = ../storage/libstorage.la @GLIB2_LDFLAGS@ +gen_ngram_LDADD = @GLIB2_LDFLAGS@ ../../src/libpinyin.la gen_unigram_SOURCES = gen_unigram.cpp -gen_unigram_LDADD = ../storage/libstorage.la @GLIB2_LDFLAGS@ +gen_unigram_LDADD = @GLIB2_LDFLAGS@ ../../src/libpinyin.la estimate_interpolation_SOURCES = estimate_interpolation.cpp -estimate_interpolation_LDADD = ../storage/libstorage.la @GLIB2_LDFLAGS@ +estimate_interpolation_LDADD = @GLIB2_LDFLAGS@ ../../src/libpinyin.la -- cgit