bugs: Advantages for incremental library separation by analogy with incremental
[Ale.git] / Makefile.am
blobf715a20d67a0ec0d6523ae8865f6a2d3c98cf6f5
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
21
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
32 # Local targets.
35 clean-local: dejagnu-clean
38 # DejaGNU configuration
41 AUTOMAKE_OPTIONS=dejagnu
42 RUNTESTFLAGS=--tool ale ALE=./ale --srcdir=./testsuite
44 dejagnu-clean:
45         rm -f ale.sum ale.log
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).
51
53 SUBDIRS = lib
56 # Flags
57
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.
62 # We use -rpath $(libdir) as a means of avoiding runtime load failures
63 # when ldconfig has not been run.  For more detail, see 
65 # http://www.mail-archive.com/automake@gnu.org/msg13279.html
68 AM_CPPFLAGS = @OPTION_CFLAGS@ @OPTION_CPPFLAGS@ -I$(top_srcdir)/lib
69 AM_LDFLAGS = @OPTION_CFLAGS@ @OPTION_LDFLAGS@ -rpath $(libdir)
72 # Executable target.
75 bin_SCRIPTS = ale
76 bin_PROGRAMS = ale-bin
77 ale_bin_SOURCES = ale.cc thread.cc rand.cc accel.cc ui/ui.cc ui/input.cc ui/ui_log.cc d2.cc d3.cc
78 ale_bin_LDADD = lib/libgnu.la @OPTION_LIBS@
81 # Manuals
84 man_MANS = doc/man/ale.1