*** empty log message ***
[bpt/guile.git] / ice-9 / Makefile.in
CommitLineData
0f2d19dd
JB
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
20SHELL = /bin/sh
21
22srcdir = @srcdir@
23VPATH = @srcdir@
24prefix = @prefix@
25
26VERSION=@GUILE_VERSION@
27
02ceadb8
JB
28datadir=@datadir@
29pkgdatadir=$(datadir)/guile
30pkgverdatadir=$(pkgdatadir)/$(VERSION)
31subpkgdatadir=$(pkgverdatadir)/@library_name@
32sitedatadir=$(pkgdatadir)/site
0f2d19dd
JB
33
34INSTALL = $(srcdir)/../install-sh -c
35INSTALL_DATA = $(INSTALL) -m 644
36
fa6ffa2f
JB
37scm_files = \
38 boot-9.scm \
059e8882 39 r4rs.scm \
fa6ffa2f 40 debug.scm \
d7189b49 41 expect.scm \
fa6ffa2f
JB
42 hcons.scm \
43 lineio.scm \
44 mapping.scm \
45 poe.scm \
46 slib.scm \
bf057548 47 tags.scm \
059e8882
JB
48 threads.scm \
49 test.scm
fa6ffa2f
JB
50
51aux_files = \
52 .cvsignore \
53 COPYING \
54 ChangeLog \
55 Makefile.in \
56 configure \
57 configure.in
58
0f2d19dd
JB
59
60all:
61
62install: all
02ceadb8
JB
63 for dir in $(datadir) $(pkgdatadir) $(pkgverdatadir) \
64 $(subpkgdatadir) $(sitedatadir); do \
65 test -d $$dir || mkdir $$dir; \
66 done
0f2d19dd 67 for file in $(scm_files); do \
02ceadb8 68 $(INSTALL_DATA) $(srcdir)/$$file $(subpkgdatadir); \
0f2d19dd
JB
69 done
70
71uninstall:
72 for file in $(scm_files) ; do \
02ceadb8 73 rm -f $(subpkgdatadir)/$$file; \
0f2d19dd 74 done;
02ceadb8
JB
75 -rmdir $(subpkgdatadir)
76 -rmdir $(pkgverdatadir)
77 -rmdir $(sitedatadir)
78 -rmdir $(pkgdatadir)
79 -rmdir $(datadir)
0f2d19dd
JB
80
81
a45b3733
JB
82# The `dist' target in the top-level Makefile uses this `dist-dir'
83# target to select the appropriate files for distribution from the
84# directory containing this Makefile.
85.PHONY: dist-dir
86dist-dir:
87 mkdir ${DISTDIR}
88 for f in ${scm_files} ${aux_files}; do \
89 ln ${srcdir}/$$f ${DISTDIR}; \
0f2d19dd 90 done
a45b3733
JB
91 mkdir ${DISTDIR}/PLUGIN
92 for f in REQ greet split.sed this.configure; do \
93 ln ${srcdir}/PLUGIN/$$f ${DISTDIR}/PLUGIN; \
94 done
95
0f2d19dd
JB
96
97clean:
98
99distclean:
100 -rm -f config.log config.status Makefile
101
102realclean:
103