source: trunk/yat/Makefile.am @ 1498

Last change on this file since 1498 was 1498, checked in by Peter Johansson, 8 years ago

latest yat and update make rule to fetch from yat repo

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 1498 2012-08-27 06:34:11Z peter $
4
5# Copyright (C) 2009, 2010, 2011 Peter Johansson
6#
7# This file is part of svndigest, http://dev.thep.lu.se/svndigest
8#
9# svndigest is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 3 of the License, or
12# (at your option) any later version.
13#
14# svndigest is distributed in the hope that it will be useful, but
15# WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17# General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
21
22MOVE_IF_CHANGE = $(SHELL) $(abs_top_srcdir)/move-if-change
23
24AM_CPPFLAGS = $(SVNDIGEST_CPPFLAGS)
25AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
26
27noinst_LIBRARIES = libyat.a
28
29noinst_HEADERS  =
30noinst_HEADERS += ColumnStream.h
31noinst_HEADERS += CommandLine.h
32noinst_HEADERS += deprecate.h
33noinst_HEADERS += Exception.h
34noinst_HEADERS += FileUtil.h
35noinst_HEADERS += Option.h
36noinst_HEADERS += OptionArg.h
37noinst_HEADERS += OptionHelp.h
38noinst_HEADERS += OptionSwitch.h
39noinst_HEADERS += Segment.h
40noinst_HEADERS += SegmentSet.h
41noinst_HEADERS += SegmentTree.h
42noinst_HEADERS += split.h
43noinst_HEADERS += stl_utility.h
44noinst_HEADERS += utility.h
45noinst_HEADERS += yat_assert.h
46
47
48yat_cc_files =
49yat_cc_files += ColumnStream.cc
50yat_cc_files += CommandLine.cc
51yat_cc_files += Exception.cc
52yat_cc_files += FileUtil.cc
53yat_cc_files += Option.cc
54yat_cc_files += OptionHelp.cc
55yat_cc_files += OptionSwitch.cc
56yat_cc_files += split.cc
57
58libyat_a_SOURCES = $(yat_cc_files) dummie.cc
59
60clean-local:; rm -rf Fetchdir
61
62SVN = svn
63FETCH_FILES = config_public.h.in $(noinst_HEADERS) $(yat_cc_files)
64
65yat_url = http://dev.thep.lu.se/yat/svn/trunk/yat/utility
66
67fetch:
68  test -d Fetchdir || $(SVN) co $(yat_url) Fetchdir
69  (cd Fetchdir && $(SVN) revert -Rq . && $(SVN) update)
70  cp $(srcdir)/Exception.cc.patch Fetchdir
71  (cd Fetchdir && patch -i Exception.cc.patch || exit 1)
72  cp $(srcdir)/stl_utility.h.patch Fetchdir
73  (cd Fetchdir && patch -i stl_utility.h.patch || exit 1)
74  @for f in $(FETCH_FILES); do \
75    $(MOVE_IF_CHANGE) Fetchdir/$$f $(srcdir)/$$f; \
76  done
Note: See TracBrowser for help on using the repository browser.