This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
obstack and alloca: one for few subdirectories?
- To: automake@gnu.org
- Subject: obstack and alloca: one for few subdirectories?
- From: Valentin Kamyshenko <val@kamysh.materials.kiev.ua>
- Date: 01 Jun 1999 03:11:03 +0300
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.