source: trunk/lib/Makefile.am @ 667

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

This fixes the problem of creating dynamic/static svndigest wrt libsvndigest.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 667 2008-07-03 21:38:20Z jari $
4
5# Copyright (C) 2005 Jari Häkkinen
6# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
7# Copyright (C) 2007 Peter Johansson
8# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
9#
10# This file is part of svndigest, http://trac.thep.lu.se/svndigest
11#
12# svndigest is free software; you can redistribute it and/or modify it
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#
17# svndigest is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
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
27AM_CPPFLAGS = $(SVNDIGEST_CPPFLAGS)
28AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
29
30noinst_lib_LTLIBRARIES = libsvndigest.la
31noinst_libdir = /tmp
32
33noinst_HEADERS = AddStats.h Alias.h BlameStats.h ClassicStats.h ColumnStream.h \
34  Commitment.h Configuration.h css.h\
35  Date.h Directory.h File.h first_page.h Functor.h Gnuplot.h GnuplotFE.h \
36  HtmlBuf.h HtmlStream.h html_utility.h LineTypeParser.h \
37  Node.h Option.h rmdirhier.h \
38  Stats.h StatsCollection.h subversion_info.h SVN.h SVNblame.h  \
39  SVNinfo.h SVNlog.h SVNproperty.h Trac.h utility.h
40
41libsvndigest_la_SOURCES = AddStats.cc Alias.cc BlameStats.cc \
42  ClassicStats.cc ColumnStream.cc \
43  Commitment.cc Configuration.cc \
44  css.cc Date.cc Directory.cc File.cc first_page.cc\
45  Functor.cc Gnuplot.cc GnuplotFE.cc  HtmlBuf.cc HtmlStream.cc \
46  html_utility.cc LineTypeParser.cc Node.cc \
47  rmdirhier.cc Stats.cc StatsCollection.cc subversion_info.cc SVN.cc        \
48  SVNblame.cc SVNinfo.cc SVNlog.cc SVNproperty.cc Trac.cc utility.cc
49
50
51
52
53clean-local:
54  rm -rf *~
55
56all-local:
57
58if HAVE_SVN_WC
59@srcdir@/subversion_info.cc: subversion_info.cc.tmp
60  @$(SHELL) @top_srcdir@/build_support/move-if-change subversion_info.cc.tmp \
61  @srcdir@/subversion_info.cc
62
63subversion_info.cc.tmp: FORCE
64  @echo '// subversion_info.cc generated from subversion_info.cc.in.' > $@ ;\
65  revision=`$(SVNVERSION) $(top_srcdir)` ;\
66  year=`svn info $(top_srcdir)|$(SED) -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
67  $(SED) -e 's/sub_2_svn_revision/'$$revision'/g' \
68  -e 's/sub_2_svn_year/'$$year'/g'  @srcdir@/subversion_info.cc.in >> $@ ;
69endif
70
71FORCE:
Note: See TracBrowser for help on using the repository browser.