merge from 1.8 branch
[bpt/guile.git] / ice-9 / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2 ##
3 ## Copyright (C) 1998,1999,2000,2001,2003, 2004, 2006 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., 51 Franklin Street, Fifth
20 ## Floor, Boston, MA 02110-1301 USA
21
22 AUTOMAKE_OPTIONS = gnu
23
24 SUBDIRS = debugger
25
26 # These should be installed and distributed.
27 ice9_sources = \
28 and-let-star.scm boot-9.scm calling.scm common-list.scm \
29 debug.scm debugger.scm documentation.scm emacs.scm expect.scm \
30 format.scm getopt-long.scm hcons.scm lineio.scm ls.scm mapping.scm \
31 match.scm networking.scm null.scm optargs.scm poe.scm popen.scm \
32 posix.scm psyntax.pp psyntax.ss q.scm r4rs.scm r5rs.scm \
33 rdelim.scm receive.scm regex.scm runq.scm rw.scm \
34 safe-r5rs.scm safe.scm session.scm slib.scm stack-catch.scm \
35 streams.scm string-fun.scm syncase.scm threads.scm \
36 buffered-input.scm time.scm history.scm channel.scm \
37 pretty-print.scm ftw.scm gap-buffer.scm occam-channel.scm \
38 weak-vector.scm deprecated.scm list.scm serialize.scm
39
40 subpkgdatadir = $(pkgdatadir)/${GUILE_EFFECTIVE_VERSION}/ice-9
41 subpkgdata_DATA = $(ice9_sources)
42 TAGS_FILES = $(subpkgdata_DATA)
43
44 ## test.scm is not currently installed.
45 EXTRA_DIST = $(ice9_sources) test.scm compile-psyntax.scm
46
47 if MAINTAINER_MODE
48 # We expect this to never be invoked when there is not already
49 # ice-9/psyntax.pp in %load-path, since compile-psyntax.scm depends
50 # on ice-9/syncase.scm, which does `(load-from-path "ice-9/psyntax.pp")'.
51 # In other words, to bootstrap this file, you need to do something like:
52 # GUILE_LOAD_PATH=/usr/local/share/guile/1.5.4 make psyntax.pp
53 include $(top_srcdir)/am/pre-inst-guile
54 psyntax.pp: psyntax.ss
55 $(preinstguile) -s $(srcdir)/compile-psyntax.scm \
56 $(srcdir)/psyntax.ss $(srcdir)/psyntax.pp
57 endif