Fix SRFI-37 `args-fold' with short option names of argument-less options.
[bpt/guile.git] / test-suite / standalone / Makefile.am
CommitLineData
d7a88afe
KR
1## Process this file with automake to produce Makefile.in.
2##
b226295a 3## Copyright 2003, 2004, 2005, 2006, 2007, 2008 Software Foundation, Inc.
d7a88afe
KR
4##
5## This file is part of GUILE.
6##
7## GUILE is free software; you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as
9## published by the Free Software Foundation; either version 2, or
10## (at your option) any later version.
11##
12## GUILE is distributed in the hope that it will be useful, but
13## WITHOUT ANY WARRANTY; without even the implied warranty of
14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15## GNU General Public License for more details.
16##
17## You should have received a copy of the GNU General Public
18## License along with GUILE; see the file COPYING. If not, write
19## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
20## Floor, Boston, MA 02110-1301 USA
21
6405ae86
RB
22
23# initializations so we can use += below.
24TESTS =
25noinst_LTLIBRARIES =
26check_PROGRAMS =
27check_SCRIPTS =
28BUILT_SOURCES =
29
30TESTS_ENVIRONMENT = "${top_builddir}/pre-inst-guile-env"
31
23d72566 32test_cflags = \
6405ae86
RB
33 -I$(top_srcdir)/test-suite/standalone \
34 -I$(top_srcdir) \
c8bb98a9 35 $(EXTRA_DEFS) $(GUILE_CFLAGS)
ae90bbb5 36
7108b7b8 37AM_LDFLAGS = $(GUILE_CFLAGS)
6405ae86 38
f1efbdf3
MD
39snarfcppopts = \
40 $(DEFS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $(CFLAGS) -I$(top_srcdir)
23d72566
KR
41SUFFIXES = .x
42.c.x:
6405ae86
RB
43 ${top_builddir}/libguile/guile-snarf -o $@ $< $(snarfcppopts)
44
8f9ae7fd 45CLEANFILES = *.x
6405ae86
RB
46
47.DELETE_ON_ERROR:
48
060ffedf
RB
49check_SCRIPTS += test-system-cmds
50TESTS += test-system-cmds
51
d69668b7
NJ
52check_SCRIPTS += test-bad-identifiers
53TESTS += test-bad-identifiers
54
87681707
RB
55check_SCRIPTS += test-require-extension
56TESTS += test-require-extension
57
6405ae86
RB
58# test-num2integral
59test_num2integral_SOURCES = test-num2integral.c
60test_num2integral_CFLAGS = ${test_cflags}
61test_num2integral_LDADD = ${top_builddir}/libguile/libguile.la
62check_PROGRAMS += test-num2integral
63TESTS += test-num2integral
64
be4381fa
KR
65# test-round
66test_round_CFLAGS = ${test_cflags}
67test_round_LDADD = ${top_builddir}/libguile/libguile.la
68check_PROGRAMS += test-round
69TESTS += test-round
70
6405ae86
RB
71# test-gh
72test_gh_SOURCES = test-gh.c
73test_gh_CFLAGS = ${test_cflags}
74test_gh_LDADD = ${top_builddir}/libguile/libguile.la
75check_PROGRAMS += test-gh
76TESTS += test-gh
77
78# test-asmobs
79noinst_LTLIBRARIES += libtest-asmobs.la
8f9ae7fd 80libtest_asmobs_la_SOURCES = test-asmobs-lib.c test-asmobs-lib.x
6405ae86 81libtest_asmobs_la_CFLAGS = ${test_cflags}
2e945bcc 82libtest_asmobs_la_LDFLAGS = -no-undefined -rpath `pwd` # so libtool will really build an .so
6405ae86 83libtest_asmobs_la_LIBADD = ${top_builddir}/libguile/libguile.la
8f9ae7fd 84BUILT_SOURCES += test-asmobs-lib.x
6405ae86
RB
85check_SCRIPTS += test-asmobs
86TESTS += test-asmobs
87
d7a88afe
KR
88# test-list
89test_list_SOURCES = test-list.c
90test_list_CFLAGS = ${test_cflags}
91test_list_LDADD = ${top_builddir}/libguile/libguile.la
92check_PROGRAMS += test-list
93TESTS += test-list
94
3c8fb18e
MV
95# test-unwind
96test_unwind_SOURCES = test-unwind.c
97test_unwind_CFLAGS = ${test_cflags}
98test_unwind_LDADD = ${top_builddir}/libguile/libguile.la
99check_PROGRAMS += test-unwind
100TESTS += test-unwind
101
2aac7a48
MV
102# test-conversion
103test_conversion_SOURCES = test-conversion.c
104test_conversion_CFLAGS = ${test_cflags}
105test_conversion_LDADD = ${top_builddir}/libguile/libguile.la
106check_PROGRAMS += test-conversion
107TESTS += test-conversion
108
23d72566 109# test-use-srfi
4505fbb1 110check_SCRIPTS += test-use-srfi
23d72566
KR
111TESTS += test-use-srfi
112
3ac8359a
NJ
113# test-with-guile-module
114test_with_guile_module_CFLAGS = ${test_cflags}
115test_with_guile_module_LDADD = ${top_builddir}/libguile/libguile.la
116check_PROGRAMS += test-with-guile-module
117TESTS += test-with-guile-module
118
6405ae86
RB
119all-local:
120 cd ${srcdir} && chmod u+x ${check_SCRIPTS}
121
122EXTRA_DIST = ${check_SCRIPTS}