Commit | Line | Data |
---|---|---|
ca003b26 MG |
1 | ## Process this file with Automake to create Makefile.in |
2 | ## | |
cfe0a008 | 3 | ## Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc. |
ca003b26 MG |
4 | ## |
5 | ## This file is part of GUILE. | |
49569f63 | 6 | ## |
ca003b26 MG |
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. | |
49569f63 | 11 | ## |
ca003b26 MG |
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. | |
49569f63 | 16 | ## |
ca003b26 MG |
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 | ||
3307df95 | 22 | AUTOMAKE_OPTIONS = gnu |
ca003b26 | 23 | |
ca003b26 | 24 | ## Prevent automake from adding extra -I options |
cb0abacf | 25 | DEFS = @DEFS@ @EXTRA_DEFS@ |
ca003b26 MG |
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 | ||
aae9a22b RB |
31 | srfiincludedir = $(pkgincludedir)/srfi |
32 | ||
33 | # These headers are visible as <guile/srfi/mumble.h> | |
d9d40de4 | 34 | srfiinclude_HEADERS = srfi-1.h srfi-4.h srfi-13.h srfi-14.h |
ca003b26 | 35 | |
bd453596 MV |
36 | lib_LTLIBRARIES = \ |
37 | libguile-srfi-srfi-1-v-@LIBGUILE_SRFI_SRFI_1_MAJOR@.la \ | |
38 | libguile-srfi-srfi-4-v-@LIBGUILE_SRFI_SRFI_4_MAJOR@.la \ | |
39 | libguile-srfi-srfi-13-14-v-@LIBGUILE_SRFI_SRFI_13_14_MAJOR@.la | |
ca003b26 | 40 | |
ee6aac97 MD |
41 | BUILT_SOURCES = srfi-1.x srfi-4.x srfi-13.x srfi-14.x |
42 | ||
bd453596 MV |
43 | libguile_srfi_srfi_1_v_@LIBGUILE_SRFI_SRFI_1_MAJOR@_la_SOURCES = srfi-1.x srfi-1.c |
44 | libguile_srfi_srfi_1_v_@LIBGUILE_SRFI_SRFI_1_MAJOR@_la_LIBADD = ../libguile/libguile.la | |
45 | libguile_srfi_srfi_1_v_@LIBGUILE_SRFI_SRFI_1_MAJOR@_la_LDFLAGS = -no-undefined -export-dynamic -version-info @LIBGUILE_SRFI_SRFI_1_INTERFACE@ | |
ca003b26 | 46 | |
bd453596 MV |
47 | libguile_srfi_srfi_4_v_@LIBGUILE_SRFI_SRFI_4_MAJOR@_la_SOURCES = srfi-4.x srfi-4.c |
48 | libguile_srfi_srfi_4_v_@LIBGUILE_SRFI_SRFI_4_MAJOR@_la_LIBADD = ../libguile/libguile.la | |
49 | libguile_srfi_srfi_4_v_@LIBGUILE_SRFI_SRFI_4_MAJOR@_la_LDFLAGS = -no-undefined -export-dynamic -version-info @LIBGUILE_SRFI_SRFI_4_INTERFACE@ | |
6040f80a | 50 | |
bd453596 MV |
51 | libguile_srfi_srfi_13_14_v_@LIBGUILE_SRFI_SRFI_13_14_MAJOR@_la_SOURCES = srfi-13.x srfi-13.c srfi-14.x srfi-14.c |
52 | libguile_srfi_srfi_13_14_v_@LIBGUILE_SRFI_SRFI_13_14_MAJOR@_la_LIBADD = ../libguile/libguile.la | |
53 | libguile_srfi_srfi_13_14_v_@LIBGUILE_SRFI_SRFI_13_14_MAJOR@_la_LDFLAGS = -no-undefined -export-dynamic -version-info @LIBGUILE_SRFI_SRFI_13_14_INTERFACE@ | |
71ca65d9 | 54 | |
efb58218 | 55 | srfidir = $(datadir)/guile/$(GUILE_EFFECTIVE_VERSION)/srfi |
e9680547 MG |
56 | srfi_DATA = srfi-1.scm \ |
57 | srfi-2.scm \ | |
71ca65d9 | 58 | srfi-4.scm \ |
95f1d861 RB |
59 | srfi-6.scm \ |
60 | srfi-8.scm \ | |
a6fd89a4 | 61 | srfi-9.scm \ |
e1633bf3 | 62 | srfi-10.scm \ |
95f1d861 RB |
63 | srfi-11.scm \ |
64 | srfi-13.scm \ | |
e1633bf3 | 65 | srfi-14.scm \ |
6851c8a4 | 66 | srfi-16.scm \ |
a19422d7 | 67 | srfi-17.scm \ |
a1a5dfa8 | 68 | srfi-19.scm \ |
c541e247 | 69 | srfi-26.scm \ |
8ad6cdd2 | 70 | srfi-31.scm \ |
cfe0a008 KR |
71 | srfi-34.scm \ |
72 | srfi-39.scm | |
ca003b26 | 73 | |
f1dc5f45 MD |
74 | EXTRA_DIST = $(srfi_DATA) |
75 | TAGS_FILES = $(srfi_DATA) | |
ca003b26 MG |
76 | |
77 | GUILE_SNARF = ../libguile/guile-snarf | |
78 | ||
998c3141 ML |
79 | MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
80 | ||
49569f63 TTN |
81 | snarfcppopts = $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
82 | ||
ca003b26 MG |
83 | SUFFIXES = .x |
84 | .c.x: | |
2c7a286a | 85 | $(GUILE_SNARF) -o $@ $< $(snarfcppopts) |
ca003b26 | 86 | |
998c3141 | 87 | CLEANFILES = *.x |