On Mon, 2002-10-07 at 21:11, Tom Tromey wrote: > >>>>> "Stephen" == Stephen Torri <[EMAIL PROTECTED]> writes: > > Stephen> In part of a project we generate code from an IDL > Stephen> compiler. All we want to do is ensure that the files compile > Stephen> but we do not want to link everything together to create an > Stephen> executable. Is it possible to stop automake from invoking the > Stephen> linker for just one directory? > > Not cleanly. > > You could specify the _LINK variable to be `true' or something like > that. That would prevent linking. You might have to add a `.PHONY: > programname' for it to make sense though.
The end result was to change the target name from a binary program to a library. By renaming the file from target to libtarget.la and changing bin_PROGRAMS to noinst_LIBRARIES I was able to get the IDL generated client files compiled without linking into other libraries. Stephen
signature.asc
Description: This is a digitally signed message part
