Add gitignore for in-source build
[guile-bash.git] / Makefile.am
blobf752e9b829a7cd13127d22d75e65bcce35607e09
1 ## Usually using anything, but sh is not recommended, but since this
2 ## software requires presence of GNU Bash, we can take advantage of
3 ## it.
4 SHELL=@BASH@
5 ACLOCAL_AMFLAGS = -I m4
6 AM_CFLAGS = @GUILE_CFLAGS@
7 lib_LTLIBRARIES = bash-scm.la
8 bash_scm_la_SOURCES = src/scm.c
9 bash_scm_la_LDFLAGS = -module
10 bash_scm_la_LIBADD = @GUILE_LDFLAGS@
11 SUBDIRS = lisp .
12 TESTS =
13 XFAIL_TESTS =
15 TESTS += tests/trivial.scm
16 TESTS += tests/alias.bash
17 TESTS += tests/exception.bash
18 XFAIL_TESTS += tests/exception.bash
19 TESTS += tests/capture-output.bash
20 TESTS += tests/variable.bash
21 TESTS += tests/command.bash
22 TESTS += tests/dynamic-var.bash
23 maintainer-clean-local:
24         rm -f modules.af.m4
25         for file in $(TESTS) ; do               \
26            wo_bash_suffix=$${file%%.bash} ;     \
27            wo_suffix=$${wo_bash_suffix%%.scm} ; \
28            rm -f $${wo_suffix}.scm.log  ;       \
29         done