[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cyclic dependancy
From: |
Ralf Wildenhues |
Subject: |
Re: cyclic dependancy |
Date: |
Sun, 26 Oct 2008 19:11:26 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* Neel Basu wrote on Sun, Oct 26, 2008 at 06:29:07PM CET:
> This is my current version of cgixx/cgi++/jsutil/Makefile.am
> INCLUDES = -I$(top_srcdir)/cgi++
> METASOURCES = AUTO
> noinst_HEADERS = NOT-MENTIONED
> lib_LTLIBRARIES = libcgixx-jsutil.la
> libcgixx_jsutil_la_SOURCES = NOT-MENTIONED
> libcgixx_jsutil_la_LIBADD = $(top_builddir)/cgi++/libcgixx.la
> libcgixx_jsutil_la_LDFLAGS = -static
>
> The error shown is
>
> make[3]: *** No rule to make target `../../cgi++/libcgixx.la', needed by
> `libcgixx-jsutil.la'.
> make[2]: *** No rule to make target `../cgi++/jsutil/libcgixx-jsutil.la',
> needed by `cgixx'.
Ah, so you do have a loop, at least in a sense that you cannot put
your directories in a total ordering for recursion. Didn't realize
that before. One thing you can do is, put stuff like
$(top_builddir)/cgi++/libcgixx.la:
cd $(top_builddir)/cgi++ && $(MAKE) $(AM_MAKEFLAGS) libcgixx.la
in the Makefile.am files that need it. If the cgi++ directory has
BUILT_SOURCES, then they need to be built first, though.
BTW, if you keep top-posting, I will ignore further mails from you.
<http://www.caliburn.nl/topposting.html>
Cheers,
Ralf
- cyclic dependancy, Neel Basu, 2008/10/25
- Re: cyclic dependancy, Neel Basu, 2008/10/25
- Re: cyclic dependancy, Ralf Wildenhues, 2008/10/26
- Re: cyclic dependancy, Neel Basu, 2008/10/26
- Re: cyclic dependancy, Ralf Wildenhues, 2008/10/26
- Re: cyclic dependancy, Neel Basu, 2008/10/26
- Re: cyclic dependancy,
Ralf Wildenhues <=
- Re: cyclic dependancy, Neel Basu, 2008/10/27
- Re: cyclic dependancy, Jan Engelhardt, 2008/10/27
- Re: cyclic dependancy, Ralf Wildenhues, 2008/10/27
- Re: cyclic dependancy, Neel Basu, 2008/10/29