summaryrefslogtreecommitdiff
path: root/examples/box-dynamic-module
diff options
context:
space:
mode:
authorMartin Grabmüller <mgrabmue@cs.tu-berlin.de>2001-07-26 05:31:57 +0000
committerMartin Grabmüller <mgrabmue@cs.tu-berlin.de>2001-07-26 05:31:57 +0000
commit67b7dd9ea9aad459d77785766da3a8e3607ce2ab (patch)
tree57a3b31eed77a90237ed58b78e655f703d0f12b4 /examples/box-dynamic-module
parent3c3db1289a7f2578c1505c5385d3052649d8f42f (diff)
downloadguile-67b7dd9ea9aad459d77785766da3a8e3607ce2ab.tar.gz
Minor typo fix in NEWS.
Examples are now built and tested on `make installcheck'.
Diffstat (limited to 'examples/box-dynamic-module')
-rw-r--r--examples/box-dynamic-module/Makefile.am15
1 files changed, 10 insertions, 5 deletions
diff --git a/examples/box-dynamic-module/Makefile.am b/examples/box-dynamic-module/Makefile.am
index 4d7df0210..665a7de54 100644
--- a/examples/box-dynamic-module/Makefile.am
+++ b/examples/box-dynamic-module/Makefile.am
@@ -19,13 +19,18 @@
## to the Free Software Foundation, Inc., 59 Temple Place, Suite
## 330, Boston, MA 02111-1307 USA
-EXTRA_DIST = README box.c box-module.scm box-mixed.scm
+EXTRA_DIST = README box.c box-module.scm box-mixed.scm check.test
-CFLAGS=`guile-config compile`
-LIBS=`guile-config link`
+CFLAGS=`$(bindir)/guile-config compile`
+LIBS=`$(bindir)/guile-config link`
libbox-module: box.lo
- sh ../../libtool --mode=link $(CC) $< $(LIBS) -rpath $(prefix)/lib -o libbox-module.la
+ sh ../../libtool --mode=link $(CC) $< $(LIBS) -rpath $(libdir) -o libbox-module.la
box.lo: box.c
- sh ../../libtool --mode=compile $(CC) $(CFLAGS) -c $< \ No newline at end of file
+ sh ../../libtool --mode=compile $(CC) $(CFLAGS) -c $<
+
+installcheck: libbox-module
+ LTDL_LIBRARY_PATH=.libs GUILE_LOAD_PATH=$(top_srcdir):$(srcdir) $(srcdir)/check.test
+
+CLEANFILES=libbox-module.la box.lo box.o