123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- ## Process this file with automake to produce Makefile.in.
- ##
- ## Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Software Foundation, Inc.
- ##
- ## This file is part of GUILE.
- ##
- ## GUILE is free software; you can redistribute it and/or modify
- ## it under the terms of the GNU General Public License as
- ## published by the Free Software Foundation; either version 2, or
- ## (at your option) any later version.
- ##
- ## GUILE is distributed in the hope that it will be useful, but
- ## WITHOUT ANY WARRANTY; without even the implied warranty of
- ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ## GNU General Public License for more details.
- ##
- ## You should have received a copy of the GNU General Public
- ## License along with GUILE; see the file COPYING. If not, write
- ## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
- ## Floor, Boston, MA 02110-1301 USA
- # initializations so we can use += below.
- TESTS =
- noinst_LTLIBRARIES =
- check_PROGRAMS =
- check_SCRIPTS =
- BUILT_SOURCES =
- EXTRA_DIST =
- TESTS_ENVIRONMENT = "${top_builddir}/pre-inst-guile-env"
- test_cflags = \
- -I$(top_srcdir)/test-suite/standalone \
- -I$(top_srcdir) -I$(top_builddir) \
- $(EXTRA_DEFS) $(GUILE_CFLAGS)
- AM_LDFLAGS = $(GUILE_CFLAGS)
- snarfcppopts = \
- $(DEFS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $(CFLAGS) \
- -I$(top_srcdir) -I$(top_builddir)
- SUFFIXES = .x
- .c.x:
- ${top_builddir}/libguile/guile-snarf -o $@ $< $(snarfcppopts)
- CLEANFILES = *.x
- .DELETE_ON_ERROR:
- check_SCRIPTS += test-system-cmds
- TESTS += test-system-cmds
- check_SCRIPTS += test-require-extension
- TESTS += test-require-extension
- check_SCRIPTS += test-bad-identifiers
- TESTS += test-bad-identifiers
- # test-num2integral
- test_num2integral_SOURCES = test-num2integral.c
- test_num2integral_CFLAGS = ${test_cflags}
- test_num2integral_LDADD = ${top_builddir}/libguile/libguile.la
- check_PROGRAMS += test-num2integral
- TESTS += test-num2integral
- # test-round
- test_round_CFLAGS = ${test_cflags}
- test_round_LDADD = ${top_builddir}/libguile/libguile.la
- check_PROGRAMS += test-round
- TESTS += test-round
- # test-gh
- test_gh_SOURCES = test-gh.c
- test_gh_CFLAGS = ${test_cflags}
- test_gh_LDADD = ${top_builddir}/libguile/libguile.la
- check_PROGRAMS += test-gh
- TESTS += test-gh
- # test-asmobs
- noinst_LTLIBRARIES += libtest-asmobs.la
- libtest_asmobs_la_SOURCES = test-asmobs-lib.c test-asmobs-lib.x
- libtest_asmobs_la_CFLAGS = ${test_cflags}
- libtest_asmobs_la_LDFLAGS = -no-undefined -rpath `pwd` # so libtool will really build an .so
- libtest_asmobs_la_LIBADD = ${top_builddir}/libguile/libguile.la
- BUILT_SOURCES += test-asmobs-lib.x
- check_SCRIPTS += test-asmobs
- TESTS += test-asmobs
- # test-list
- test_list_SOURCES = test-list.c
- test_list_CFLAGS = ${test_cflags}
- test_list_LDADD = ${top_builddir}/libguile/libguile.la
- check_PROGRAMS += test-list
- TESTS += test-list
- # test-unwind
- test_unwind_SOURCES = test-unwind.c
- test_unwind_CFLAGS = ${test_cflags}
- test_unwind_LDADD = ${top_builddir}/libguile/libguile.la
- check_PROGRAMS += test-unwind
- TESTS += test-unwind
- # test-conversion
- test_conversion_SOURCES = test-conversion.c
- test_conversion_CFLAGS = ${test_cflags}
- test_conversion_LDADD = ${top_builddir}/libguile/libguile.la
- check_PROGRAMS += test-conversion
- TESTS += test-conversion
- # test-fast-slot-ref
- check_SCRIPTS += test-fast-slot-ref
- TESTS += test-fast-slot-ref
- # test-use-srfi
- check_SCRIPTS += test-use-srfi
- TESTS += test-use-srfi
- # test-scm-c-read
- test_scm_c_read_SOURCES = test-scm-c-read.c
- test_scm_c_read_CFLAGS = ${test_cflags}
- test_scm_c_read_LDADD = ${top_builddir}/libguile/libguile.la
- check_PROGRAMS += test-scm-c-read
- TESTS += test-scm-c-read
- # test-scm-take-locale-symbol
- test_scm_take_locale_symbol_SOURCES = test-scm-take-locale-symbol.c
- test_scm_take_locale_symbol_CFLAGS = ${test_cflags}
- test_scm_take_locale_symbol_LDADD = ${top_builddir}/libguile/libguile.la
- check_PROGRAMS += test-scm-take-locale-symbol
- TESTS += test-scm-take-locale-symbol
- if BUILD_PTHREAD_SUPPORT
- # test-with-guile-module
- test_with_guile_module_CFLAGS = ${test_cflags}
- test_with_guile_module_LDADD = ${top_builddir}/libguile/libguile.la
- check_PROGRAMS += test-with-guile-module
- TESTS += test-with-guile-module
- test_scm_with_guile_CFLAGS = ${test_cflags}
- test_scm_with_guile_LDADD = ${top_builddir}/libguile/libguile.la
- check_PROGRAMS += test-scm-with-guile
- TESTS += test-scm-with-guile
- else
- EXTRA_DIST += test-with-guile-module.c test-scm-with-guile.c
- endif
- all-local:
- cd ${srcdir} && chmod u+x ${check_SCRIPTS}
- EXTRA_DIST += ${check_SCRIPTS}
|