Building misc/ along with the rest of the suite.

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@815 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
redpony 2006-09-15 21:32:48 +00:00
parent da7fed9e7e
commit 1e7a253a43
4 changed files with 9 additions and 26 deletions

View File

@ -3,4 +3,4 @@
AUTOMAKE_OPTIONS = foreign
# order is important here: build moses before moses-cmd
SUBDIRS = moses/src moses-cmd/src
SUBDIRS = moses/src moses-cmd/src misc

View File

@ -76,4 +76,4 @@ fi
LIBS="$LIBS -lz"
AC_OUTPUT(Makefile moses/src/Makefile moses-cmd/src/Makefile)
AC_OUTPUT(Makefile moses/src/Makefile moses-cmd/src/Makefile misc/Makefile)

View File

@ -1,24 +0,0 @@
SRIDIR=/home/ws06/cdyer/srilm/lib/i686
CXX=g++
CXXFLAGS=-W -Wall -O0 -g -ggdb -ffor-scope -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
LDFLAGS=-static
INCLUDES=-I../moses/src
SRILIBS=-L$(SRIDIR) -loolm -ldstruct -lmisc
default: processPhraseTable
%.o: %.cpp
$(CXX) $(CXXFLAGS) $(INCLUDES) $< -c -o $@
MOSESLIB =../moses/src/libmoses.a
processPhraseTable: processPhraseTable.o GenerateTuples.o $(MOSESLIB)
$(CXX) $(LDFLAGS) $^ -o $@ $(SRILIBS) $(BOOSTLIBS)

7
misc/Makefile.am Normal file
View File

@ -0,0 +1,7 @@
bin_PROGRAMS = processPhraseTable
processPhraseTable_SOURCES = GenerateTuples.cpp processPhraseTable.cpp
AM_CPPFLAGS = -W -Wall -ffor-scope -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I$(top_srcdir)/moses/src
processPhraseTable_LDADD = -L$(top_srcdir)/moses/src -lmoses
processPhraseTable_DEPENDENCIES = $(top_srcdir)/moses/src/libmoses.a