Commit | Line | Data |
---|---|---|
733943b9 | 1 | ## Process this file with automake to produce Makefile.in. |
fb935cbf | 2 | ## |
cd5fea8d | 3 | ## Copyright (C) 1998,1999,2000,2001,2003, 2004, 2006 Free Software Foundation, Inc. |
fb935cbf JB |
4 | ## |
5 | ## This file is part of GUILE. | |
9f03ac3d | 6 | ## |
fb935cbf JB |
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. | |
9f03ac3d | 11 | ## |
fb935cbf JB |
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. | |
9f03ac3d | 16 | ## |
fb935cbf JB |
17 | ## You should have received a copy of the GNU General Public |
18 | ## License along with GUILE; see the file COPYING. If not, write | |
92205699 MV |
19 | ## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth |
20 | ## Floor, Boston, MA 02110-1301 USA | |
733943b9 | 21 | |
3307df95 | 22 | AUTOMAKE_OPTIONS = gnu |
733943b9 | 23 | |
8746959c | 24 | SUBDIRS = debugger debugging |
8ee7506b | 25 | |
9946dd45 | 26 | # These should be installed and distributed. |
ce66d60b | 27 | modpath = ice-9 |
5ba9d849 AW |
28 | # Compile psyntax and boot-9 first, so that we get the speed benefit in |
29 | # the rest of the compilation. Also, if there is too much switching back | |
30 | # and forth between interpreted and compiled code, we end up using more | |
31 | # of the C stack than the interpreter would have; so avoid that by | |
32 | # putting these core modules first. | |
33 | SOURCES = psyntax-pp.scm boot-9.scm \ | |
34 | and-let-star.scm | |
70634522 AW |
35 | NOCOMP_SOURCES = \ |
36 | calling.scm common-list.scm \ | |
e6ee0d48 LC |
37 | debug.scm debugger.scm documentation.scm emacs.scm expect.scm \ |
38 | format.scm getopt-long.scm hcons.scm i18n.scm \ | |
39 | lineio.scm ls.scm mapping.scm \ | |
40 | match.scm networking.scm null.scm optargs.scm poe.scm popen.scm \ | |
5ba9d849 | 41 | posix.scm psyntax.ss q.scm r4rs.scm r5rs.scm \ |
e6ee0d48 LC |
42 | rdelim.scm receive.scm regex.scm runq.scm rw.scm \ |
43 | safe-r5rs.scm safe.scm session.scm slib.scm stack-catch.scm \ | |
44 | streams.scm string-fun.scm syncase.scm threads.scm \ | |
45 | buffered-input.scm time.scm history.scm channel.scm \ | |
46 | pretty-print.scm ftw.scm gap-buffer.scm occam-channel.scm \ | |
47 | weak-vector.scm deprecated.scm list.scm serialize.scm \ | |
ea19f0b3 | 48 | gds-client.scm gds-server.scm |
9946dd45 | 49 | |
ce66d60b | 50 | include $(top_srcdir)/guilec.mk |
733943b9 TT |
51 | |
52 | ## test.scm is not currently installed. | |
ce66d60b AW |
53 | EXTRA_DIST += test.scm compile-psyntax.scm |
54 | ||
55 | TAGS_FILES = $(SOURCES) | |
0c6f9602 | 56 | |
9d198c1b | 57 | if MAINTAINER_MODE |
9f03ac3d | 58 | # We expect this to never be invoked when there is not already |
5ba9d849 AW |
59 | # ice-9/psyntax-pp.scm in %load-path, since compile-psyntax.scm depends |
60 | # on ice-9/syncase.scm, which does `(load-from-path "ice-9/psyntax-pp.scm")'. | |
9f03ac3d | 61 | # In other words, to bootstrap this file, you need to do something like: |
5ba9d849 | 62 | # GUILE_LOAD_PATH=/usr/local/share/guile/1.5.4 make psyntax-pp.scm |
58ed8bc6 | 63 | include $(top_srcdir)/am/pre-inst-guile |
5ba9d849 | 64 | psyntax-pp.scm: psyntax.ss |
9f03ac3d | 65 | $(preinstguile) -s $(srcdir)/compile-psyntax.scm \ |
5ba9d849 | 66 | $(srcdir)/psyntax.ss $(srcdir)/psyntax-pp.scm |
9d198c1b | 67 | endif |