maintainer changed: was lord, now jimb; first import
[bpt/guile.git] / ice-9 / Makefile.in
1 # Copyright (C) 1995 Free Software Foundation, Inc.
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2, or (at your option)
6 # any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this software; see the file COPYING. If not, write to
15 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
16 #
17
18 \f
19
20 SHELL = /bin/sh
21
22 srcdir = @srcdir@
23 VPATH = @srcdir@
24 prefix = @prefix@
25
26 VERSION=@GUILE_VERSION@
27
28 libparent=$(prefix)/lib
29 libdir=$(libparent)/guile$(VERSION)
30 install_path=$(libdir)/@library_name@
31
32 INSTALL = $(srcdir)/../install-sh -c
33 INSTALL_DATA = $(INSTALL) -m 644
34
35 scm_files= @scm_files@
36 aux_files = @aux_files@
37
38 all:
39
40 install: all
41 test -d $(libparent) || mkdir $(libparent)
42 test -d $(libdir) || mkdir $(libdir)
43 test -d $(install_path) || mkdir $(install_path)
44 cd $(srcdir); \
45 for file in $(scm_files); do \
46 $(INSTALL_DATA) $$file $(install_path); \
47 done
48
49 uninstall:
50 for file in $(scm_files) ; do \
51 rm -f $(install_path)/$$file; \
52 done;
53 -rmdir $(install_path)
54 -rmdir $(libdir)
55
56
57 SUBDIR=.
58 manifest:
59 srcdir=./$(SUBDIR) ; \
60 . $(SUBDIR)/PLUGIN/this.configure; \
61 for file in $$scm_files $$aux_files ; \
62 do echo $(SUBDIR)/$$file ; \
63 done
64
65 clean:
66
67 distclean:
68 -rm -f config.log config.status Makefile
69
70 realclean:
71