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

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

forgot to save this file prior ci r849

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 850 2008-12-01 21:13:02Z 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
24check_PROGRAMS = wenni_test
25
26TESTS = $(check_PROGRAMS)
27
28LINKS = NNIFileConverter nni
29WENNI_PL_LINK = wenni.pl
30
31if BASE1
32LINKS += BaseFileConverter $(WENNI_PL_LINK)
33CREATE_INDATA = run_base1_plugin
34endif
35
36CPP_TOOLS_LIB=$(top_builddir)/$(CPP_TOOLS_LIBPATH)/lc++_tools.la
37LDADD = -L$(CPP_TOOLS_LIBPATH)
38
39wenni_test_DEPENDENCIES = $(LINKS) $(CREATE_INDATA) $(CPP_TOOLS_LIBPATH)
40wenni_test_SOURCES = wenni_test.cc
41
42BaseFileConverter:; ln -fs $(top_builddir)/base/base1/$@/$@
43nni:; ln -fs $(top_builddir)/bin/$@/$@
44NNIFileConverter:; ln -fs $(top_builddir)/bin/$@/$@
45$(WENNI_PL_LINK):; ln -fs $(top_srcdir)/base/base1/base_plugin_script/$@
46
47run_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
53clean-local:; rm -rf $(LINKS) default_results raw_results \
54  knni_imputed.data wenni_imputed.data
55
56
57
Note: See TracBrowser for help on using the repository browser.