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