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 |
---|
26 | ACLOCAL_AMFLAGS = -I m4 --install |
---|
27 | |
---|
28 | SUBDIRS = lib bin data |
---|
29 | |
---|
30 | if BASE1 |
---|
31 | SUBDIRS += base |
---|
32 | endif |
---|
33 | |
---|
34 | if BASE2 |
---|
35 | SUBDIRS += base |
---|
36 | endif |
---|
37 | |
---|
38 | SUBDIRS += test |
---|
39 | |
---|
40 | include $(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 | |
---|
51 | maintainer-check: |
---|
52 | @$(MAKE) $(AM_MAKEFLAGS) distcheck-stand-alone &&\ |
---|
53 | $(MAKE) $(AM_MAKEFLAGS) distcheck-base2 &&\ |
---|
54 | $(MAKE) $(AM_MAKEFLAGS) distcheck-base1 |
---|
55 | |
---|
56 | distcheck-base2: |
---|
57 | $(MAKE) $(AM_MAKEFLAGS) \ |
---|
58 | DISTCHECK_CONFIGURE_FLAGS=\ |
---|
59 | "--enable-state=base2 --enable-debug" distcheck |
---|
60 | |
---|
61 | distcheck-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 | |
---|
67 | distcheck-stand-alone: |
---|
68 | $(MAKE) $(AM_MAKEFLAGS) \ |
---|
69 | DISTCHECK_CONFIGURE_FLAGS="--enable-state=stand-alone --enable-debug" \ |
---|
70 | distcheck |
---|