source: plugins/base1/se.lu.thep.wenni/trunk/bin/nni/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.2 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 = nni
26
27LDADD = $(top_builddir)/$(CPP_TOOLS_LIBPATH)/libc++_tools.la
28
29nni_SOURCES = nni.cc Parameter.cc
30
31EXTRA_DIST = nni.h Parameter.h
32
33install-plugin: $(PROGRAMS)
34  @echo Making $@
35  test -z "$(PLUGINDIR)" || $(MKDIR_P) "$(PLUGINDIR)"
36  @for i in $(PROGRAMS); do \
37    ( echo "  $(INSTALL) $$i $(PLUGINDIR)" ; $(INSTALL) $$i $(PLUGINDIR) ) \
38  done
Note: See TracBrowser for help on using the repository browser.