source: plugins/base1/se.lu.thep.wenni/trunk/bin/NNIFileConverter/Makefile.am @ 853

Last change on this file since 853 was 853, checked in by Jari Häkkinen, 14 years ago

Fixes #152. Added custom target 'install-plugin' that parallels 'install'.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# Process this file with automake to produce Makefile.in
2#
3# $Id: Makefile.am 853 2008-12-01 22:59:25Z jari $
4
5# Copyright (C) 2005, 2006 Jari Häkkinen
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
25bin_PROGRAMS = NNIFileConverter
26
27AM_CPPFLAGS += $(GSL_CPPFLAGS) -I$(top_srcdir)/lib
28
29LDADD = $(top_builddir)/$(CPP_TOOLS_LIBPATH)/libc++_tools.la
30
31NNIFileConverter_SOURCES = NNIFileConverter.cc Parameter.cc
32
33EXTRA_DIST = Parameter.h
34
35install-plugin: $(PROGRAMS)
36  @echo Making $@
37  test -z "$(PLUGINDIR)" || $(MKDIR_P) "$(PLUGINDIR)"
38  @for i in $(PROGRAMS); do \
39    ( echo "$(INSTALL) $$i $(PLUGINDIR)" ; $(INSTALL) $$i $(PLUGINDIR) ) \
40  done
Note: See TracBrowser for help on using the repository browser.