2 |
19 Feb 03 |
jari |
## Process this file with automake to produce Makefile.in |
2 |
19 Feb 03 |
jari |
2 |
## |
2 |
19 Feb 03 |
jari |
3 |
|
1673 |
22 Dec 08 |
peter |
# $Id$ |
1673 |
22 Dec 08 |
peter |
5 |
# |
2119 |
12 Dec 09 |
peter |
# Copyright (C) 2003 Daniel Dalevi, Jari Häkkinen |
572 |
06 Apr 06 |
jari |
# Copyright (C) 2005 Peter Johansson |
2119 |
12 Dec 09 |
peter |
# Copyright (C) 2006 Jari Häkkinen |
4359 |
23 Aug 23 |
peter |
# Copyright (C) 2007 Peter Johansson |
4359 |
23 Aug 23 |
peter |
# Copyright (C) 2008 Jari Häkkinen, Peter Johansson |
4359 |
23 Aug 23 |
peter |
# Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2020, 2023 Peter Johansson |
572 |
06 Apr 06 |
jari |
12 |
# |
1437 |
25 Aug 08 |
peter |
# This file is part of the yat library, http://dev.thep.lu.se/yat |
572 |
06 Apr 06 |
jari |
14 |
# |
675 |
10 Oct 06 |
jari |
# The yat library is free software; you can redistribute it and/or |
675 |
10 Oct 06 |
jari |
# modify it under the terms of the GNU General Public License as |
1486 |
09 Sep 08 |
jari |
# published by the Free Software Foundation; either version 3 of the |
572 |
06 Apr 06 |
jari |
# License, or (at your option) any later version. |
572 |
06 Apr 06 |
jari |
19 |
# |
675 |
10 Oct 06 |
jari |
# The yat library is distributed in the hope that it will be useful, |
572 |
06 Apr 06 |
jari |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
675 |
10 Oct 06 |
jari |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
572 |
06 Apr 06 |
jari |
# General Public License for more details. |
572 |
06 Apr 06 |
jari |
24 |
# |
572 |
06 Apr 06 |
jari |
# You should have received a copy of the GNU General Public License |
1487 |
10 Sep 08 |
jari |
# along with yat. If not, see <http://www.gnu.org/licenses/>. |
572 |
06 Apr 06 |
jari |
27 |
|
1439 |
27 Aug 08 |
peter |
# -I arg should be the same as arg in AC_CONFIG_MACRO_DIR in configure.ac |
2063 |
14 Sep 09 |
peter |
29 |
ACLOCAL_AMFLAGS = -I m4 |
1388 |
24 Jul 08 |
peter |
30 |
|
2739 |
07 Jun 12 |
peter |
31 |
CLEANFILES = |
2739 |
07 Jun 12 |
peter |
32 |
DOXYGEN_INPUT = |
2739 |
07 Jun 12 |
peter |
33 |
EXTRA_DIST = |
2739 |
07 Jun 12 |
peter |
34 |
MOSTLYCLEANFILES = |
2853 |
23 Sep 12 |
peter |
## append targets to this variable for tests included in 'make installcheck' |
2853 |
23 Sep 12 |
peter |
36 |
INSTALL_CHECK_TARGETS = |
573 |
06 Apr 06 |
jari |
37 |
|
2739 |
07 Jun 12 |
peter |
38 |
FORCE: |
573 |
06 Apr 06 |
jari |
39 |
|
2744 |
08 Jun 12 |
peter |
## variable to used to switch between verbose output and silence |
2744 |
08 Jun 12 |
peter |
## yat_dev_null expands to empty string in verbose mode and to > |
2744 |
08 Jun 12 |
peter |
## /dev/null in silent mode, so 'echo hello $(yat_dev_null)' will |
2744 |
08 Jun 12 |
peter |
## display hello in verbose mode and being silent in silent mode. |
2744 |
08 Jun 12 |
peter |
44 |
yat_dev_null = $(yat_dev_null_$(V)) |
2744 |
08 Jun 12 |
peter |
45 |
yat_dev_null_ = $(yat_dev_null_$(AM_DEFAULT_VERBOSITY)) |
2744 |
08 Jun 12 |
peter |
46 |
yat_dev_null_0 = > /dev/null |
2744 |
08 Jun 12 |
peter |
47 |
|
2739 |
07 Jun 12 |
peter |
48 |
include build_support/Makefile.am |
2739 |
07 Jun 12 |
peter |
## yat/Makefile.am contains DOXYGEN definitions, so needs to be |
2739 |
07 Jun 12 |
peter |
## included before doc/Makefile |
2739 |
07 Jun 12 |
peter |
51 |
include yat/Makefile.am |
2739 |
07 Jun 12 |
peter |
52 |
include doc/Makefile.am |
2739 |
07 Jun 12 |
peter |
53 |
include m4/Makefile.am |
2739 |
07 Jun 12 |
peter |
54 |
include test/Makefile.am |
1673 |
22 Dec 08 |
peter |
55 |
|
2775 |
13 Jul 12 |
peter |
56 |
EXTRA_DIST += doc/Makefile |
2775 |
13 Jul 12 |
peter |
57 |
EXTRA_DIST += test/Makefile |
2775 |
13 Jul 12 |
peter |
58 |
EXTRA_DIST += yat/random/Makefile |
2775 |
13 Jul 12 |
peter |
59 |
EXTRA_DIST += yat/regression/Makefile |
2775 |
13 Jul 12 |
peter |
60 |
EXTRA_DIST += yat/normalizer/Makefile |
2775 |
13 Jul 12 |
peter |
61 |
EXTRA_DIST += yat/classifier/Makefile |
2775 |
13 Jul 12 |
peter |
62 |
EXTRA_DIST += yat/omic/Makefile |
2775 |
13 Jul 12 |
peter |
63 |
EXTRA_DIST += yat/statistics/Makefile |
2775 |
13 Jul 12 |
peter |
64 |
EXTRA_DIST += yat/utility/Makefile |
2775 |
13 Jul 12 |
peter |
65 |
EXTRA_DIST += yat/Makefile |
2749 |
18 Jun 12 |
peter |
66 |
|
2739 |
07 Jun 12 |
peter |
67 |
clean-local: |
3987 |
26 Aug 20 |
peter |
68 |
rm -rf doc/html test/yathello test/testSubDir test/lib |
2739 |
07 Jun 12 |
peter |
69 |
|
2853 |
23 Sep 12 |
peter |
70 |
installcheck-local: $(INSTALL_CHECK_TARGETS) |
2853 |
23 Sep 12 |
peter |
71 |
|
2739 |
07 Jun 12 |
peter |
72 |
.PHONY: doc maintainer-check news-check svn-check svn-clean release |
2739 |
07 Jun 12 |
peter |
73 |
|
2106 |
06 Nov 09 |
peter |
# like the normal install target, but does not update header files |
2462 |
11 Apr 11 |
peter |
# (and their time stamps) if the content did not change. |
2105 |
06 Nov 09 |
peter |
76 |
install-modified: |
2105 |
06 Nov 09 |
peter |
77 |
$(MAKE) install $(AM_MAKEFLAGS) INSTALL_HEADER="$(install_sh_DATA) -C" |
2105 |
06 Nov 09 |
peter |
78 |
|
2112 |
15 Nov 09 |
peter |
79 |
############################################################### |
2739 |
07 Jun 12 |
peter |
80 |
## |
2112 |
15 Nov 09 |
peter |
## Some targets useful for the maintainer |
2112 |
15 Nov 09 |
peter |
82 |
## |
2775 |
13 Jul 12 |
peter |
83 |
MAINTAINER_CHECK_LOCAL = maintainer-check-local |
2112 |
15 Nov 09 |
peter |
84 |
RELEASE_LOCAL = ltversion-check |
2112 |
15 Nov 09 |
peter |
85 |
|
2112 |
15 Nov 09 |
peter |
86 |
.PHONY: maintainer-check-local ltversion-check |
2112 |
15 Nov 09 |
peter |
87 |
|
2112 |
15 Nov 09 |
peter |
88 |
ltversion-check: |
2112 |
15 Nov 09 |
peter |
89 |
@case `sed 200q $(srcdir)/m4/version.m4` in \ |
2112 |
15 Nov 09 |
peter |
90 |
*yat-$(VERSION)*$(YAT_LT_VERSION)*);; \ |
2112 |
15 Nov 09 |
peter |
91 |
*) \ |
2112 |
15 Nov 09 |
peter |
92 |
echo "version.m4: YAT_LT_VERSION not updated;" 1>&2;\ |
2112 |
15 Nov 09 |
peter |
93 |
echo " expected to find 'yat-$(VERSION) $(YAT_LT_VERSION)'" 1>&2;\ |
2112 |
15 Nov 09 |
peter |
94 |
exit 1;; \ |
2112 |
15 Nov 09 |
peter |
95 |
esac |
2112 |
15 Nov 09 |
peter |
96 |
|
3098 |
28 Oct 13 |
peter |
97 |
maintainer-check-local: |
3098 |
28 Oct 13 |
peter |
98 |
$(MAKE) $(AM_MAKEFLAGS) mc_installcheck |
3990 |
26 Aug 20 |
peter |
99 |
$(MAKE) $(AM_MAKEFLAGS) mc_without_htslib |
3098 |
28 Oct 13 |
peter |
100 |
$(MAKE) $(AM_MAKEFLAGS) yat-pc-check |
2775 |
13 Jul 12 |
peter |
101 |
|
2775 |
13 Jul 12 |
peter |
102 |
mc_installcheck: |
2112 |
15 Nov 09 |
peter |
103 |
mkdir _inst |
2112 |
15 Nov 09 |
peter |
104 |
@mcl_install=`cd _inst && pwd` \ |
2417 |
29 Jan 11 |
peter |
105 |
&& $(MAKE) $(AM_MAKEFLAGS) clean \ |
2112 |
15 Nov 09 |
peter |
106 |
&& $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install \ |
2853 |
23 Sep 12 |
peter |
107 |
&& $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install doc \ |
2112 |
15 Nov 09 |
peter |
108 |
&& $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install install \ |
2739 |
07 Jun 12 |
peter |
109 |
&& $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install installcheck |
2112 |
15 Nov 09 |
peter |
110 |
|
2418 |
30 Jan 11 |
peter |
# check that yat.pc is correctly generated with different combinations |
2418 |
30 Jan 11 |
peter |
# of ./configure; make. This target is typically used within |
2604 |
31 Oct 11 |
peter |
# mainatiner-check; if used outside maintainer-check, please note that |
2436 |
12 Mar 11 |
peter |
# the target calls configure possibly with other arguments, so it's |
2418 |
30 Jan 11 |
peter |
# probably a good a idea to re-configure afterwards. |
2418 |
30 Jan 11 |
peter |
116 |
yat-pc-check: |
2418 |
30 Jan 11 |
peter |
117 |
$(SHELL) $(srcdir)/configure $(DISTCHECK_CONFIGURE_FLAGS) \ |
3018 |
04 Apr 13 |
peter |
118 |
&& rm -f build_support/yat.pc && $(MAKE) $(AM_MAKEFLAGS) \ |
2739 |
07 Jun 12 |
peter |
119 |
&& $(GREP) '^prefix=/usr/local' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
120 |
&& $(GREP) '^exec_prefix=$${prefix}' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
121 |
&& $(GREP) '^libdir=$${exec_prefix}/lib' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
122 |
&& $(GREP) '^includedir=$${prefix}/include' build_support/yat.pc \ |
3018 |
04 Apr 13 |
peter |
123 |
&& rm -f build_support/yat.pc && $(MAKE) $(AM_MAKEFLAGS) prefix=foo \ |
2739 |
07 Jun 12 |
peter |
124 |
&& $(GREP) '^prefix=foo' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
125 |
&& $(GREP) '^exec_prefix=$${prefix}' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
126 |
&& $(GREP) '^libdir=$${exec_prefix}/lib' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
127 |
&& $(GREP) '^includedir=$${prefix}/include' build_support/yat.pc \ |
3018 |
04 Apr 13 |
peter |
128 |
&& rm -f build_support/yat.pc \ |
3018 |
04 Apr 13 |
peter |
129 |
&& $(MAKE) $(AM_MAKEFLAGS) prefix=foo exec_prefix=bar \ |
2739 |
07 Jun 12 |
peter |
130 |
&& $(GREP) '^prefix=foo' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
131 |
&& $(GREP) '^exec_prefix=bar' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
132 |
&& $(GREP) '^libdir=$${exec_prefix}/lib' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
133 |
&& $(GREP) '^includedir=$${prefix}/include' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
134 |
&& rm -f build_support/yat.pc \ |
3018 |
04 Apr 13 |
peter |
135 |
&& $(MAKE) $(AM_MAKEFLAGS) prefix=foo exec_prefix=bar libdir=baz includedir=quz \ |
2739 |
07 Jun 12 |
peter |
136 |
&& $(GREP) '^prefix=foo' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
137 |
&& $(GREP) '^exec_prefix=bar' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
138 |
&& $(GREP) '^libdir=baz' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
139 |
&& $(GREP) '^includedir=quz' build_support/yat.pc \ |
2418 |
30 Jan 11 |
peter |
140 |
&& $(SHELL) $(srcdir)/configure $(DISTCHECK_CONFIGURE_FLAGS) exec_prefix=/t \ |
3018 |
04 Apr 13 |
peter |
141 |
&& rm -f build_support/yat.pc && $(MAKE) $(AM_MAKEFLAGS) \ |
2739 |
07 Jun 12 |
peter |
142 |
&& $(GREP) '^prefix=/usr/local' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
143 |
&& $(GREP) '^exec_prefix=/t' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
144 |
&& $(GREP) '^libdir=$${exec_prefix}/lib' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
145 |
&& $(GREP) '^includedir=$${prefix}/include' build_support/yat.pc \ |
3018 |
04 Apr 13 |
peter |
146 |
&& rm -f build_support/yat.pc && $(MAKE) $(AM_MAKEFLAGS) prefix=foo \ |
2739 |
07 Jun 12 |
peter |
147 |
&& $(GREP) '^prefix=foo' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
148 |
&& $(GREP) '^exec_prefix=/t' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
149 |
&& $(GREP) '^libdir=$${exec_prefix}/lib' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
150 |
&& $(GREP) '^includedir=$${prefix}/include' build_support/yat.pc \ |
3018 |
04 Apr 13 |
peter |
151 |
&& rm -f build_support/yat.pc \ |
3018 |
04 Apr 13 |
peter |
152 |
&& $(MAKE) $(AM_MAKEFLAGS) prefix=foo exec_prefix=bar \ |
2739 |
07 Jun 12 |
peter |
153 |
&& $(GREP) '^prefix=foo' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
154 |
&& $(GREP) '^exec_prefix=bar' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
155 |
&& $(GREP) '^libdir=$${exec_prefix}/lib' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
156 |
&& $(GREP) '^includedir=$${prefix}/include' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
157 |
&& rm -f build_support/yat.pc \ |
3018 |
04 Apr 13 |
peter |
158 |
&& $(MAKE) $(AM_MAKEFLAGS) prefix=foo exec_prefix=bar libdir=baz includedir=quz \ |
2739 |
07 Jun 12 |
peter |
159 |
&& $(GREP) '^prefix=foo' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
160 |
&& $(GREP) '^exec_prefix=bar' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
161 |
&& $(GREP) '^libdir=baz' build_support/yat.pc \ |
2739 |
07 Jun 12 |
peter |
162 |
&& $(GREP) '^includedir=quz' build_support/yat.pc |
2418 |
30 Jan 11 |
peter |
163 |
|
4326 |
12 Mar 23 |
peter |
164 |
include yat_am_local.am |
2943 |
04 Jan 13 |
peter |
165 |
|
2943 |
04 Jan 13 |
peter |
# run within maintainer-check |
3400 |
30 Mar 15 |
peter |
# try ./configure --without-htslib; make; make check |
3990 |
26 Aug 20 |
peter |
168 |
mc_without_htslib: |
3400 |
30 Mar 15 |
peter |
169 |
@rm -rf _mc_without_htslib |
3400 |
30 Mar 15 |
peter |
170 |
mkdir _mc_without_htslib |
3400 |
30 Mar 15 |
peter |
171 |
cd _mc_without_htslib \ |
3400 |
30 Mar 15 |
peter |
172 |
&& ../$(srcdir)/configure $(DISTCHECK_CONFIGURE_FLAGS) --without-htslib \ |
2943 |
04 Jan 13 |
peter |
173 |
&& $(MAKE) $(AM_MAKEFLAGS) && $(MAKE) check $(AM_MAKEFLAGS) |