source: plugins/base1/se.lu.thep.wenni/trunk/Makefile.am

Last change on this file was 874, checked in by Peter Johansson, 14 years ago

refs #71

Adding some targets for maintainer to check that everything is OK in
all three states. The target maintainer-check is just an aggregate of
the three distcheck-* targets (that can be called independently if
desired). For distcheck-base1 I hardcoded the '--with-basedir' which
perhaps needs to be modified by maintainer. I'm not sure if it's
possible (well read important) to set that in a less hard-coded
manner, i.e., set it in configure.ac. distcheck-base2 did not work for
me due to problems compiling the java code (refs #156).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 874 2008-12-04 17:20:59Z peter $
4
5# Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
6# Copyright (C) 2007 Peter Johansson
7# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
8#
9# This file is part of WeNNI,
10# http://baseplugins.thep.lu.se/wiki/se.lu.thep.WeNNI
11#
12# WeNNI is free software; you can redistribute it and/or modify it
13# under the terms of the GNU General Public License as published by the
14# Free Software Foundation; either version 3 of the License, or (at
15# your option) any later version.
16#
17# WeNNI is distributed in the hope that it will be useful, but WITHOUT
18# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20# for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with WeNNI. If not, see <http://www.gnu.org/licenses/>.
24
25# -I arg should be the same as arg in AC_CONFIG_MACRO_DIR in configure.ac
26ACLOCAL_AMFLAGS = -I m4 --install
27
28SUBDIRS = lib bin data
29
30if BASE1
31SUBDIRS += base
32endif
33
34if BASE2
35SUBDIRS += base
36endif
37
38SUBDIRS += test
39
40include $(top_srcdir)/install_plugin.am
41
42
43################################################################
44##
45## Everything past here is useful to the maintainer, but probably not
46## to anybody else
47##
48
49.PHONY: maintainer-check distcheck-base2 distcheck-base1 distcheck-stand-alone
50
51maintainer-check:
52  @$(MAKE) $(AM_MAKEFLAGS) distcheck-stand-alone &&\
53  $(MAKE) $(AM_MAKEFLAGS) distcheck-base2 &&\
54  $(MAKE) $(AM_MAKEFLAGS) distcheck-base1
55
56distcheck-base2:
57  $(MAKE) $(AM_MAKEFLAGS) \
58  DISTCHECK_CONFIGURE_FLAGS=\
59  "--enable-state=base2 --enable-debug" distcheck
60
61distcheck-base1:
62  $(MAKE) $(AM_MAKEFLAGS) \
63  DISTCHECK_CONFIGURE_FLAGS=\
64  "--enable-state=base1 --enable-debug --with-basedir=$(abs_srcdir)/BASE-plugindevkit/bogus_base" \
65  distcheck
66
67distcheck-stand-alone:
68  $(MAKE) $(AM_MAKEFLAGS) \
69  DISTCHECK_CONFIGURE_FLAGS="--enable-state=stand-alone --enable-debug" \
70  distcheck
Note: See TracBrowser for help on using the repository browser.