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