[opensuse-packaging] Automake/make: subdirs and compilation order
I have a project with these (simplified) Makefile.am's - src/Makefile.am: SUBDIRS = opengl lib_LTLIBRARIES = libguichan.la - src/opengl/Makefile.am: lib_LTLIBRARIES = libguichan_opengl.la But, to avoid problems with --as-needed, I added this to the src/opengl one: libguichan_opengl_la_LIBADD = $(GL_LIBS) ../libguichan.la The problem is that src/opengl is compiled before src, and so the compilation fails. I can't add a libguichan_opengl_la_DEPENDENCIES libguichan.la since they are different Makefiles. So, any solution? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thursday 11 of June 2009, Cristian Morales Vega wrote:
I have a project with these (simplified) Makefile.am's
- src/Makefile.am: SUBDIRS = opengl
SUBDIRS = . opengl But it's been quite some time since I last had to play with autotools. -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 084 672 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
2009/6/11 Lubos Lunak
On Thursday 11 of June 2009, Cristian Morales Vega wrote:
I have a project with these (simplified) Makefile.am's
- src/Makefile.am: SUBDIRS = opengl
SUBDIRS = . opengl
But it's been quite some time since I last had to play with autotools.
Good memory. It works, thanks. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 11/06/09 08:44, Cristian Morales Vega wrote:
I have a project with these (simplified) Makefile.am's
Do yourself a favor and stay away from this thing, please use cmake. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
2009/6/11 Cristian Rodríguez
On 11/06/09 08:44, Cristian Morales Vega wrote:
I have a project with these (simplified) Makefile.am's
Do yourself a favor and stay away from this thing, please use cmake.
Well, my english and me... mixing words. I didn't mean is was a project from me, it's guichan from the OBS games repo. But yes, upstream has already changed to cmake in the development version. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, 11 Jun 2009 10:56:46 -0400, you wrote:
Do yourself a favor and stay away from this thing, please use cmake.
Nah, that's nasty blaming. Yes, automake is a bit hard to use. but I don't see where cmake is that much better. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Cristian Morales Vega
-
Cristian Rodríguez
-
Lubos Lunak
-
Philipp Thomas