1 | ## Process this file with automake to produce Makefile.in |
---|
2 | ## |
---|
3 | ## $Id: Makefile.am 851 2008-12-01 21:20:35Z peter $ |
---|
4 | |
---|
5 | # Copyright (C) 2005, 2006 Jari Häkkinen |
---|
6 | # Copyright (C) 2007 2008 Peter Johansson |
---|
7 | # |
---|
8 | # This file is part of WeNNI, |
---|
9 | # http://baseplugins.thep.lu.se/wiki/se.lu.thep.WeNNI |
---|
10 | # |
---|
11 | # WeNNI is free software; you can redistribute it and/or modify it |
---|
12 | # under the terms of the GNU General Public License as published by the |
---|
13 | # Free Software Foundation; either version 3 of the License, or (at |
---|
14 | # your option) any later version. |
---|
15 | # |
---|
16 | # WeNNI is distributed in the hope that it will be useful, but WITHOUT |
---|
17 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
18 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
---|
19 | # for more details. |
---|
20 | # |
---|
21 | # You should have received a copy of the GNU General Public License |
---|
22 | # along with WeNNI. If not, see <http://www.gnu.org/licenses/>. |
---|
23 | |
---|
24 | check_PROGRAMS = wenni_test |
---|
25 | |
---|
26 | TESTS = $(check_PROGRAMS) |
---|
27 | |
---|
28 | LINKS = NNIFileConverter nni |
---|
29 | WENNI_PL_LINK = wenni.pl |
---|
30 | |
---|
31 | if BASE1 |
---|
32 | LINKS += BaseFileConverter $(WENNI_PL_LINK) |
---|
33 | CREATE_INDATA = run_base1_plugin |
---|
34 | endif |
---|
35 | |
---|
36 | CPP_TOOLS_LIB=$(top_builddir)/$(CPP_TOOLS_LIBPATH)/libc++_tools.la |
---|
37 | LDADD = -L$(CPP_TOOLS_LIB) |
---|
38 | |
---|
39 | wenni_test_DEPENDENCIES = $(LINKS) $(CREATE_INDATA) $(CPP_TOOLS_LIB) |
---|
40 | wenni_test_SOURCES = wenni_test.cc |
---|
41 | |
---|
42 | BaseFileConverter:; ln -fs $(top_builddir)/base/base1/$@/$@ |
---|
43 | nni:; ln -fs $(top_builddir)/bin/$@/$@ |
---|
44 | NNIFileConverter:; ln -fs $(top_builddir)/bin/$@/$@ |
---|
45 | $(WENNI_PL_LINK):; ln -fs $(top_srcdir)/base/base1/base_plugin_script/$@ |
---|
46 | |
---|
47 | run_base1_plugin: |
---|
48 | @($(MKDIR_P) raw_results && cd raw_results && ../wenni.pl --datatype raw \ |
---|
49 | --nodelete < ../$(top_srcdir)/data/basefile_in.data > basefile_out.data); |
---|
50 | @($(MKDIR_P) default_results && cd default_results && ../wenni.pl \ |
---|
51 | --nodelete < ../$(top_srcdir)/data/basefile_in.data > basefile_out.data); |
---|
52 | |
---|
53 | clean-local:; rm -rf $(LINKS) default_results raw_results \ |
---|
54 | knni_imputed.data wenni_imputed.data |
---|
55 | |
---|
56 | |
---|
57 | |
---|