This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

obstack and alloca: one for few subdirectories?


Hello:

Probably, somebody knows the hint.

I'm working on a project which consists of a number of relatively
independent subprojects. Thus, they are organised in a tree of
subdirectories. All of them use alloca and obstack. I include 
AC_FUNC_ALLOCA and AM_FUNC_OBSTACK in the main configure.in
and add @ALLOCA@ and $(LIBOBJS) to appropriate  _LD_ADD. As the
result, 
	automake -a -i
demands for the existance of obstack.c, obstack.h and alloca.c in
each subdirectory where they are mentioned.
I'd like, instead, to put them in a separate directory, and, if they
are needed, to build a library (or just object files), which could be
linked to executables. 

Is it possible?

I'll be very appreciated for any help.

--
Best regards,
	Valentin.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]