temporarily disable elisp exception tests
[bpt/guile.git] / examples / Makefile.am
CommitLineData
2de7ddb7
MG
1## Process this file with Automake to create Makefile.in
2##
ee3a800f 3## Copyright (C) 2001, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
2de7ddb7
MG
4##
5## This file is part of GUILE.
6##
53befeb7
NJ
7## GUILE is free software; you can redistribute it and/or modify it
8## under the terms of the GNU Lesser General Public License as
9## published by the Free Software Foundation; either version 3, or
2de7ddb7 10## (at your option) any later version.
53befeb7 11##
2de7ddb7
MG
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
53befeb7
NJ
15## GNU Lesser General Public License for more details.
16##
17## You should have received a copy of the GNU Lesser General Public
18## License along with GUILE; see the file COPYING.LESSER. If not,
19## write to the Free Software Foundation, Inc., 51 Franklin Street,
20## Fifth Floor, Boston, MA 02110-1301 USA
2de7ddb7 21
0ea47a3a
LC
22EXTRA_DIST = README ChangeLog-2008 check.test \
23 \
24 scripts/README scripts/simple-hello.scm scripts/hello \
25 scripts/fact \
26 \
27 box/README box/box.c \
28 \
29 box-module/README box-module/box.c \
30 \
31 box-dynamic/README box-dynamic/box.c \
32 \
33 box-dynamic-module/README box-dynamic-module/box.c \
34 box-dynamic-module/box-module.scm box-dynamic-module/box-mixed.scm \
35 \
36 modules/README modules/module-0.scm modules/module-1.scm \
37 modules/module-2.scm modules/main \
38 \
ee3a800f
AW
39 safe/README safe/safe safe/untrusted.scm safe/evil.scm \
40 \
41 web/hello.scm web/debug-sxml.scm
2de7ddb7 42
a7348a49
LC
43AM_CFLAGS = `PATH=$(bindir)$(PATH_SEPARATOR)$$PATH PKG_CONFIG_PATH=$(libdir)/pkgconfig $(bindir)/guile-config compile`
44AM_LIBS = `PATH=$(bindir)$(PATH_SEPARATOR)$$PATH PKG_CONFIG_PATH=$(libdir)/pkgconfig $(bindir)/guile-config link`
0ea47a3a
LC
45
46
47box/box: box/box.o
48 -$(MKDIR_P) box
49 $(CC) $< $(AM_LIBS) -o $@
50
51box/box.o: box/box.c
52 -$(MKDIR_P) box
53 $(CC) $(AM_CFLAGS) -c $< -o $@
54
55
56box-module/box: box-module/box.o
57 -$(MKDIR_P) box-module
58 $(CC) $< $(AM_LIBS) -o $@
59
60box-module/box.o: box-module/box.c
61 -$(MKDIR_P) box-module
62 $(CC) $(AM_CFLAGS) -c $< -o $@
63
64
65libbox.la: box-dynamic/box.lo
66 $(top_builddir)/libtool --mode=link $(CC) $< $(AM_LIBS) -rpath $(libdir) -o $@
67
68box-dynamic/box.lo: box-dynamic/box.c
69 -$(MKDIR_P) box-dynamic
70 $(top_builddir)/libtool --mode=compile $(CC) $(AM_CFLAGS) -c $< -o $@
71
72
73libbox-module.la: box-dynamic-module/box.lo
74 $(top_builddir)/libtool --mode=link $(CC) $< $(AM_LIBS) -rpath $(libdir) -o $@
75
76box-dynamic-module/box.lo: box-dynamic-module/box.c
77 -$(MKDIR_P) box-dynamic-module
78 $(top_builddir)/libtool --mode=compile $(CC) $(AM_CFLAGS) -c $< -o $@
79
80
81installcheck: box/box box-module/box libbox.la libbox-module.la
a7348a49
LC
82 LD_LIBRARY_PATH="$(libdir)$(PATH_SEPARATOR)$$LD_LIBRARY_PATH" \
83 LTDL_LIBRARY_PATH="$(builddir)$(PATH_SEPARATOR)$$LTDL_LIBRARY_PATH" \
84 GUILE_LOAD_PATH="$(abs_top_srcdir)$(PATH_SEPARATOR)$$GUILE_LOAD_PATH" \
85 PATH="$(bindir)$(PATH_SEPARATOR)$$PATH" \
b57501c3 86 GUILE_AUTO_COMPILE=0 \
0ea47a3a
LC
87 srcdir="$(srcdir)" \
88 $(srcdir)/check.test
89
90CLEANFILES = \
91 box/box box/box.o \
92 box-module/box box-module/box.o
93
94clean-local:
95 $(top_builddir)/libtool --mode=clean rm -f \
96 box-dynamic/box.lo libbox.la \
97 box-dynamic-module/box.lo libbox-module.la