2005-11-04 21:00:05 +01:00
|
|
|
# Eliot
|
2012-10-07 16:25:41 +02:00
|
|
|
# Copyright (C) 1999-2012 Antoine Fraboulet & Olivier Teulière
|
2008-01-08 14:52:32 +01:00
|
|
|
# Authors: Antoine Fraboulet <antoine.fraboulet@free.fr>
|
|
|
|
# Olivier Teulière <ipkiss @@ gmail.com>
|
2005-11-04 21:00:05 +01:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2004-04-08 11:43:06 +02:00
|
|
|
|
|
|
|
noinst_LIBRARIES = libdic.a
|
|
|
|
|
2008-01-08 14:52:32 +01:00
|
|
|
localedir = $(datadir)/locale
|
2020-04-06 19:27:39 +02:00
|
|
|
AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir) $(INCICONV) @LOG4CXX_CFLAGS@
|
2008-01-08 14:52:32 +01:00
|
|
|
|
|
|
|
libdic_a_SOURCES = \
|
2011-01-16 22:30:30 +01:00
|
|
|
logging.h \
|
2010-10-17 23:23:39 +02:00
|
|
|
base_exception.cpp base_exception.h \
|
2008-01-08 14:52:32 +01:00
|
|
|
dic_exception.cpp dic_exception.h \
|
|
|
|
header.cpp header.h \
|
|
|
|
dic_internals.h \
|
|
|
|
tile.cpp tile.h \
|
|
|
|
dic.cpp dic.h \
|
|
|
|
dic_search.cpp \
|
2012-05-31 09:07:23 +02:00
|
|
|
csv_helper.cpp csv_helper.h \
|
2008-01-08 14:52:32 +01:00
|
|
|
encoding.cpp encoding.h \
|
2010-10-17 23:23:39 +02:00
|
|
|
stacktrace.cpp stacktrace.h \
|
2008-01-08 14:52:32 +01:00
|
|
|
automaton.cpp automaton.h \
|
2008-07-07 19:29:59 +02:00
|
|
|
regexp.cpp regexp.h \
|
2010-05-15 14:14:53 +02:00
|
|
|
grammar.cpp grammar.h \
|
2010-09-18 15:07:39 +02:00
|
|
|
compdic.cpp compdic.h \
|
2012-02-18 23:51:22 +01:00
|
|
|
listdic.cpp listdic.h \
|
|
|
|
debug.h
|
2008-01-13 21:26:04 +01:00
|
|
|
|
2005-11-04 21:00:05 +01:00
|
|
|
#####################################
|
2005-04-19 18:26:50 +02:00
|
|
|
if BUILD_DICTOOLS
|
2005-04-09 21:16:09 +02:00
|
|
|
|
2008-01-08 14:52:32 +01:00
|
|
|
bin_PROGRAMS = \
|
|
|
|
compdic \
|
|
|
|
listdic \
|
2005-11-04 21:00:05 +01:00
|
|
|
regexp
|
2005-04-09 21:16:09 +02:00
|
|
|
|
2010-05-15 14:14:53 +02:00
|
|
|
compdic_SOURCES=compdicmain.cpp
|
2008-01-08 14:52:32 +01:00
|
|
|
compdic_CPPFLAGS=$(AM_CPPFLAGS) @BOOST_CPPFLAGS@
|
2020-04-11 12:34:06 +02:00
|
|
|
compdic_LDADD=libdic.a @LIBINTL@ @LIBICONV@
|
2004-04-08 11:43:06 +02:00
|
|
|
|
2010-09-18 15:07:39 +02:00
|
|
|
listdic_SOURCES=listdicmain.cpp
|
2020-04-11 12:34:06 +02:00
|
|
|
listdic_LDADD=libdic.a @LIBINTL@ @LIBICONV@
|
2004-04-08 11:43:06 +02:00
|
|
|
|
2005-11-05 18:56:22 +01:00
|
|
|
#regexp_CFLAGS=-DDEBUG_RE
|
2008-01-08 14:52:32 +01:00
|
|
|
regexp_SOURCES=regexpmain.cpp
|
2020-04-11 12:34:06 +02:00
|
|
|
regexp_LDADD=libdic.a @LIBINTL@ @LIBICONV@
|
2005-04-09 21:16:09 +02:00
|
|
|
|
2011-01-16 22:30:30 +01:00
|
|
|
if WITH_LOGGING
|
|
|
|
compdic_LDADD += @LOG4CXX_LIBS@
|
|
|
|
listdic_LDADD += @LOG4CXX_LIBS@
|
|
|
|
regexp_LDADD += @LOG4CXX_LIBS@
|
|
|
|
endif
|
|
|
|
|
2005-04-19 18:26:50 +02:00
|
|
|
endif
|
2008-01-08 14:52:32 +01:00
|
|
|
|