1 # Copyright 2006 David Hilvert <dhilvert@auricle.dyndns.org>,
2 # <dhilvert@ugcs.caltech.edu>
4 # This file is part of the Anti-Lamenessing Engine.
6 # The Anti-Lamenessing Engine 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 of the License, or
9 # (at your option) any later version.
11 # The Anti-Lamenessing Engine 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.
16 # You should have received a copy of the GNU General Public License
17 # along with Anti-Lamenessing Engine; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 # Makefile.am: This file is used by automake to generate Makefile.in.
26 # Include files from the 'm4' directory.
29 ACLOCAL_AMFLAGS = -I m4
35 clean-local: dejagnu-clean
38 # DejaGNU configuration
41 AUTOMAKE_OPTIONS=dejagnu
42 RUNTESTFLAGS=--tool ale ALE=./ale --srcdir=./testsuite
46 find testsuite -name "*temp.*" -print0 | xargs -0 rm -rf
47 find testsuite -name "*.output.*" -print0 | xargs -0 rm -rf
50 # Gnulib support functions (generating lib/libgnu.la).
58 # NOTE: OPTION_CFLAGS may include flags (e.g., generated by acx_pthread.m4)
59 # that are required for both compile and link operations; hence, it has been
60 # added to both AM_CPPFLAGS and AM_LDFLAGS.
63 AM_CPPFLAGS = @OPTION_CFLAGS@ @OPTION_CPPFLAGS@ -I$(top_srcdir)/lib
64 AM_LDFLAGS = @OPTION_CFLAGS@ @OPTION_LDFLAGS@
71 bin_PROGRAMS = ale-bin
72 ale_bin_SOURCES = ale.cc thread.cc rand.cc ui/ui.cc ui/input.cc ui/ui_log.cc d2.cc d3.cc
73 ale_bin_LDADD = lib/libgnu.la @OPTION_LIBS@