Fix missing tests/
[guile-bash.git] / Makefile.am
blob4ac073d0acf1815d71cf1874ae70d5bb14d4e253
1 ACLOCAL_AMFLAGS = -I m4
2 AM_CFLAGS = @GUILE_CFLAGS@
3 lib_LTLIBRARIES = bash-scm.la
4 bash_scm_la_SOURCES = src/scm.c
5 bash_scm_la_LDFLAGS = -module
6 bash_scm_la_LIBADD = @GUILE_LDFLAGS@
7 TESTS=
8 XFAIL_TESTS=
10 GUILE_MODULES =                         \
11         lisp/system/ffi.scm             \
12         lisp/gnu/bash/alias.scm         \
13         lisp/gnu/bash/variable.scm      \
14         lisp/gnu/bash/command.scm       \
15         lisp/ice-9/decorate.scm         \
16         lisp/ice-9/promote.scm          \
17         lisp/syntax/record.scm          \
18         lisp/syntax/implicit.scm        \
19         lisp/syntax/functional.scm      \
20         lisp/syntax/export.scm
21 GUILE_OBJECTS = $(patsubst %.scm, %.go, $(GUILE_MODULES))
22 EXTRA_DIST = $(GUILE_MODULES)
23 CLEANFILES = $(GUILE_OBJECTS)
25 guile_modulesdir = @GUILE_SITE@
26 nobase_guile_modules_DATA = $(GUILE_MODULES)
28 guile_objectsdir = @GUILE_SITE_CCACHE@
29 nobase_guile_objects_DATA = $(GUILE_OBJECTS)
34 %.go: %.scm
35         GUILE_LOAD_PATH="@abs_srcdir@/lisp:$$GUILE_LOAD_PATH" @GUILD@ compile $< -o $@
37 all-local: $(GUILE_OBJECTS)
39 install-data-local:
40         @MKDIR_P@ @GUILE_SITE@
42 TESTS += tests/trivial.scm
43 TESTS += tests/alias.bash
44 TESTS += tests/exception.bash
45 XFAIL_TESTS += tests/exception.bash
46 TESTS += tests/variable.bash