* Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
[bpt/guile.git] / srfi / Makefile.am
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
22 AUTOMAKE_OPTIONS = foreign
23
24 ## Prevent automake from adding extra -I options
25 DEFS = @DEFS@
26 ## Check for headers in $(srcdir)/.., so that #include
27 ## <libguile/MUMBLE.h> will find MUMBLE.h in this dir when we're
28 ## building.
29 INCLUDES = -I.. -I$(srcdir)/..
30
31
32 lib_LTLIBRARIES = libguile-srfi-srfi-13-14.la
33
34 BUILT_SOURCES = srfi-13.x srfi-14.x
35 libguile_srfi_srfi_13_14_la_SOURCES = srfi-13.x srfi-13.c srfi-14.x srfi-14.c\
36 srfi-13.h srfi-14.h
37 libguile_srfi_srfi_13_14_la_LDFLAGS = -version-info 0:0 -export-dynamic
38
39 srfidir = $(datadir)/guile/$(VERSION)/srfi
40 srfi_DATA = srfi-2.scm \
41 srfi-6.scm \
42 srfi-8.scm \
43 srfi-9.scm \
44 srfi-10.scm \
45 srfi-11.scm \
46 srfi-13.scm \
47 srfi-14.scm \
48 srfi-17.scm
49
50 EXTRA_DIST = $(srfi_DATA)
51
52 GUILE_SNARF = ../libguile/guile-snarf
53
54 SUFFIXES = .x
55 .c.x:
56 $(GUILE_SNARF) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \
57 || { rm $@; false; }
58
59 DISTCLEANFILES = *.x