File: Makefile.am

package info (click to toggle)
tree-puzzle 5.3~rc16%2Bdfsg-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,396 kB
  • sloc: ansic: 25,401; sh: 637; makefile: 215
file content (89 lines) | stat: -rwxr-xr-x 2,268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
#  Makefile.am
#
# 
#  Part of TREE-PUZZLE 5.2 (February 2005)
#
#  (c) 2003-2005 by Heiko A. Schmidt, Korbinian Strimmer, and Arndt von Haeseler
#  (c) 1999-2003 by Heiko A. Schmidt, Korbinian Strimmer,
#                   M. Vingron, and Arndt von Haeseler
#  (c) 1995-1999 by Korbinian Strimmer and Arndt von Haeseler
#
#  All parts of the source except where indicated are distributed under
#  the GNU public licence.  See http://www.opensource.org for details.
#
#  ($Id$)
#

# Be sure to reexport important environment variables.
TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
        CPPFLAGS="$(CPPFLAGS)" LD="$(LD)" LDFLAGS="$(LDFLAGS)" \
        LIBS="$(LIBS)" LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \
        EXEEXT="$(EXEEXT)" PACKAGE="$(PACKAGE)" VERSION="$(VERSION)"

TESTFILES =	\
  qp-pure-bin.test\
  qp-pure-nucl.test\
  qp-tn-nucl.test\
  qp-hky-clock-nucl.test\
  qp-hky-rhet-nucl.test\
  qp-hky-rhet-clock-nucl.test\
  qp-pure-prot.test\
  qp-mtrev-prot.test\
  qp-vt-prot.test\
  qp-wag-prot.test\
  qp-clock.test\
  qp-jtt-prot.test\
  qp-jtt-rhet-prot.test\
  qp-jtt-rhet-clock-prot.test\
  lm-pure-prot.test\
  ut-pure-prot.test\
  cons-pure-prot.test

TESTS =\
  build-puzzle\
  $(TESTFILES)\
  build-remark
	   
EXTRA_DIST = generate-scripts.sh template-test build-puzzle build-remark \
  $(TESTFILES)\
  check-qp-pure-bin\
  check-qp-pure-nucl\
  check-qp-tn-nucl\
  check-qp-hky-clock-nucl\
  check-qp-hky-rhet-nucl\
  check-qp-hky-rhet-clock-nucl\
  check-qp-pure-prot\
  check-qp-jtt-prot\
  check-qp-mtrev-prot\
  check-qp-vt-prot\
  check-qp-wag-prot\
  check-qp-clock\
  check-qp-jtt-rhet-prot\
  check-qp-jtt-rhet-clock-prot\
  check-lm-pure-prot\
  check-ut-pure-prot\
  check-cons-pure-prot

build-puzzle: $(top_builddir)/src/puzzle
build-remark:

$(top_builddir)/src/puzzle:
	cd $(top_builddir) && $(MAKE) all

generate: 
	VERSION="$(VERSION)"; export VERSION; \
	if test -x generate-scripts.sh -a -f template-test; then \
	  echo "generating test scripts:"; \
	  ./generate-scripts.sh; \
	fi; \
	echo "generating check files:"; \
	for testprog in $(TESTS); do \
	  if test -x ./$$testprog ; then \
	    ./$$testprog -g; \
	  fi; \
	done

clean:
	rm -f *.nucl.* *.prot.* *.bin.* *.trees.* *.ctrees.*