1 | AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te
|
---|
2 |
|
---|
3 | TESTSUITE = $(srcdir)/testsuite
|
---|
4 |
|
---|
5 | EXTRA_DIST = \
|
---|
6 | testsuite.at \
|
---|
7 | $(TESTSUITE) \
|
---|
8 | atlocal.in \
|
---|
9 | molecuilder.in \
|
---|
10 | package.m4 \
|
---|
11 | trianglematcher.in \
|
---|
12 | $(srcdir)/Convex/1_2-dimethoxyethane \
|
---|
13 | $(srcdir)/Convex/1_2-dimethylbenzene \
|
---|
14 | $(srcdir)/Convex/2-methylcyclohexanone \
|
---|
15 | $(srcdir)/Convex/amylose \
|
---|
16 | $(srcdir)/Convex/benzene \
|
---|
17 | $(srcdir)/Convex/cholesterol \
|
---|
18 | $(srcdir)/Convex/cycloheptane \
|
---|
19 | $(srcdir)/Convex/dimethyl_bromomalonate \
|
---|
20 | $(srcdir)/Convex/glucose \
|
---|
21 | $(srcdir)/Convex/heptan \
|
---|
22 | $(srcdir)/Convex/isoleucine \
|
---|
23 | $(srcdir)/Convex/neohexane \
|
---|
24 | $(srcdir)/Convex/N_N-dimethylacetamide \
|
---|
25 | $(srcdir)/Convex/proline \
|
---|
26 | $(srcdir)/Convex/putrescine \
|
---|
27 | $(srcdir)/Convex/tartaric_acid \
|
---|
28 | $(srcdir)/NonConvex/1_2-dimethoxyethane \
|
---|
29 | $(srcdir)/NonConvex/1_2-dimethylbenzene \
|
---|
30 | $(srcdir)/NonConvex/2-methylcyclohexanone \
|
---|
31 | $(srcdir)/NonConvex/benzene \
|
---|
32 | $(srcdir)/NonConvex/cholesterol \
|
---|
33 | $(srcdir)/NonConvex/cycloheptane \
|
---|
34 | $(srcdir)/NonConvex/dimethyl_bromomalonate \
|
---|
35 | $(srcdir)/NonConvex/glucose \
|
---|
36 | $(srcdir)/NonConvex/heptan \
|
---|
37 | $(srcdir)/NonConvex/isoleucine \
|
---|
38 | $(srcdir)/NonConvex/neohexane \
|
---|
39 | $(srcdir)/NonConvex/N_N-dimethylacetamide \
|
---|
40 | $(srcdir)/NonConvex/proline \
|
---|
41 | $(srcdir)/NonConvex/putrescine \
|
---|
42 | $(srcdir)/NonConvex/tartaric_acid
|
---|
43 |
|
---|
44 | DISTCLEANFILES = atconfig
|
---|
45 |
|
---|
46 | TESTSCRIPTS = \
|
---|
47 | Convex/1_2-dimethoxyethane/testsuite-1_2-dimethoxyethane.at \
|
---|
48 | Convex/1_2-dimethylbenzene/testsuite-1_2-dimethylbenzene.at \
|
---|
49 | Convex/2-methylcyclohexanone/testsuite-2-methylcyclohexanone.at \
|
---|
50 | Convex/benzene/testsuite-benzene.at \
|
---|
51 | Convex/amylose/testsuite-amylose.at \
|
---|
52 | Convex/cholesterol/testsuite-cholesterol.at \
|
---|
53 | Convex/cycloheptane/testsuite-cycloheptane.at \
|
---|
54 | Convex/dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate.at \
|
---|
55 | Convex/glucose/testsuite-glucose.at \
|
---|
56 | Convex/isoleucine/testsuite-isoleucine.at \
|
---|
57 | Convex/neohexane/testsuite-neohexane.at \
|
---|
58 | Convex/N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide.at \
|
---|
59 | Convex/proline/testsuite-proline.at \
|
---|
60 | Convex/putrescine/testsuite-putrescine.at \
|
---|
61 | Convex/tartaric_acid/testsuite-tartaric_acid.at \
|
---|
62 | NonConvex/1_2-dimethoxyethane/testsuite-1_2-dimethoxyethane.at \
|
---|
63 | NonConvex/1_2-dimethylbenzene/testsuite-1_2-dimethylbenzene.at \
|
---|
64 | NonConvex/2-methylcyclohexanone/testsuite-2-methylcyclohexanone.at \
|
---|
65 | NonConvex/benzene/testsuite-benzene.at \
|
---|
66 | NonConvex/cholesterol/testsuite-cholesterol.at \
|
---|
67 | NonConvex/cycloheptane/testsuite-cycloheptane.at \
|
---|
68 | NonConvex/dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate.at \
|
---|
69 | NonConvex/glucose/testsuite-glucose.at \
|
---|
70 | NonConvex/isoleucine/testsuite-isoleucine.at \
|
---|
71 | NonConvex/neohexane/testsuite-neohexane.at \
|
---|
72 | NonConvex/N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide.at \
|
---|
73 | NonConvex/proline/testsuite-proline.at \
|
---|
74 | NonConvex/putrescine/testsuite-putrescine.at \
|
---|
75 | NonConvex/tartaric_acid/testsuite-tartaric_acid.at
|
---|
76 |
|
---|
77 |
|
---|
78 | max_jobs = 4
|
---|
79 |
|
---|
80 | check-local: atconfig atlocal molecuilder trianglematcher $(TESTSUITE)
|
---|
81 | nrjobs=; \
|
---|
82 | for flag in $$MAKEFLAGS; do \
|
---|
83 | case $$flag in \
|
---|
84 | --* | =*=) ;; \
|
---|
85 | *j*) nrjobs="-j$(max_jobs)" ;; \
|
---|
86 | esac; \
|
---|
87 | done; \
|
---|
88 | $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(abs_top_builddir)/src' $(TESTSUITEFLAGS)
|
---|
89 |
|
---|
90 | installcheck-local: atconfig atlocal molecuilder trianglematcher $(TESTSUITE)
|
---|
91 | nrjobs=; \
|
---|
92 | for flag in $$MAKEFLAGS; do \
|
---|
93 | case $$flag in \
|
---|
94 | --* | =*=) ;; \
|
---|
95 | *j*) nrjobs="-j$(max_jobs)" ;; \
|
---|
96 | esac; \
|
---|
97 | done; \
|
---|
98 | $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(bindir)' $(TESTSUITEFLAGS)
|
---|
99 |
|
---|
100 | clean-local:
|
---|
101 | test ! -f '$(TESTSUITE)' || \
|
---|
102 | $(SHELL) '$(TESTSUITE)' --clean
|
---|
103 |
|
---|
104 | AUTOTEST = $(AUTOM4TE) --language=autotest
|
---|
105 | $(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
|
---|
106 | $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
|
---|
107 | mv $@.tmp $@
|
---|
108 |
|
---|
109 | # The `:;' works around a Bash 3.2 bug when the output is not writeable.
|
---|
110 | package.m4: $(top_srcdir)/configure.ac
|
---|
111 | :;{ \
|
---|
112 | echo '# Signature of the current package.' && \
|
---|
113 | echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
|
---|
114 | echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
|
---|
115 | echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
|
---|
116 | echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
|
---|
117 | echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
|
---|
118 | } >'package.m4'
|
---|