[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: top_srcdir in Makefile.am & Makefile.in
From: |
Sam Steingold |
Subject: |
Re: top_srcdir in Makefile.am & Makefile.in |
Date: |
Fri, 29 Jul 2011 16:37:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
A related issue is this section of gllib/Makefile.in
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits gllib/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnits gllib/Makefile
the penultimate line must be
$(am__cd) $(top_srcdir)/src && \
how do I effect that?
> * Sam Steingold <address@hidden> [2011-07-29 14:16:46 -0400]:
>
> clisp directory structure is:
> clisp - top level; hand-written configure script (ask Bruno)
> clisp/src - most sources, configure.in, configure, aclocal.m4
> clisp/src/gllib, clisp/src/glm4 - imported from gnulib
> clisp/src/build-aux - imported from many places, mostly gnulib
>
> $ grep top_srcdir src/gllib/Makefile.am
> appears to indicate that top_srcdir should point to clisp.
> however,
> $ cd src && automake gllib/Makefile && cd ..
> $ grep top_srcdir src/gllib/Makefile.in
> has these:
> ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
> am__aclocal_m4_deps = $(top_srcdir)/configure.in
> depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
> echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits gllib/Makefile'; \
>
> how come?!
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X
11.0.60900031
http://truepeace.org http://www.memritv.org http://memri.org http://iris.org.il
http://openvotingconsortium.org http://www.PetitionOnline.com/tap12009/
A clear conscience is usually the sign of a bad memory.