1# Process this file with automake to produce Makefile.in
2# Makefile for gnuchess/src/engine.
3#
4# Copyright (C) 2001-2011 Free Software Foundation, Inc.
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 3, or (at your option)
9# any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
19noinst_LIBRARIES = libengine.a
20
21libengine_a_SOURCES = attack.cpp board.cpp book.cpp eval.cpp fen.cpp hash.cpp list.cpp main.cpp material.cpp \
22       move.cpp move_check.cpp move_do.cpp move_evasion.cpp move_gen.cpp move_legal.cpp \
23       option.cpp pawn.cpp piece.cpp posix.cpp protocol.cpp pst.cpp pv.cpp random.cpp recog.cpp \
24       search.cpp search_full.cpp see.cpp sort.cpp square.cpp trans.cpp util.cpp value.cpp \
25       vector.cpp \
26       attack.h board.h book.h colour.h eval.h fen.h hash.h list.h material.h \
27       move.h move_check.h move_do.h move_evasion.h move_gen.h move_legal.h \
28       option.h pawn.h piece.h posix.h protocol.h pst.h pv.h random.h recog.h \
29       search.h search_full.h see.h sort.h square.h trans.h util.h value.h \
30       vector.h
31
32AM_CPPFLAGS = -I$(top_srcdir)/src
33
34AM_CXXFLAGS = $(PTHREAD_CXXFLAGS)
35
36# Flags used to compile Fruit 2.1 - not used by default
37# AM_CXXFLAGS += -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer
38
39AM_LDFLAGS = $(PTHREAD_LDFLAGS) $(PTHREAD_LIBS)
40
41DISTCLEANFILES = *~
42
43
44