mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
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:
parent
da7fed9e7e
commit
1e7a253a43
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
7
misc/Makefile.am
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user