Commit | Line | Data |
---|---|---|
8779d595 MG |
1 | ## Process this file with Automake to create Makefile.in |
2 | ## | |
3 | ## Copyright (C) 2001 Free Software Foundation, Inc. | |
4 | ## | |
5 | ## This file is part of GUILE. | |
6 | ## | |
7 | ## GUILE is free software; you can redistribute it and/or modify | |
8 | ## it under the terms of the GNU General Public License as | |
9 | ## published by the Free Software Foundation; either version 2, or | |
10 | ## (at your option) any later version. | |
11 | ## | |
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 | |
15 | ## GNU General Public License for more details. | |
16 | ## | |
17 | ## You should have received a copy of the GNU General Public | |
18 | ## License along with GUILE; see the file COPYING. If not, write | |
19 | ## to the Free Software Foundation, Inc., 59 Temple Place, Suite | |
20 | ## 330, Boston, MA 02111-1307 USA | |
21 | ||
67b7dd9e | 22 | EXTRA_DIST = README box.c box-module.scm box-mixed.scm check.test |
8779d595 | 23 | |
67b7dd9e MG |
24 | CFLAGS=`$(bindir)/guile-config compile` |
25 | LIBS=`$(bindir)/guile-config link` | |
8779d595 MG |
26 | |
27 | libbox-module: box.lo | |
67b7dd9e | 28 | sh ../../libtool --mode=link $(CC) $< $(LIBS) -rpath $(libdir) -o libbox-module.la |
8779d595 MG |
29 | |
30 | box.lo: box.c | |
67b7dd9e MG |
31 | sh ../../libtool --mode=compile $(CC) $(CFLAGS) -c $< |
32 | ||
33 | installcheck: libbox-module | |
34 | LTDL_LIBRARY_PATH=.libs GUILE_LOAD_PATH=$(top_srcdir):$(srcdir) $(srcdir)/check.test | |
35 | ||
36 | CLEANFILES=libbox-module.la box.lo box.o |