* upstream/Makefile.am (ltdl.h.diff): remove
[bpt/guile.git] / srfi / Makefile.am
CommitLineData
ca003b26
MG
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.
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 22AUTOMAKE_OPTIONS = gnu
ca003b26 23
ca003b26 24## Prevent automake from adding extra -I options
cb0abacf 25DEFS = @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.
29INCLUDES = -I.. -I$(srcdir)/..
30
31
71ca65d9 32lib_LTLIBRARIES = libguile-srfi-srfi-13-14.la libguile-srfi-srfi-4.la
ca003b26 33
71ca65d9 34BUILT_SOURCES = srfi-13.x srfi-14.x srfi-4.x
ca003b26 35
71ca65d9 36libguile_srfi_srfi_4_la_SOURCES = srfi-4.x srfi-4.c srfi-4.h
56b0cb03 37libguile_srfi_srfi_4_la_LIBADD = ../libguile/libguile.la
6040f80a
RB
38libguile_srfi_srfi_4_la_LDFLAGS = -export-dynamic \
39 -version-info @LIBGUILE_SRFI_SRFI_4_INTERFACE@
40
41libguile_srfi_srfi_13_14_la_SOURCES = srfi-13.x srfi-13.c srfi-14.x srfi-14.c\
42 srfi-13.h srfi-14.h
43libguile_srfi_srfi_13_14_la_LIBADD = ../libguile/libguile.la
44libguile_srfi_srfi_13_14_la_LDFLAGS = -export-dynamic \
45 -version-info @LIBGUILE_SRFI_SRFI_13_14_INTERFACE@
71ca65d9 46
ca003b26 47srfidir = $(datadir)/guile/$(VERSION)/srfi
e9680547
MG
48srfi_DATA = srfi-1.scm \
49 srfi-2.scm \
71ca65d9 50 srfi-4.scm \
95f1d861
RB
51 srfi-6.scm \
52 srfi-8.scm \
a6fd89a4 53 srfi-9.scm \
e1633bf3 54 srfi-10.scm \
95f1d861
RB
55 srfi-11.scm \
56 srfi-13.scm \
e1633bf3 57 srfi-14.scm \
6851c8a4 58 srfi-16.scm \
a19422d7
RB
59 srfi-17.scm \
60 srfi-19.scm
ca003b26
MG
61
62EXTRA_DIST = $(srfi_DATA)
ee148ae7 63ETAGS_ARGS = $(srfi_DATA)
ca003b26
MG
64
65GUILE_SNARF = ../libguile/guile-snarf
66
998c3141
ML
67MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
68
49569f63
TTN
69snarfcppopts = $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
70
ca003b26
MG
71SUFFIXES = .x
72.c.x:
2c7a286a 73 $(GUILE_SNARF) -o $@ $< $(snarfcppopts)
ca003b26 74
998c3141 75CLEANFILES = *.x