1# Process this file with automake to produce Makefile.in (in this,
2# and all subdirectories).
3# Makefile for the top-level directory of GNU Chess.
4#
5# Copyright (C) 2001-2015 Free Software Foundation, Inc.
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 3, or (at your option)
10# any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
20# Find gnulib headers.
21ACLOCAL_AMFLAGS = --install -I m4
22
23# Subdirectories to descend into.
24SUBDIRS = src doc po man
25
26dist_pkgdata_DATA = src/gnuchess.ini src/smallbook.bin
27
28# For recognition and usage by GUIs
29pluginsdir=@PLUGINSDIR@
30engdir=$(pluginsdir)/xboard
31eng_DATA = misc/gnuchess.eng
32logodir=$(pluginsdir)/logos
33logo_DATA = misc/gnuchess.png
34
35# Additional files to distribute.
36EXTRA_DIST = config.rpath TODO src/gnuchess.ini src/smallbook.bin src/gnuchessx src/gnuchessu doc/quotes.rb lib/gettext.h misc/gnuchess.eng misc/gnuchess.png
37
38DISTCLEANFILES = *~ src/GCint.h
39pkgdatadir =$(datadir)/gnuchess
40
41AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib
42