Re: cyclic dependancy

2008-10-28 Thread Neel Basu
On Tuesday 28 Oct 2008 2:45:04 am Ralf Wildenhues wrote: > Well, it would be better if you reordered your files and directories in > a way so that they can be totally ordered, and no targets from makefiles > early in the list depend upon targets later in the list. It looks like > it will be possi

Re: cyclic dependancy

2008-10-27 Thread Ralf Wildenhues
Hello Neel, * Neel Basu wrote on Mon, Oct 27, 2008 at 01:19:45PM CET: > > On Sunday 26 Oct 2008 11:41:26 pm Ralf Wildenhues wrote: > > > $(top_builddir)/cgi++/libcgixx.la: > > cd $(top_builddir)/cgi++ && $(MAKE) $(AM_MAKEFLAGS) libcgixx.la > > > > in the Makefile.am files that need it.

Re: cyclic dependancy

2008-10-27 Thread Jan Engelhardt
On Monday 2008-10-27 08:19, Neel Basu wrote: >On Sunday 26 Oct 2008 11:41:26 pm Ralf Wildenhues wrote: > >> $(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 >> BU

Re: cyclic dependancy

2008-10-27 Thread Neel Basu
On Sunday 26 Oct 2008 11:41:26 pm Ralf Wildenhues wrote: > $(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, thoug

Re: cyclic dependancy

2008-10-26 Thread Ralf Wildenhues
* 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 > lib

Re: cyclic dependancy

2008-10-26 Thread Neel Basu
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_jsut

Re: cyclic dependancy

2008-10-26 Thread Ralf Wildenhues
Hello Neel, please do not top-post. If you don't know what that is, google for "top posting". * Neel Basu wrote on Sun, Oct 26, 2008 at 07:12:20AM CET: > Now this is my cgixx/cgi++/jsutil/Makefile.am > 1. INCLUDES = -I$(top_srcdir)/cgi++ > 2. METASOURCES = AUTO > 3. noinst_HEADERS = NOT-METIONED

Re: cyclic dependancy

2008-10-25 Thread Neel Basu
Now this is my cgixx/cgi++/jsutil/Makefile.am 1. INCLUDES = -I$(top_srcdir)/cgi++ 2. METASOURCES = AUTO 3. noinst_HEADERS = NOT-METIONED 4. lib_LIBRARIES = libcgixx-jsutil.la 5. libcgixx_jsutil_la_SOURCES = NOT-MENTIONED 6. libcgixx_jsutil_la_LIBADD = $(top_builddir)/cgi++/libcgixx.la 7. libcgixx_j

Re: cyclic dependancy

2008-10-25 Thread Ralf Wildenhues
Hello Neel, please don't top-post, thanks. * Neel Basu wrote on Sat, Oct 25, 2008 at 07:17:51PM CEST: > When I compile/make I see this error. > > make[2]: *** No rule to make target `../cgi++/jsutil/libcgixx-jsutil.la', > needed by `cgixx'. That's because this: > cgixx/cgi++/jusutil/Makefile.

Re: cyclic dependancy

2008-10-25 Thread Neel Basu
When I compile/make I see this error. make[2]: *** No rule to make target `../cgi++/jsutil/libcgixx-jsutil.la', needed by `cgixx'. Here is my makifile.am cgixx/Makefile.am AUTOMAKE_OPTIONS = foreign 1.4 SUBDIRS = cgi++ src #Doesn't order matter here ?? and I think cgi++ should come first. cgix

Re: cyclic dependancy

2008-10-25 Thread Neel Basu
Here is my makifile.am cgixx/Makefile.am AUTOMAKE_OPTIONS = foreign 1.4 SUBDIRS = cgi++ src #Doesn't order matter here ?? and I think cgi++ should come first. cgixx/cgi++/Makefile.am INCLUDES = #It doesn't need to include anything else. rather others include this one. METASOURCES = AUTO lib_LTLIB

Re: cyclic dependancy

2008-10-25 Thread Ralf Wildenhues
Hello Neel, * Neel Basu wrote on Sat, Oct 25, 2008 at 08:33:20AM CEST: > > cgixx > |-- cgi++.---> libcgixx.la <. > | `-- jsutil |--> libcgixx-js.la --' > '-- src --' > > > libcgixx is the independant one and doesn't need any other libs to be >