[21] | 1 | ## Process this file with automake to produce Makefile.in |
---|
| 2 | ## |
---|
| 3 | ## $Id: Makefile.am 687 2008-08-04 19:37:10Z peter $ |
---|
[37] | 4 | |
---|
[408] | 5 | # Copyright (C) 2005 Jari Häkkinen |
---|
| 6 | # Copyright (C) 2006 Jari Häkkinen, Peter Johansson |
---|
[668] | 7 | # Copyright (C) 2007 Peter Johansson |
---|
| 8 | # Copyright (C) 2008 Jari Häkkinen, Peter Johansson |
---|
[84] | 9 | # |
---|
[687] | 10 | # This file is part of svndigest, http://dev.thep.lu.se/svndigest |
---|
[84] | 11 | # |
---|
[148] | 12 | # svndigest is free software; you can redistribute it and/or modify it |
---|
[84] | 13 | # under the terms of the GNU General Public License as published by |
---|
| 14 | # the Free Software Foundation; either version 2 of the License, or |
---|
| 15 | # (at your option) any later version. |
---|
| 16 | # |
---|
[148] | 17 | # svndigest is distributed in the hope that it will be useful, but |
---|
[84] | 18 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
[148] | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
[84] | 20 | # General Public License for more details. |
---|
| 21 | # |
---|
| 22 | # You should have received a copy of the GNU General Public License |
---|
| 23 | # along with this program; if not, write to the Free Software |
---|
| 24 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
---|
| 25 | # 02111-1307, USA. |
---|
| 26 | |
---|
[148] | 27 | bin_PROGRAMS = svndigest |
---|
[37] | 28 | |
---|
[148] | 29 | svndigest_SOURCES = Parameter.cc svndigest.cc |
---|
[37] | 30 | |
---|
[100] | 31 | noinst_HEADERS = Parameter.h |
---|
[81] | 32 | |
---|
[668] | 33 | LDADD = @top_builddir@/lib/libsvndigest.a $(SVNDIGEST_LIBS) |
---|
| 34 | AM_LDFLAGS = $(SVNDIGEST_LDFLAGS) |
---|
[49] | 35 | |
---|
[640] | 36 | AM_CPPFLAGS = -I@top_srcdir@/lib $(SVNDIGEST_CPPFLAGS) |
---|
| 37 | AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS) |
---|
[49] | 38 | |
---|
[640] | 39 | |
---|
[548] | 40 | # install versioned binary (excluding patch version) |
---|
| 41 | install-exec-hook: |
---|
| 42 | cd $(DESTDIR)$(bindir) && \ |
---|
| 43 | mv -f svndigest$(EXEEXT) \ |
---|
[585] | 44 | svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) && \ |
---|
| 45 | $(LN_S) svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) svndigest$(EXEEXT) |
---|
[548] | 46 | |
---|
[585] | 47 | uninstall-hook: |
---|
| 48 | cd $(DESTDIR)$(bindir) && \ |
---|
| 49 | rm -f svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) |
---|
| 50 | |
---|
[49] | 51 | clean-local: |
---|
[139] | 52 | rm -rf *~ |
---|