1 | ## Process this file with automake to produce Makefile.in |
---|
2 | ## |
---|
3 | ## $Id: Makefile.am 1055 2010-04-21 15:16:54Z peter $ |
---|
4 | |
---|
5 | # Copyright (C) 2005, 2006, 2007, 2008, 2009 Jari Häkkinen, Peter Johansson |
---|
6 | # Copyright (C) 2010 Peter Johansson |
---|
7 | # |
---|
8 | # This file is part of svndigest, http://dev.thep.lu.se/svndigest |
---|
9 | # |
---|
10 | # svndigest is free software; you can redistribute it and/or modify it |
---|
11 | # under the terms of the GNU General Public License as published by |
---|
12 | # the Free Software Foundation; either version 3 of the License, or |
---|
13 | # (at your option) any later version. |
---|
14 | # |
---|
15 | # svndigest is distributed in the hope that it will be useful, but |
---|
16 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
18 | # General Public License for more details. |
---|
19 | # |
---|
20 | # You should have received a copy of the GNU General Public License |
---|
21 | # along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
---|
22 | |
---|
23 | check_SCRIPTS = svn_update.sh init.sh |
---|
24 | |
---|
25 | ## we use suffix .cc for all source |
---|
26 | AM_DEFAULT_SOURCE_EXT = .cc |
---|
27 | |
---|
28 | EXTRA_PROGRAMS = cache_partial_test color_test \ |
---|
29 | config_test copyright_test date_test \ |
---|
30 | htmlstream_test \ |
---|
31 | parser_test stats_test trac_test utility_test |
---|
32 | |
---|
33 | CLEANFILES = $(EXTRA_PROGRAMS) |
---|
34 | |
---|
35 | distributed_TESTS = |
---|
36 | distributed_TESTS += cmd_format_test.sh |
---|
37 | distributed_TESTS += config2_test.sh |
---|
38 | distributed_TESTS += copyright2_test.sh |
---|
39 | distributed_TESTS += repo_status_test.sh |
---|
40 | distributed_TESTS += repo_test.sh |
---|
41 | distributed_TESTS += svncopyright_test.sh |
---|
42 | distributed_TESTS += svndigest_copy_cache_test.sh |
---|
43 | |
---|
44 | TESTS = $(EXTRA_PROGRAMS) $(distributed_TESTS) |
---|
45 | |
---|
46 | TEST_EXTENSIONS = .sh |
---|
47 | |
---|
48 | EXTRA_DIST = $(distributed_TESTS) |
---|
49 | |
---|
50 | # tests not yet passing are listed here |
---|
51 | XFAIL_TESTS = |
---|
52 | |
---|
53 | noinst_HEADERS = Suite.h |
---|
54 | |
---|
55 | check_LIBRARIES = libsvndigesttest.a |
---|
56 | |
---|
57 | |
---|
58 | LDADD = $(builddir)/libsvndigesttest.a \ |
---|
59 | $(top_builddir)/lib/libsvndigest.a \ |
---|
60 | $(top_builddir)/lib/yat/libyat.a \ |
---|
61 | $(SVN_LIBS) $(APR_LIBS) $(PLPLOT_LIBS) |
---|
62 | AM_LDFLAGS = $(APR_LDFLAGS) $(SVN_LDFLAGS) $(PLPLOT_LDFLAGS) |
---|
63 | |
---|
64 | AM_CPPFLAGS = -I$(top_srcdir)/lib $(APR_CPPFLAGS) $(SVN_CPPFLAGS) \ |
---|
65 | $(DEFAULT_CPPFLAGS) $(PLPLOT_CPPFLAGS) |
---|
66 | AM_CXXFLAGS = $(DEFAULT_CXXFLAGS) |
---|
67 | |
---|
68 | libsvndigesttest_a_SOURCES = Suite.cc |
---|
69 | |
---|
70 | clean-local: |
---|
71 | rm -rf generated_output toy_project |
---|
72 | |
---|
73 | mostlyclean-local: |
---|
74 | rm -f *.png *.tmp *~ .toy_project2 |
---|
75 | |
---|
76 | .PHONY: lazycheck |
---|
77 | |
---|
78 | lazycheck:; $(MAKE) $(AM_MAKEFLAGS) check RECHECK_LOGS= |
---|
79 | |
---|
80 | # dependencies for lazycheck |
---|
81 | cmd_format_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT) |
---|
82 | config2_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT) |
---|
83 | copyright2_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT) |
---|
84 | repo_status_test.log:init.sh |
---|
85 | repo_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT) |
---|
86 | svncopyright_test.log:init.sh $(top_builddir)/bin/svncopyright$(EXEEXT) |
---|
87 | svndigest_copy_cache_test.log:init.sh $(top_builddir)/bin/svndigest-copy-cache |
---|
88 | |
---|
89 | |
---|