Commit | Line | Data |
---|---|---|
ca003b26 MG |
1 | ## Process this file with Automake to create Makefile.in |
2 | ## | |
44602b08 | 3 | ## Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
ca003b26 MG |
4 | ## |
5 | ## This file is part of GUILE. | |
49569f63 | 6 | ## |
53befeb7 NJ |
7 | ## GUILE is free software; you can redistribute it and/or modify it |
8 | ## under the terms of the GNU Lesser General Public License as | |
9 | ## published by the Free Software Foundation; either version 3, or | |
ca003b26 | 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 | |
53befeb7 | 15 | ## GNU Lesser General Public License for more details. |
49569f63 | 16 | ## |
53befeb7 NJ |
17 | ## You should have received a copy of the GNU Lesser General Public |
18 | ## License along with GUILE; see the file COPYING.LESSER. If not, | |
19 | ## write to the Free Software Foundation, Inc., 51 Franklin Street, | |
20 | ## Fifth Floor, Boston, MA 02110-1301 USA | |
ca003b26 | 21 | |
a572fc95 NI |
22 | include $(top_srcdir)/am/snarf |
23 | ||
3307df95 | 24 | AUTOMAKE_OPTIONS = gnu |
ca003b26 | 25 | |
ca003b26 | 26 | ## Prevent automake from adding extra -I options |
cb0abacf | 27 | DEFS = @DEFS@ @EXTRA_DEFS@ |
ca003b26 MG |
28 | ## Check for headers in $(srcdir)/.., so that #include |
29 | ## <libguile/MUMBLE.h> will find MUMBLE.h in this dir when we're | |
6caac03c | 30 | ## building. Also look for Gnulib headers in `lib'. |
47871d5a LC |
31 | AM_CPPFLAGS = -I.. -I$(srcdir)/.. \ |
32 | -I$(top_srcdir)/lib -I$(top_builddir)/lib | |
ca003b26 | 33 | |
bfb2e113 | 34 | AM_CFLAGS = $(GCC_CFLAGS) |
76e8a758 | 35 | AM_LDFLAGS = $(GNU_LD_FLAGS) |
bfb2e113 | 36 | |
718815d7 AW |
37 | # FIXME: should be libguile/srfi |
38 | srfiincludedir = $(pkgincludedir)/$(GUILE_EFFECTIVE_VERSION)/srfi | |
aae9a22b RB |
39 | |
40 | # These headers are visible as <guile/srfi/mumble.h> | |
4453f887 | 41 | srfiinclude_HEADERS = srfi-1.h srfi-60.h |
ca003b26 | 42 | |
bd453596 MV |
43 | lib_LTLIBRARIES = \ |
44 | libguile-srfi-srfi-1-v-@LIBGUILE_SRFI_SRFI_1_MAJOR@.la \ | |
9d3ea571 | 45 | libguile-srfi-srfi-60-v-@LIBGUILE_SRFI_SRFI_60_MAJOR@.la |
ca003b26 | 46 | |
4453f887 | 47 | BUILT_SOURCES = srfi-1.x srfi-60.x |
ee6aac97 | 48 | |
a150c156 | 49 | libguile_srfi_srfi_1_v_@LIBGUILE_SRFI_SRFI_1_MAJOR@_la_SOURCES = srfi-1.c |
6caac03c | 50 | libguile_srfi_srfi_1_v_@LIBGUILE_SRFI_SRFI_1_MAJOR@_la_LIBADD = \ |
44602b08 | 51 | $(top_builddir)/libguile/libguile-@GUILE_EFFECTIVE_VERSION@.la $(top_builddir)/lib/libgnu.la |
bd453596 | 52 | libguile_srfi_srfi_1_v_@LIBGUILE_SRFI_SRFI_1_MAJOR@_la_LDFLAGS = -no-undefined -export-dynamic -version-info @LIBGUILE_SRFI_SRFI_1_INTERFACE@ |
ca003b26 | 53 | |
a150c156 | 54 | libguile_srfi_srfi_60_v_@LIBGUILE_SRFI_SRFI_60_MAJOR@_la_SOURCES = srfi-60.c |
6caac03c | 55 | libguile_srfi_srfi_60_v_@LIBGUILE_SRFI_SRFI_60_MAJOR@_la_LIBADD = \ |
44602b08 | 56 | $(top_builddir)/libguile/libguile-@GUILE_EFFECTIVE_VERSION@.la $(top_builddir)/lib/libgnu.la |
9d3ea571 KR |
57 | libguile_srfi_srfi_60_v_@LIBGUILE_SRFI_SRFI_60_MAJOR@_la_LDFLAGS = -no-undefined -export-dynamic -version-info @LIBGUILE_SRFI_SRFI_60_INTERFACE@ |
58 | ||
ea93465d | 59 | EXTRA_DIST = ChangeLog-2008 |
ca003b26 | 60 | |
47871d5a | 61 | MKDEP = gcc -M -MG $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) |
998c3141 | 62 | |
47871d5a | 63 | snarfcppopts = $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) |
49569f63 | 64 | |
ca003b26 | 65 | SUFFIXES = .x |
a572fc95 | 66 | |
ca003b26 | 67 | .c.x: |
a572fc95 | 68 | $(AM_V_SNARF)$(GUILE_SNARF) -o $@ $< $(snarfcppopts) |
ca003b26 | 69 | |
998c3141 | 70 | CLEANFILES = *.x |