1 ## Process this file with Automake to create Makefile.in
3 ## Copyright (C) 2001, 2002 Free Software Foundation, Inc.
5 ## This file is part of GUILE.
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.
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.
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
22 AUTOMAKE_OPTIONS = gnu
24 ## Prevent automake from adding extra -I options
25 DEFS = @DEFS@ @EXTRA_DEFS@
26 ## Check for headers in $(srcdir)/.., so that #include
27 ## <libguile/MUMBLE.h> will find MUMBLE.h in this dir when we're
29 INCLUDES = -I.. -I$(srcdir)/..
31 srfiincludedir = $(pkgincludedir)/srfi
33 # These headers are visible as <guile/srfi/mumble.h>
34 srfiinclude_HEADERS = srfi-1.h srfi-4.h srfi-13.h srfi-14.h
36 lib_LTLIBRARIES = libguile-srfi-srfi-1.la \
37 libguile-srfi-srfi-4.la \
38 libguile-srfi-srfi-13-14.la
40 BUILT_SOURCES = srfi-1.x srfi-4.x srfi-13.x srfi-14.x
42 libguile_srfi_srfi_1_la_SOURCES = srfi-1.x srfi-1.c
43 libguile_srfi_srfi_1_la_LIBADD = ../libguile/libguile.la
44 libguile_srfi_srfi_1_la_LDFLAGS = -export-dynamic \
45 -version-info @LIBGUILE_SRFI_SRFI_1_INTERFACE@
47 libguile_srfi_srfi_4_la_SOURCES = srfi-4.x srfi-4.c
48 libguile_srfi_srfi_4_la_LIBADD = ../libguile/libguile.la
49 libguile_srfi_srfi_4_la_LDFLAGS = -export-dynamic \
50 -version-info @LIBGUILE_SRFI_SRFI_4_INTERFACE@
52 libguile_srfi_srfi_13_14_la_SOURCES = srfi-13.x srfi-13.c srfi-14.x srfi-14.c
53 libguile_srfi_srfi_13_14_la_LIBADD = ../libguile/libguile.la
54 libguile_srfi_srfi_13_14_la_LDFLAGS = -export-dynamic \
55 -version-info @LIBGUILE_SRFI_SRFI_13_14_INTERFACE@
57 srfidir = $(datadir)/guile/$(GUILE_EFFECTIVE_VERSION)/srfi
58 srfi_DATA = srfi-1.scm \
73 EXTRA_DIST = $(srfi_DATA)
74 ETAGS_ARGS = $(srfi_DATA)
76 GUILE_SNARF = ../libguile/guile-snarf
78 MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
80 snarfcppopts = $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
84 $(GUILE_SNARF) -o $@ $< $(snarfcppopts)