mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
* Makefile.am: move support for readline.scm to ice-9/ subdir.
This commit is contained in:
parent
a2f120791e
commit
0dcee83729
1 changed files with 3 additions and 18 deletions
|
@ -19,7 +19,7 @@
|
||||||
## to the Free Software Foundation, Inc., 59 Temple Place, Suite
|
## to the Free Software Foundation, Inc., 59 Temple Place, Suite
|
||||||
## 330, Boston, MA 02111-1307 USA
|
## 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign
|
SUBDIRS = ice-9
|
||||||
|
|
||||||
## Prevent automake from adding extra -I options
|
## Prevent automake from adding extra -I options
|
||||||
DEFS = @DEFS@ @EXTRA_DEFS@
|
DEFS = @DEFS@ @EXTRA_DEFS@
|
||||||
|
@ -42,33 +42,17 @@ BUILT_SOURCES = readline.x
|
||||||
|
|
||||||
pkginclude_HEADERS = readline.h
|
pkginclude_HEADERS = readline.h
|
||||||
|
|
||||||
ice9dir = $(datadir)/guile/$(GUILE_EFFECTIVE_VERSION)/ice-9
|
|
||||||
ice9_DATA = readline.scm
|
|
||||||
|
|
||||||
snarfcppopts = $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
snarfcppopts = $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
||||||
SUFFIXES = .x
|
SUFFIXES = .x
|
||||||
.c.x:
|
.c.x:
|
||||||
$(GUILE_SNARF) -o $@ $< $(snarfcppopts)
|
$(GUILE_SNARF) -o $@ $< $(snarfcppopts)
|
||||||
|
|
||||||
EXTRA_DIST = $(ice9_DATA) LIBGUILEREADLINE-VERSION
|
EXTRA_DIST = LIBGUILEREADLINE-VERSION
|
||||||
TAGS_FILES = $(ice9_DATA)
|
|
||||||
|
|
||||||
MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
||||||
|
|
||||||
CLEANFILES = *.x
|
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:
|
dist-hook:
|
||||||
(temp="/tmp/mangle-deps.$$$$"; \
|
(temp="/tmp/mangle-deps.$$$$"; \
|
||||||
trap "rm -f $$temp" 0 1 2 15; \
|
trap "rm -f $$temp" 0 1 2 15; \
|
||||||
|
@ -76,3 +60,4 @@ dist-hook:
|
||||||
| sed -e 's|\$$(srcdir)/\(\.\./libguile/\(libpath\|scmconfig\|versiondat\)\)|\1|g' \
|
| sed -e 's|\$$(srcdir)/\(\.\./libguile/\(libpath\|scmconfig\|versiondat\)\)|\1|g' \
|
||||||
| sed -e 's|\.\./guile-readline/\([a-z_-]*\.x\)|\1|g' > $$temp \
|
| sed -e 's|\.\./guile-readline/\([a-z_-]*\.x\)|\1|g' > $$temp \
|
||||||
&& chmod u+w $(distdir)/Makefile.in && cp -p $$temp $(distdir)/Makefile.in)
|
&& chmod u+w $(distdir)/Makefile.in && cp -p $$temp $(distdir)/Makefile.in)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue