Distributing/Installing a whole directory

2004-03-11 Thread Jose Roman Bilbao
Hi, I have a multiple subdirs library which I am autoconfiguring. The question is: I have a subdirectory with its Makefile.am where I have got some .cc files which I build with no problem. In this directory I have got a subdirectory called html where I store the help for the executable previously

Re: Conditional compilation of program (SOLVED)

2004-02-09 Thread Jose Roman Bilbao
On Mon, 2004-02-09 at 12:43, Jose Roman Bilbao wrote: > Hi, > > I have read on the Automake manual that to conditionally build programs > I need to write all the optional names in EXTRA_PROGRAMS and substitute > from autoconf in bin_PROGRAMS, well, I have written this in

Conditional compilation of program

2004-02-09 Thread Jose Roman Bilbao
Hi, I have read on the Automake manual that to conditionally build programs I need to write all the optional names in EXTRA_PROGRAMS and substitute from autoconf in bin_PROGRAMS, well, I have written this in configure.in: PHAN3D = phan3D AC_SUBST(PHAN3D) and this in the conditional program's Ma

AM_AUTOCONF does not work?

2004-02-09 Thread Jose Roman Bilbao
Hi, Can anybody tell my why this code is not substituting the variable WITH_OPENGL in my automake.am and how should I write it to work? MDL_HAVE_OPENGL AM_CONDITIONAL( WITH_OPENGL, test -n $GL_FLAGS) #AM_CONDITIONAL( WITH_OPENGL, test -n $GL_LIBS) AC_SUBST([WITH_OPENGL]) GL_FLAGS has contents.

Conditional problem

2004-02-06 Thread Jose Roman Bilbao
Hi, What is wrong with this piece of code? It always says that there is no OpenGL although it has been found: #checking for OpenGL MDL_HAVE_OPENGL if test -z "$GL_LIBS" then AC_MSG_RESULT([GL libs not found, OpenGL disabled.]) else if test -z "$GL_CFLAGS" then

Libs ordering in LDADD

2003-10-19 Thread Jose Roman Bilbao
Hi all, Why do I need a specific order when writing LDADD rules?. If I dont I get lots of Undefined references. Is this a bug?, If not... Which rule should I follow in order to write correct MAkefile.am files?. cheers, Roman

dynamic libraries, static executable

2003-10-15 Thread Jose Roman Bilbao
Hi, Is it possible to build a statically linked program against dynamic libraries so I dont need them anymore? If so... How can I do it? If not... must I build statically all the dynamic libraries I wan to include in my program?. Many thanks, Roman

2 questions about libraries

2003-06-17 Thread Jose Roman Bilbao
Hi, I am finally reaching the end of my "autotoolization" of my program but I still have two questions I think will be easy to solve but I can not figure out how to do it... 1st: I have a multiple subdirectories project. One of those directories stores again multiple subdirectories. In each of th

SUFFIXES does not work?

2003-06-16 Thread Jose Roman Bilbao
Hi all, I have a little problem using automake as I can not make it accept a different suffix like .moc. I have written this automake.am: lib_LTLIBRARIES = libXmippGraphics.la libXmippGraphics_la_SOURCES = Src/showTools.cc showTools.moc \ Src/show2D.cc show2D.moc \ S

Sources in multiple directories

2002-11-11 Thread Jose Roman Bilbao
Hi, I know this is a very common topic in the forum but I would like to know when will automake be able to operate with multiple directories. Thanks