[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'make' vs 'make -j1': Tpo files in different places

From: Chris Stankevitz
Subject: Re: 'make' vs 'make -j1': Tpo files in different places
Date: Tue, 20 Jul 2010 13:50:00 -0700 (PDT)


Thank you for replying.

--- On Tue, 7/20/10, Ralf Wildenhues <address@hidden> wrote:
> Please post 'make' and 'make -j1' output that shows this
> difference,


> Which Automake version are you using?

SimLib/Expression$ automake --version
automake (GNU automake) 1.10.1
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <address@hidden>
       and Alexandre Duret-Lutz <address@hidden>.

> IIUC then the BUILT_SOURCES are to be distributed,
> right?  If yes, they
> should rather be in MAINTAINERCLEANFILES than in
> CLEANFILES, and if no,
> they should rather be built in the build tree not the
> source tree, so
> that read-only source trees can work.  If that is
> possible with antlr,
> that is.

I understand.  I have the freedom to place them wherever I choose.  I chose 
$(srcdir) because I thought it would simplify the  It will be a 
good exercise for me to move the files to the builddir and see what issues come 

> > $(srcdir)/TCExpressionLexer.hpp:
> $(srcdir)/TCExpressionLexer.cpp
> > $(srcdir)/TCExpressionLexerTokenTypes.hpp:
> $(srcdir)/TCExpressionLexer.cpp
> > $(srcdir)/TCExpressionParser.cpp:
> $(srcdir)/TCExpressionLexer.cpp
> > $(srcdir)/TCExpressionParser.hpp:
> $(srcdir)/TCExpressionLexer.cpp
> > $(srcdir)/TCExpressionTreeWalker.cpp:
> $(srcdir)/TCExpressionLexer.cpp
> > $(srcdir)/TCExpressionTreeWalker.hpp:
> $(srcdir)/TCExpressionLexer.cpp
> Why are these dependencies necessary?

I am following this pattern:

ANTLR produces 5 cpp files with one invocation.  These dependencies prevent 
make from trying to create them with 5 invocations of ANTLR in the event "-j 5" 
is passed.

Thanks again for your help,



Attachment: make.txt
Description: Text document

Attachment: makej1.txt
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]