summaryrefslogtreecommitdiff
path: root/libmu_scm
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-09-10 12:02:22 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-09-10 12:02:22 +0000
commit59e7b2d4cd24c1a202729612fca35113e419e1e6 (patch)
tree848532613c43e31133f3db3321b6317bc638391c /libmu_scm
parent604f0683b1df6d0700d9f32cadb652b4d0afeea2 (diff)
downloadmailutils-59e7b2d4cd24c1a202729612fca35113e419e1e6.tar.gz
mailutils-59e7b2d4cd24c1a202729612fca35113e419e1e6.tar.bz2
Added @GUILE_INCLUDES@. Changed snarfing rules.
Diffstat (limited to 'libmu_scm')
-rw-r--r--libmu_scm/Makefile.am15
1 files changed, 9 insertions, 6 deletions
diff --git a/libmu_scm/Makefile.am b/libmu_scm/Makefile.am
index e549ae701..8482e8d0e 100644
--- a/libmu_scm/Makefile.am
+++ b/libmu_scm/Makefile.am
@@ -1,12 +1,12 @@
# This file is part of GNU Mailutils
# Copyright (C) 2000,2001,2002 Free Software Foundation
# See file COPYING in the distribution root directory for copying conditions.
AUTOMAKE_OPTIONS = ../lib/ansi2knr
-INCLUDES =-I. -I$(top_builddir) -I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include
+INCLUDES =-I. -I$(top_builddir) -I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include @GUILE_INCLUDES@
noinst_LIBRARIES=@MU_SCM@
EXTRA_LIBRARIES=libmu_scm.a
libmu_scm_a_SOURCES=\
mu_address.c\
mu_body.c\
@@ -30,22 +30,25 @@ BUILT_SOURCES=@GUILE_BUILT_SOURCES@
DISTCLEANFILES=$(DOT_X_FILES) $(DOT_DOC_FILES) @GUILE_PROCEDURES_TXT@
CPPFLAGS=-DDATADIR=\"$(pkgdatadir)\"
ETAGS_ARGS = --regex='/SCM_\(GLOBAL_\)?\(G?PROC\|G?PROC1\|SYMBOL\|VCELL\|CONST_LONG\).*\"\([^\"]\)*\"/\3/' \
--regex='/[ \t]*SCM_[G]?DEFINE1?[ \t]*(\([^,]*\),[^,]*/\1/'
-GUILE_DOC_SNARF=$(top_srcdir)/scripts/guile-doc-snarf
+GUILE_DOC_SNARF=$(top_srcdir)/scripts/guile-$(GUILE_SNARF_VERSION)/guile-doc-snarf
+
SUFFIXES=.x .doc
.c.x:
- $(GUILE_DOC_SNARF) $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) \
- $< > $@ || { rm $@; false; }
+ AWK=$(AWK) \
+ $(GUILE_DOC_SNARF) -o $@ \
+ $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
.c.doc:
- $(GUILE_DOC_SNARF) $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) \
- $< > /dev/null || { rm $@; false; }
+ AWK=$(AWK) \
+ $(GUILE_DOC_SNARF) -d -o $@ \
+ $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
guile-procedures.txt: $(DOT_DOC_FILES)
cat $(DOT_DOC_FILES) > $@
## Add -MG to make the .x magic work with auto-dep code.
MKDEP = $(CC) -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)

Return to:

Send suggestions and report system problems to the System administrator.