2005-02-05 12:14:56 +01:00
|
|
|
# Eliot
|
|
|
|
# Copyright (C) 1999 Antoine Fraboulet
|
|
|
|
# antoine.fraboulet@free.fr
|
|
|
|
#
|
|
|
|
# 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
|
2005-10-23 16:53:42 +02:00
|
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2004-04-08 11:43:06 +02:00
|
|
|
|
2008-01-08 14:52:32 +01:00
|
|
|
localedir = $(datadir)/locale
|
2011-01-16 22:30:30 +01:00
|
|
|
AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/dic -I$(top_srcdir)/game -I../intl -I$(top_srcdir)/intl @LOG4CXX_CFLAGS@
|
2005-02-06 23:18:11 +01:00
|
|
|
|
2005-02-05 12:14:56 +01:00
|
|
|
noinst_PROGRAMS =
|
2008-01-08 14:52:32 +01:00
|
|
|
bin_PROGRAMS =
|
2004-04-08 11:43:06 +02:00
|
|
|
|
2005-02-05 12:14:56 +01:00
|
|
|
if BUILD_TEXT
|
|
|
|
noinst_PROGRAMS += eliottxt
|
2005-02-26 23:57:34 +01:00
|
|
|
eliottxt_SOURCES = game_io.h game_io.cpp eliottxt.cpp
|
2013-01-06 17:17:23 +01:00
|
|
|
eliottxt_LDADD = $(top_builddir)/game/libgame.a $(top_builddir)/dic/libdic.a @LIBINTL@ @LIBCONFIG_LIBS@ @ARABICA_LIBS@ @EXPAT_LIBS@
|
2009-11-29 17:01:31 +01:00
|
|
|
|
2008-01-08 14:52:32 +01:00
|
|
|
if HAS_READLINE
|
|
|
|
eliottxt_LDADD += -lreadline
|
|
|
|
endif
|
2011-01-16 22:30:30 +01:00
|
|
|
if WITH_LOGGING
|
|
|
|
eliottxt_LDADD += @LOG4CXX_LIBS@
|
|
|
|
endif
|
2005-02-05 12:14:56 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_NCURSES
|
2008-01-08 14:52:32 +01:00
|
|
|
bin_PROGRAMS += eliotcurses
|
|
|
|
eliotcurses_SOURCES = ncurses.cpp ncurses.h
|
2013-01-06 17:17:23 +01:00
|
|
|
eliotcurses_LDADD = ../game/libgame.a ../dic/libdic.a -lncursesw @LIBINTL@ @LIBCONFIG_LIBS@ @ARABICA_LIBS@ @EXPAT_LIBS@
|
2011-01-16 22:30:30 +01:00
|
|
|
if WITH_LOGGING
|
|
|
|
eliotcurses_LDADD += @LOG4CXX_LIBS@
|
|
|
|
endif
|
|
|
|
|
2005-02-05 12:14:56 +01:00
|
|
|
endif
|
2005-02-06 23:18:11 +01:00
|
|
|
|