ETAGS_ARGS so that TAGS can be built using separate build directory. * Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * debugger/breakpoints/Makefile.am (TAGS_FILES), debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * primitives/Makefile.am (TAGS_FILES), internals/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * Makefile.am, goops/Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory.
78 lines
2.4 KiB
Makefile
78 lines
2.4 KiB
Makefile
## Process this file with Automake to create Makefile.in
|
|
##
|
|
## Copyright (C) 1998, 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
|
|
##
|
|
## This file is part of GUILE.
|
|
##
|
|
## GUILE is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as
|
|
## published by the Free Software Foundation; either version 2, or
|
|
## (at your option) any later version.
|
|
##
|
|
## GUILE is distributed in the hope that it will be useful, but
|
|
## WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public
|
|
## License along with GUILE; see the file COPYING. If not, write
|
|
## to the Free Software Foundation, Inc., 59 Temple Place, Suite
|
|
## 330, Boston, MA 02111-1307 USA
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
## Prevent automake from adding extra -I options
|
|
DEFS = @DEFS@ @EXTRA_DEFS@
|
|
## Check for headers in $(srcdir)/.., so that #include
|
|
## <libguile/MUMBLE.h> will find MUMBLE.h in this dir when we're
|
|
## building.
|
|
INCLUDES = -I.. -I$(srcdir)/..
|
|
|
|
GUILE_SNARF = ../libguile/guile-snarf
|
|
|
|
lib_LTLIBRARIES = libguilereadline.la
|
|
|
|
libguilereadline_la_SOURCES = readline.c
|
|
libguilereadline_la_LIBADD = ../libguile/libguile.la
|
|
libguilereadline_la_LDFLAGS = -version-info @LIBGUILEREADLINE_INTERFACE@ \
|
|
-export-dynamic -no-undefined
|
|
|
|
|
|
BUILT_SOURCES = readline.x
|
|
|
|
pkginclude_HEADERS = readline.h
|
|
|
|
ice9dir = $(datadir)/guile/$(GUILE_EFFECTIVE_VERSION)/ice-9
|
|
ice9_DATA = readline.scm
|
|
|
|
snarfcppopts = $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
SUFFIXES = .x
|
|
.c.x:
|
|
$(GUILE_SNARF) -o $@ $< $(snarfcppopts)
|
|
|
|
EXTRA_DIST = $(ice9_DATA) LIBGUILEREADLINE-VERSION
|
|
TAGS_FILES = $(ice9_DATA)
|
|
|
|
MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
|
|
CLEANFILES = *.x
|
|
|
|
ice-9/readline.scm:
|
|
-rm ice-9/readline.scm
|
|
-rmdir ice-9
|
|
mkdir ice-9
|
|
cd ice-9 && ln -s ../readline.scm
|
|
|
|
all-local: ice-9/readline.scm
|
|
|
|
clean-local:
|
|
rm -f ice-9/readline.scm
|
|
-rmdir ice-9
|
|
|
|
dist-hook:
|
|
(temp="/tmp/mangle-deps.$$$$"; \
|
|
trap "rm -f $$temp" 0 1 2 15; \
|
|
sed -e 's|\([ ]\)\(\.\./\(\|libguile/\|guile-readline/\)[a-z_-]*\.h\)|\1$$(srcdir)/\2|g' $(distdir)/Makefile.in \
|
|
| sed -e 's|\$$(srcdir)/\(\.\./libguile/\(libpath\|scmconfig\|versiondat\)\)|\1|g' \
|
|
| sed -e 's|\.\./guile-readline/\([a-z_-]*\.x\)|\1|g' > $$temp \
|
|
&& chmod u+w $(distdir)/Makefile.in && cp -p $$temp $(distdir)/Makefile.in)
|