~peter-pearse/ubuntu/natty/guile-1.8/prop001

« back to all changes in this revision

Viewing changes to test-suite/standalone/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2006-11-09 03:11:16 UTC
  • Revision ID: james.westby@ubuntu.com-20061109031116-hu0q1jxqg12y6yeg
Tags: upstream-1.8.1+1
ImportĀ upstreamĀ versionĀ 1.8.1+1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in.
 
2
##
 
3
## Copyright 2003, 2004, 2005, 2006 Software Foundation, Inc.
 
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
 
 
22
 
 
23
# initializations so we can use += below.
 
24
TESTS =
 
25
noinst_LTLIBRARIES =
 
26
check_PROGRAMS = 
 
27
check_SCRIPTS =
 
28
BUILT_SOURCES =
 
29
 
 
30
TESTS_ENVIRONMENT = "${top_builddir}/pre-inst-guile-env"
 
31
 
 
32
test_cflags := \
 
33
  -I$(top_srcdir)/test-suite/standalone \
 
34
  -I$(top_srcdir) \
 
35
  -I$(top_srcdir)/libguile-ltdl $(EXTRA_DEFS) $(GUILE_CFLAGS)
 
36
 
 
37
AM_LDFLAGS = $(GUILE_CFLAGS)
 
38
 
 
39
snarfcppopts = \
 
40
  $(DEFS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $(CFLAGS) -I$(top_srcdir)
 
41
%.x: %.c
 
42
        ${top_builddir}/libguile/guile-snarf -o $@ $< $(snarfcppopts)
 
43
 
 
44
CLEANFILES = *.x
 
45
 
 
46
.DELETE_ON_ERROR:
 
47
 
 
48
check_SCRIPTS += test-system-cmds
 
49
TESTS += test-system-cmds
 
50
 
 
51
check_SCRIPTS += test-require-extension
 
52
TESTS += test-require-extension
 
53
 
 
54
# test-num2integral
 
55
test_num2integral_SOURCES = test-num2integral.c
 
56
test_num2integral_CFLAGS = ${test_cflags}
 
57
test_num2integral_LDADD = ${top_builddir}/libguile/libguile.la
 
58
check_PROGRAMS += test-num2integral
 
59
TESTS += test-num2integral
 
60
 
 
61
# test-round
 
62
test_round_CFLAGS = ${test_cflags}
 
63
test_round_LDADD = ${top_builddir}/libguile/libguile.la
 
64
check_PROGRAMS += test-round
 
65
TESTS += test-round
 
66
 
 
67
# test-gh
 
68
test_gh_SOURCES = test-gh.c
 
69
test_gh_CFLAGS = ${test_cflags}
 
70
test_gh_LDADD = ${top_builddir}/libguile/libguile.la
 
71
check_PROGRAMS += test-gh
 
72
TESTS += test-gh
 
73
 
 
74
# test-asmobs
 
75
noinst_LTLIBRARIES += libtest-asmobs.la
 
76
libtest_asmobs_la_SOURCES = test-asmobs-lib.c test-asmobs-lib.x
 
77
libtest_asmobs_la_CFLAGS = ${test_cflags}
 
78
libtest_asmobs_la_LDFLAGS = -no-undefined -rpath `pwd` # so libtool will really build an .so
 
79
libtest_asmobs_la_LIBADD = ${top_builddir}/libguile/libguile.la
 
80
BUILT_SOURCES += test-asmobs-lib.x
 
81
check_SCRIPTS += test-asmobs
 
82
TESTS += test-asmobs
 
83
 
 
84
# test-list
 
85
test_list_SOURCES = test-list.c
 
86
test_list_CFLAGS = ${test_cflags}
 
87
test_list_LDADD = ${top_builddir}/libguile/libguile.la
 
88
check_PROGRAMS += test-list
 
89
TESTS += test-list
 
90
 
 
91
# test-unwind
 
92
test_unwind_SOURCES = test-unwind.c
 
93
test_unwind_CFLAGS = ${test_cflags}
 
94
test_unwind_LDADD = ${top_builddir}/libguile/libguile.la
 
95
check_PROGRAMS += test-unwind
 
96
TESTS += test-unwind
 
97
 
 
98
# test-conversion
 
99
test_conversion_SOURCES = test-conversion.c
 
100
test_conversion_CFLAGS = ${test_cflags}
 
101
test_conversion_LDADD = ${top_builddir}/libguile/libguile.la
 
102
check_PROGRAMS += test-conversion
 
103
TESTS += test-conversion
 
104
 
 
105
all-local:
 
106
        cd ${srcdir} && chmod u+x ${check_SCRIPTS}
 
107
 
 
108
EXTRA_DIST = ${check_SCRIPTS}