Re: Detect --disable-dependency-tracking in Makefile.am

2023-09-30 Thread Dave Hart
On Sun, 1 Oct 2023 at 04:45, Jan Engelhardt wrote: > >I didn't explain sufficiently. The submakes I'm talking about are my > >doing, and I want to conditionalize them on whether > >--enable-dependency-tracking is used. > > > >In for example both n

Re: Detect --disable-dependency-tracking in Makefile.am

2023-09-30 Thread Jan Engelhardt
>I didn't explain sufficiently. The submakes I'm talking about are my >doing, and I want to conditionalize them on whether >--enable-dependency-tracking is used. > >In for example both ntpq/Makefile.am and ntpd/Makefile.am I'm invoking: > >(cd ../libntp &&a

Re: Detect --disable-dependency-tracking in Makefile.am

2023-09-30 Thread Dave Hart
On Sun, 1 Oct 2023 at 00:59, Nick Bowler wrote: > Suggestion 2) All explicit --enable-foo/--disable-foo arguments to > a configure script are available in shell variables; in the case of > --disable-dependency-tracking you can do something like this in > configure.ac: > >

Re: Detect --disable-dependency-tracking in Makefile.am

2023-09-30 Thread Nick Bowler
= x"no"]) > Note that these approaches are different in the case where dependency > tracking is disabled because it is not supported by the user's tools, > rather than by explicit request. This may or may not matter for your > use case. Nevermind this last point, these sugges

Re: Detect --disable-dependency-tracking in Makefile.am

2023-09-30 Thread Nick Bowler
On 2023-09-29, Dave Hart wrote: > I'm guessing someone has trod this ground before. I'd appreciate > pointers to examples of how others have detected > --disable-dependency-tracking to change their build behavior. Two suggestions, one relying on Automake internals and one not

Re: Detect --disable-dependency-tracking in Makefile.am

2023-09-30 Thread Dave Hart
e the build is correct. When building the project, this adds a bunch > >of extra submake invocations which slows down the build. I'd like to omit > >those when --disable-dependency-tracking is used, to speed one-off builds > >that are done by end-users and packagers. > >

Re: Detect --disable-dependency-tracking in Makefile.am

2023-09-30 Thread Zack Weinberg
e the build is correct. When building the project, this adds a bunch >>of extra submake invocations which slows down the build. I'd like to omit >>those when --disable-dependency-tracking is used, to speed one-off builds >>that are done by end-users and packagers. > > submake

Re: Detect --disable-dependency-tracking in Makefile.am

2023-09-29 Thread Jan Engelhardt
bmake invocations which slows down the build. I'd like to omit >those when --disable-dependency-tracking is used, to speed one-off builds >that are done by end-users and packagers. submake is pretty much independent of and from dependency tracking. The general direction contemporary

Detect --disable-dependency-tracking in Makefile.am

2023-09-29 Thread Dave Hart
omit those when --disable-dependency-tracking is used, to speed one-off builds that are done by end-users and packagers. I'm guessing someone has trod this ground before. I'd appreciate pointers to examples of how others have detected --disable-dependency-tracking to change their build

Re: Automatic dependency tracking when using non-depcomp tools

2022-11-24 Thread Karl Berry
Can I actually rely on Automake making a verbatim copy of the include line from Makefile.am to Makefile.im? As far as I can make out, your logic is exactly correct. Looking at the bin/automake script, I see: my $PATH_PATTERN = '(\w|[+/.-])+'; # This will pass through anything not of the p

Re: Automatic dependency tracking when using non-depcomp tools

2022-11-24 Thread Hans Ulrich Niedermann
On 2022-11-22 18:32 -0700, Karl Berry wrote: > Hi Hans - first, congratulations on getting this to work at all. Thank you for your kind and thorough reply. > I don't recall anyone else undertaking this. And that might be why I could not find anybody else doing auto dependency

Re: Automatic dependency tracking when using non-depcomp tools

2022-11-22 Thread Karl Berry
Hi Hans - first, congratulations on getting this to work at all. I don't recall anyone else undertaking this. I'm afraid I don't have any particular insights, but just so you know someone read your mail: Question: Is it OK for me to hook into ./$(DEPDIR)/ at all? I could use

Automatic dependency tracking when using non-depcomp tools

2022-11-19 Thread Hans Ulrich Niedermann
I have not found any documentation about hooking recipes with custom (non-depcomp) tools into Automake's automatic dependency tracking, so this describes what I have done to achieve that along with a few questions. If you want the complete code example, see the git branch at https://githu

Re: dependency tracking error message

2020-02-13 Thread Jim Meyering
On Thu, Feb 13, 2020 at 6:40 PM Karl Berry wrote: > Looking at the automake-patches that have accumulated, I saw one to > improve the error message if dependency tracking fails. Copied below. > > It seems generally sensible to me, though I would change the wording a > little,

dependency tracking error message

2020-02-13 Thread Karl Berry
Looking at the automake-patches that have accumulated, I saw one to improve the error message if dependency tracking fails. Copied below. It seems generally sensible to me, though I would change the wording a little, and there is a spurious "the", so, revising the proposed text: AC_M

Automatic dependency tracking in the Git build system (was: Re: [PATCHv2 1/8] Makefile: apply dependencies consistently to sparse/asm targets)

2012-06-21 Thread Stefano Lattarini
stand that. > > I'd be OK with that. Do you have one in mind, or do we need to write it > from scratch? Surely somebody else has solved this problem before. > [begin shameless plug] Have you taken a look at the 'depcomp' script that comes with Automake? <http://git.savanna

Re: subdir-objects, dirstamps and --disable-dependency-tracking (bug!)

2011-04-01 Thread Ignacy Gawedzki
On Fri, Apr 01, 2011 at 01:22:26PM +0200, thus spake Ralf Wildenhues: > * Ignacy Gawedzki wrote on Wed, Mar 30, 2011 at 10:13:32AM CEST: > > On Wed, Mar 30, 2011 at 07:51:40AM +0200, thus spake Ralf Wildenhues: > > > * Ignacy Gawedzki wrote on Wed, Mar 30, 2011 at 12:03:09AM CEST: > > > > I suspect

Re: subdir-objects, dirstamps and --disable-dependency-tracking (bug!)

2011-04-01 Thread Ralf Wildenhues
s. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# Ensure subdirs for subdir scanners are generated when subdir-objects +# are used, even when dependency tracking is disabled. + +required

Re: subdir-objects, dirstamps and --disable-dependency-tracking (bug!)

2011-03-30 Thread Ignacy Gawedzki
On Wed, Mar 30, 2011 at 07:51:40AM +0200, thus spake Ralf Wildenhues: > Hi Ignacy, > > * Ignacy Gawedzki wrote on Wed, Mar 30, 2011 at 12:03:09AM CEST: > > I suspect I found a bug in automake 1.11.1 . > > Yes, you have. Thanks for reporting it! Shall I post that to bug-autom...@gnu.org then? >

Re: subdir-objects, dirstamps and --disable-dependency-tracking (bug?)

2011-03-29 Thread Ralf Wildenhues
e subdirectories are not created automatically in > $(builddir) as expected and I think I have found why. It happens when > configure is called with --disable-dependency-tracking, as is usually the case > when called through debhelper. [...] > Whereas there is *no* rule of the kind : >

subdir-objects, dirstamps and --disable-dependency-tracking (bug?)

2011-03-29 Thread Ignacy Gawedzki
-dependency-tracking, as is usually the case when called through debhelper. In the attached tarball, there is a minimal setup illustrating the problem. Try to configure and build the project in a separate build directory and you should be able to observe how automake fails to create $(builddir)/src

Re: turning off dependency tracking when building fat binaries on Mac OSX

2011-02-13 Thread Peter Johansson
, in both cases compilation and linking will occur with multiple archs but preprocessing will occur with a simple "gcc -E" That doesn't mean we should break automake dependency tracking in this configuration, but it does mean you shouldn't do it when it hurts. ;-) Sorry, but th

Re: turning off dependency tracking when building fat binaries on Mac OSX

2011-02-13 Thread Ralf Wildenhues
arch ppc64" \ > > CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ > > CPP="gcc -E" CXXCPP="g++ -E" > > > I noticed that when configuring like that automake automagically > turns off dependency-tracking,

turning off dependency tracking when building fat binaries on Mac OSX

2011-01-23 Thread Peter Johansson
" CXXCPP="g++ -E" I noticed that when configuring like that automake automagically turns off dependency-tracking, for good reasons. However, it is not uncommon that people instead issue ./configure CFLAGS="-arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXXFLAGS="-arch i

[PATCHES] Docs on automatic dependency tracking (was: Testing a new compiler with Automake "simple tests")

2010-08-17 Thread Stefano Lattarini
a bigger project) using the Automake > >> "simple tests" feature. > >> > >> I have two problems: > >> [CUT] > >> 2) Automatic dependency tracking cannot work in > >>that directory of the project (indeed, the only > >&g

Re: Why no dependency tracking with preprocessed Fortran?

2010-06-28 Thread Ralf Wildenhues
* Daily, Jeff A wrote on Fri, Jun 25, 2010 at 08:32:46PM CEST: > I think if we want dependency tracking as a side-effect, then the user > must list their sources in a dependent order (which only they would > know). This is what I've had to do in my projects. The downside is >

RE: Why no dependency tracking with preprocessed Fortran?

2010-06-25 Thread Daily, Jeff A
> So one complication with Fortran modules is that we don't know the > order > in which we need to compile files for the first time. If you want to > allow file edits to arbitrarily change where modules are defined in, > then this is true for rebuilds as well. So module

Re: Why no dependency tracking with preprocessed Fortran?

2010-06-25 Thread Ralf Wildenhues
ler- or system- internal module. So one complication with Fortran modules is that we don't know the order in which we need to compile files for the first time. If you want to allow file edits to arbitrarily change where modules are defined in, then this is true for rebuilds as well

Re: Why no dependency tracking with preprocessed Fortran?

2010-06-24 Thread Ralf Wildenhues
* Daily, Jeff A wrote on Thu, Jun 24, 2010 at 04:46:28PM CEST: > > > Why doesn't automake have dependency tracking for preprocessed > > > Fortran? > > > > Because nobody has implemented it yet. > Ok, so how does one go about developing this sort of thing for

RE: Why no dependency tracking with preprocessed Fortran?

2010-06-24 Thread Daily, Jeff A
> > Why doesn't automake have dependency tracking for preprocessed > Fortran? > > Because nobody has implemented it yet. > > Well, I guess dependency tracking could be implemented similarly to how > it is done for C and C++. Using makedepend could be a start, sure

Re: Why no dependency tracking with preprocessed Fortran?

2010-06-22 Thread Ralf Wildenhues
Hello Jeff, * Daily, Jeff A wrote on Wed, Apr 14, 2010 at 11:36:54PM CEST: > Why doesn't automake have dependency tracking for preprocessed Fortran? Because nobody has implemented it yet. > Wouldn't the following work? Note that there is a space before > include so th

Re: Dependency tracking problem using "-l" to link libraries.

2010-04-25 Thread Ralf Wildenhues
Hello Xochitl, * Xochitl Lunde wrote on Thu, Apr 22, 2010 at 05:48:20PM CEST: > I have a problem with my dependency tracking in my auto tools build. I > have a program like this for an embedded target: > pald_LDADD = $(am_ldadd) > > am_ldadd = \ > -lstartup > The

Dependency tracking problem using "-l" to link libraries.

2010-04-22 Thread Xochitl Lunde
I have a problem with my dependency tracking in my auto tools build. I have a program like this for an embedded target: - pald_SOURCES = \ $(top_srcdir)/../common/src/pal/main.cpp if ac_netos_build pald_SOURCES+=trippUtils.cpp # From

Why no dependency tracking with preprocessed Fortran?

2010-04-14 Thread Daily, Jeff A
Why doesn't automake have dependency tracking for preprocessed Fortran? Wouldn't the following work? Note that there is a space before include so that automake doesn't process it, but rather it appears verbatim in the generated Makefile.in. F77DEPMODE = makedepend .F.o:

RE: Trying to improve our dependency tracking

2008-05-16 Thread James Willenbring
utomake@gnu.org Subject: Re: Trying to improve our dependency tracking Hello James, * James Willenbring wrote on Thu, May 01, 2008 at 10:51:11PM CEST: > When I add > > myexe_DEPENDENCIES = $(PACKAGEA_DEPENDENCIES) > > $(PACKAGEA_DEPENDENCIES) is not resolved before dependencies are

Re: Trying to improve our dependency tracking

2008-05-05 Thread Ralf Wildenhues
his problem? > Does anyone have any suggestions for fixing this problem or for a different > approach I should take for dependency tracking? In general, I try to let automake compute dependencies as much as possible. For example, it cannot "see" the dependency with this: -- snip lib

Trying to improve our dependency tracking

2008-05-01 Thread James Willenbring
Hello, I am trying to improve dependency tracking for a project I work on. We have a two level configure process. Under the top configure process we have about 40 semi-independent packages that have separate configure scripts. Each package has at least one library archive associated with it

Re: enable dependency tracking whenever available

2007-01-18 Thread Ralf Wildenhues
* Jason Kraftcheck wrote on Thu, Jan 18, 2007 at 08:58:13PM CET: > Ralf Wildenhues wrote: > > : ${enable_dependency_tracking=yes} > Why not just > if test "x$enable_dependency_tracking" = "x"; then > enable_dependency_tracking=yes > fi > > Is it problematic or non-portable for some rea

Re: enable dependency tracking whenever available

2007-01-18 Thread Jason Kraftcheck
Ralf Wildenhues wrote: > Hello Jason, > > * Jason Kraftcheck wrote on Thu, Jan 18, 2007 at 07:39:30PM CET: >> Is there a way to enable dependency tracking by default even if only slow >> mechanisms are available (as if --enable-dependency-tracking were always >> specif

Re: enable dependency tracking whenever available

2007-01-18 Thread Ralf Wildenhues
Hello Jason, * Jason Kraftcheck wrote on Thu, Jan 18, 2007 at 07:39:30PM CET: > Is there a way to enable dependency tracking by default even if only slow > mechanisms are available (as if --enable-dependency-tracking were always > specified?). You mean as the package develo

enable dependency tracking whenever available

2007-01-18 Thread Jason Kraftcheck
Is there a way to enable dependency tracking by default even if only slow mechanisms are available (as if --enable-dependency-tracking were always specified?). thanks, - jason

Re: Dependency tracking of pre processed Assembler files

2006-10-11 Thread Thomas Schwinge
On Wed, Oct 11, 2006 at 08:25:07AM +0200, Ralf Wildenhues wrote: > * Ralf Corsepius wrote on Wed, Oct 11, 2006 at 05:49:00AM CEST: > > On Tue, 2006-10-10 at 17:55 +0200, Thomas Schwinge wrote: > > > > > > What's the deal with making Automake support dependency t

Re: Dependency tracking of pre processed Assembler files

2006-10-11 Thread Ralf Corsepius
On Wed, 2006-10-11 at 09:55 +0200, Ralf Wildenhues wrote: > * Ralf Corsepius wrote on Wed, Oct 11, 2006 at 08:52:42AM CEST: > > OK, I just was about to try automake-CVS + autoconf-2.60 and now am > > facing an issue with a package using subdir-objects and *_SOURCES > > containing *.S + *.c: > > >

Re: Dependency tracking of pre processed Assembler files

2006-10-11 Thread Ralf Wildenhues
* Ralf Corsepius wrote on Wed, Oct 11, 2006 at 08:52:42AM CEST: > OK, I just was about to try automake-CVS + autoconf-2.60 and now am > facing an issue with a package using subdir-objects and *_SOURCES > containing *.S + *.c: > > # autoreconf -Wall [...] > /opt/gnu/share/automake-1.9c/am/depend2.a

Re: Dependency tracking of pre processed Assembler files

2006-10-10 Thread Ralf Corsepius
ou were right though, sorry about that. Dependency tracking is > implemented in 1.9b. There is however an open issue wrt. > subdir-objects. Sorry about that. OK, I just was about to try automake-CVS + autoconf-2.60 and now am facing an issue with a package using subdir-objects and *_SOURCES containing

Re: Dependency tracking of pre processed Assembler files

2006-10-10 Thread Ralf Wildenhues
Hello Ralf, * Ralf Corsepius wrote on Wed, Oct 11, 2006 at 08:28:45AM CEST: > > I know it's not implemented in automake-1.8/1.9, but I thought > this was fixed in HEAD;) You were right though, sorry about that. Dependency tracking is implemented in 1.9b. There is however an

Re: Dependency tracking of pre processed Assembler files

2006-10-10 Thread Ralf Corsepius
On Wed, 2006-10-11 at 08:25 +0200, Ralf Wildenhues wrote: > * Ralf Corsepius wrote on Wed, Oct 11, 2006 at 05:49:00AM CEST: > > On Tue, 2006-10-10 at 17:55 +0200, Thomas Schwinge wrote: > > > > > > What's the deal with making Automake support dependency t

Re: Dependency tracking of pre processed Assembler files

2006-10-10 Thread Ralf Wildenhues
* Ralf Corsepius wrote on Wed, Oct 11, 2006 at 05:49:00AM CEST: > On Tue, 2006-10-10 at 17:55 +0200, Thomas Schwinge wrote: > > > > What's the deal with making Automake support dependency tracking for (pre > > processed) Assembler files (the .S ones)? I've seen som

Re: Dependency tracking of pre processed Assembler files

2006-10-10 Thread Ralf Corsepius
On Tue, 2006-10-10 at 17:55 +0200, Thomas Schwinge wrote: > Hello! > > What's the deal with making Automake support dependency tracking for (pre > processed) Assembler files (the .S ones)? I've seen some bits of > discussions about this in various places, but no final

Dependency tracking of pre processed Assembler files

2006-10-10 Thread Thomas Schwinge
Hello! What's the deal with making Automake support dependency tracking for (pre processed) Assembler files (the .S ones)? I've seen some bits of discussions about this in various places, but no final conclusion so far. Regards, Thomas signature.asc Description: Digital signature

Re: dependency tracking for .S assembler files

2004-10-05 Thread Martin Waitz
hi :) On Fri, Sep 24, 2004 at 05:51:40PM +0200, Alexandre Duret-Lutz wrote: > The only think holding this patch is that it adds a new language > without documenting it. I merged Ralfs and my patch and also added a minimal bit of documentation: Index: automake.in

Re: dependency tracking for .S assembler files

2004-09-24 Thread Alexandre Duret-Lutz
>>> "Martin" == Martin Waitz <[EMAIL PROTECTED]> writes: [...] Martin> And somebody should take a look at other compilers, too. Speaking of these... does anybody know about some C compiler that compiles *.s files and does not support both `-c -o' at the same time? In other words, the `compile'

Re: dependency tracking for .S assembler files

2004-09-24 Thread Alexandre Duret-Lutz
>>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes: Ralf> On Wed, 2004-09-22 at 17:06, Martin Waitz wrote: >> Hi, >> >> I'm working on a project which uses assembler files which get >> preprocessed by the C preprocessor (.S files). >> automake does not yet keep track of dependencies of

Re: dependency tracking for .S assembler files

2004-09-24 Thread Bob Friesenhahn
On Fri, 24 Sep 2004, Martin Waitz wrote: hi :) On Thu, Sep 23, 2004 at 10:50:19AM -0500, Bob Friesenhahn wrote: How well does this patch work for filesystems which do not preserve case in file names? I guess the patch doesn't change the situation here. Mixed case filenames on such filesystems have

Re: dependency tracking for .S assembler files

2004-09-24 Thread Ralf Corsepius
On Fri, 2004-09-24 at 09:58, Martin Waitz wrote: > But perhaps you are right and we should not separate handling of .s and .S. I strongly concur. *.s and *.S are different beasts. Filesystems and systems which can not distinguish them, have lost. But this is not an automake problem, this is desi

Re: dependency tracking for .S assembler files

2004-09-24 Thread Martin Waitz
hi :) On Thu, Sep 23, 2004 at 10:50:19AM -0500, Bob Friesenhahn wrote: > How well does this patch work for filesystems which do not preserve > case in file names? I guess the patch doesn't change the situation here. Mixed case filenames on such filesystems have always been a problem. This patch

Re: dependency tracking for .S assembler files

2004-09-23 Thread Bob Friesenhahn
How well does this patch work for filesystems which do not preserve case in file names? Do we need to support filesystems which don't preserve case? Bob On Wed, 22 Sep 2004, Martin Waitz wrote: Hi, I'm working on a project which uses assembler files which get preprocessed by the C preprocessor

Re: dependency tracking for .S assembler files

2004-09-23 Thread Ralf Corsepius
On Wed, 2004-09-22 at 17:06, Martin Waitz wrote: > Hi, > > I'm working on a project which uses assembler files which get > preprocessed by the C preprocessor (.S files). > automake does not yet keep track of dependencies of these files. Reminds me about my patch http://lists.gnu.org/archive/html/

dependency tracking for .S assembler files

2004-09-22 Thread Martin Waitz
Hi, I'm working on a project which uses assembler files which get preprocessed by the C preprocessor (.S files). automake does not yet keep track of dependencies of these files. The patch below fixes that for me. === diff -urp a

automatic dependency tracking for .S assembly files?

2004-04-06 Thread Martin Waitz
hi :) i'm working on a project that includes one .S assembly file. this file uses some preprocessor macros and includes some header files. automake seems to treat .s and .S files identically and does not generate automatic dependencies. would it be possible to add dependency tracking

Dependency tracking

2004-02-20 Thread Thomas 'Tom' R. Treadway III
I would like to have the option of making dependency tracking default to "no-dependencies", unless a --enable-dependency-tracking configuration option is used. Much like how how AC_DISABLE_SHARED works to decrease compile time. trt -- Thomas R. Treadway Computer Scientist Lawrence

Re: Disabling dependency tracking - how?

2002-11-14 Thread Alexandre Duret-Lutz
piled if any of these files change. That's the purpose of dependency tracking. miki> AFAIK, it's not mandatory to mention them during compilation Huh? We don't do this. dependencies != sources [...] -- Alexandre Duret-Lutz

Re: Disabling dependency tracking - how?

2002-11-10 Thread miki . shapiro
I wrote: >Is there a way to avoid using the ... [dependency tracking]... Apologies. It *was* in the F*** manual :-). "AUTOMAKE_OPTIONS = no-dependencies" in Makefile.am works as advertised. My other question still stands though - regarding the neccesity/advantage of calling header

Disabling dependency tracking - how?

2002-11-10 Thread miki . shapiro
Hi all! For the protocol, I'm using am-1.7 and ac-2.54. Is there a way to avoid using the dynamically-generated list of make subrules (for every seperate object file) and simply have automake generate a static list inside Makefile.in (that will be later copied into the project's makefile)? I (*t

Re: automatic dependency tracking

2002-01-18 Thread Tom Tromey
> "Tom" == Tom Lord <[EMAIL PROTECTED]> writes: Tom> Is there anything known to be non-portable about this technique Tom> for generating a list of all included files? Yes. Tom>cc [-I options] -E Tom>| sed -e '{ Tom>/^#[[:space:]]\{1,\}[[:digit:]]\{1,\}[[:space:]]\{

automatic dependency tracking

2002-01-18 Thread Tom Lord
Is there anything known to be non-portable about this technique for generating a list of all included files? cc [-I options] -E \ | sed -e '{ /^#[[:space:]]\{1,\}[[:digit:]]\{1,\}[[:space:]]\{1,\}"/!d s/^[^"]*"// s/"[^

dependency tracking history

2001-06-29 Thread Tom Tromey
Last night I wrote a history of the automatic dependency schemes used in Automake. I've checked it in to the Automake web pages. Read it here, if you're interested: http://sources.redhat.com/automake/dependencies.html Teaser: it turns out that every dependency tracking scheme

Re: automatic dependency tracking

2001-06-21 Thread Tom Tromey
> "Johannes" == Kremp, Johannes (Extern) <[EMAIL PROTECTED]> writes: Johannes> sorry for this question, but where can i get cvs automake? Start at the home page. http://sources.redhat.com/automake/ Tom

RE: automatic dependency tracking

2001-06-21 Thread Kremp, Johannes (Extern)
Johannes> hi, is there a patch which make it possible to make Johannes> dependency-tracking with other compiler than 'gcc'? This is one of the major new features in the cvs automake. sorry for this question, but where can i get cvs automake? johannes

Re: automatic dependency tracking

2001-06-20 Thread Tom Tromey
>>>>> "Johannes" == Kremp, Johannes (Extern) <[EMAIL PROTECTED]> writes: Johannes> hi, is there a patch which make it possible to make Johannes> dependency-tracking with other compiler than 'gcc'? This is one of the major new features in the cvs automake. Tom

automatic dependency tracking

2001-06-20 Thread Kremp, Johannes (Extern)
hi, is there a patch which make it possible to make dependency-tracking with other compiler than 'gcc'? johannes

Re: PATCH: Fix dependency tracking (revised)

2001-05-14 Thread Akim Demaille
## Note it is on purpose we wrote `if %AMDEP%', since: ## ## - if deps are turned off, %AMDEP% is mapped onto FALSE, and therefore ## the `if FALSE' chunk is removed (automake-time conditionals). ## ## - if deps are on, %AMDEP% is mapped onto AMDEP, and therefore ## the `if FALSE' chunk is p

Re: PATCH: Fix dependency tracking (revised)

2001-05-13 Thread Tom Tromey
>>>>> "Robert" == Robert Boehne <[EMAIL PROTECTED]> writes: Robert> The latest CVS Automake works fine for Robert> --enable-dependency-tracking, but when Robert> --disable-dependency-tracking is specified it's still choking. Robert> .cxx.o: Ro

Re: Dependency tracking thought

2001-05-13 Thread Akim Demaille
>>>>> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: Tom> gcc3 very nearly does exactly what automake wants in terms of Tom> dependency tracking. Tom> I think that ideally automake should recognize this and avoid Tom> using depcomp when it discovers

Dependency tracking thought

2001-05-12 Thread Tom Tromey
gcc3 very nearly does exactly what automake wants in terms of dependency tracking. I think that ideally automake should recognize this and avoid using depcomp when it discovers that the user is using gcc3. In this situation instead of invoking depcomp we would just invoke gcc like depcomp does

Re: PATCH: Fix dependency tracking (revised)

2001-05-07 Thread Robert Boehne
T it. > Robert> * automake.in: (handle_dependencies) Replace @AMDEP_TRUE@ in > Robert> $output_rules with @_am_dep_true@ so that @AMDEP_TRUE@ isn't > Robert> substituted away when automake is created by configure. > Robert> * depend2.am: Add @AMDEP_

Re: PATCH: Fix dependency tracking (revised)

2001-05-07 Thread Robert Boehne
T it. > Robert> * automake.in: (handle_dependencies) Replace @AMDEP_TRUE@ in > Robert> $output_rules with @_am_dep_true@ so that @AMDEP_TRUE@ isn't > Robert> substituted away when automake is created by configure. > Robert> * depend2.am: Add @AMDEP_

Re: PATCH: Fix dependency tracking (revised)

2001-05-05 Thread Tom Tromey
in: (handle_dependencies) Replace @AMDEP_TRUE@ in Robert> $output_rules with @_am_dep_true@ so that @AMDEP_TRUE@ isn't Robert> substituted away when automake is created by configure. Robert> * depend2.am: Add @AMDEP_TRUE@ to the beginning of lines for Robert>

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-05-05 Thread Tom Tromey
> "Robert" == Robert Boehne <[EMAIL PROTECTED]> writes: Robert> foreach my $iter (@deplist) Robert> { Robert> $output_rules .= (' @_am_include@ @_am_quote@' Robert> . $iter . '@_am_quote@' . "\n"); Robert> }

PATCH: Fix dependency tracking (revised)

2001-04-25 Thread Robert Boehne
Problem: Makefile.in's created with --include-deps do not allow configure to turn off dependency tracking. If --disable-dependency-tracking is specified to configure, the rules for object files are invalid, causing make to exit without building anything. Also, if a compiler that doe

RE: PATCH: Fix dependency tracking

2001-04-24 Thread Boehne, Robert
Title: RE: PATCH: Fix dependency tracking Automakers: I posted the patch to demonstrate the problem rather than get the exact changes I made incorporated into Automake (hence no ChangeLog entry).  The one thing I'm particularly suspicious of is how to get automake.in's i

Re: PATCH: Fix dependency tracking

2001-04-24 Thread Akim Demaille
# Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.13 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# Generated by Autoconf 2.49f. Automake uses stock 2.13.

Re: PATCH: Fix dependency tracking

2001-04-23 Thread Alexandre Oliva
On Apr 23, 2001, Robert Boehne <[EMAIL PROTECTED]> wrote: > Here is a patch that fixes the problems I've been winging about. > Part of the problem appears to be that @AMDEP_TRUE@ is > AC_SUBST'd when automake is generated from automake.in, > so I add a dummy variable and set it to '@AMDEP_TRUE@'

PATCH: Fix dependency tracking

2001-04-23 Thread Robert Boehne
ux_dir && pwd`/missing" # Use eval to expand $SHELL -if eval "$MISSING --run :"; then +if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= @@ -375,22 +375,11 @@ [AC_ARG_ENABLE(dependency-tracking, [ --disable

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
tmpdepfile='$(DEPDIR)/%BASE%.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@ $(%FPFX%DEPMODE) $(depcomp) @AMDEPBACKSLASH@ endif %AMDEP% %LTCOMPILE% -c -o %LTOBJ% `test -f %SOURCE% || echo'$(srcdir)/'`%SOURCE% endif %?LIBTOOL% Shouldn't it? I've taken my inst

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
OK, here's a bit more info: In automake.in this code appears: foreach my $iter (@deplist) { $output_rules .= ('@AMDEP_TRUE@@_am_include@ @_am_quote@' . $iter . '@_am_quote@' . "\n"); } Which, if it added @AMD

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
CVS version of aclocal.m4 doesn't match CVS m4/depend.m4, could that cause a problem? Robert Boehne wrote: > > Hello, > > There is a bit of a problem in CVS Automake (Today's) when > --disable-dependency-tracking is specified to configure. > If dependency track

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
on should have `#'s in the beginning > of the lines containing AMDEPBACKSLASH. This should have been a > result of the new if/endif AMDEP rules in depend2.am. > > However, I see the change that introduced AMDEP as a conditional has > removed the test for the existence of the depco

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-20 Thread Alexandre Oliva
his should have been a result of the new if/endif AMDEP rules in depend2.am. However, I see the change that introduced AMDEP as a conditional has removed the test for the existence of the depcomp script. Hmm... Perhaps this is not necessary, since this very script is used to choose a dependency t

Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-18 Thread Robert Boehne
Hello, There is a bit of a problem in CVS Automake (Today's) when --disable-dependency-tracking is specified to configure. If dependency tracking rules have been added to Makefile.in, the rules created have @AMDEPBACKSLASH@ at the end of the lines that tell depcomp the required variables s

Re: automake: Automatic Dependency Tracking

2001-01-12 Thread Dave Brolley
Sending configure.in as requested Tom Tromey wrote: >>>>>> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: >>>>> > > Dave> I have a project which contains a mix of C and C++ sources, and > Dave> dependency tracking does

Re: automake: Automatic Dependency Tracking

2001-01-12 Thread Tom Tromey
>>>>> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: Dave> I have a project which contains a mix of C and C++ sources, and Dave> dependency tracking does not seem to be enabled. I've attached Dave> my Makefile.am and Makefile.in for reference.

automake: Automatic Dependency Tracking

2001-01-12 Thread Dave Brolley
Hi, The automake online documentation says, regarding automatic dependency tracking: " this mode is enabled by default if any C program or library is defined in the current directory" I have a project which contains a mix of C and C++ sources, and dependency tracking does not

Re: How to perform Automatic dependency tracking when compiling with cc ?

2000-11-25 Thread Tom Tromey
>>>>> "Benoit" == benoit LOOF <[EMAIL PROTECTED]> writes: Benoit>* i need to generate makefiles that compile my program using cc Benoit>* automake 1.4 requires gcc to perform Automatic dependency tracking Benoit> so my question is : how

How to perform Automatic dependency tracking when compiling with cc ?

2000-11-23 Thread benoit LOOF
Hi, here is my problem : * i need to generate makefiles that compile my program using cc * automake 1.4 requires gcc to perform Automatic dependency tracking so my question is : how to get the benefits of Automatic dependency tracking, compiling with cc ? wbr, Benoit Loof

Re: Dependency tracking

2000-10-17 Thread Alexandre Oliva
On Oct 17, 2000, "Paul F. Kunz" <[EMAIL PROTECTED]> wrote: > Is there a way to allow the gcc developer to use automake dependency > tracking, while the other developer uses some other system. Use CVS automake. It's dependency tracking mechanism no longer

Dependency tracking

2000-10-17 Thread Paul F. Kunz
I have a project being worked on by two people; both with gmake but one not using gcc. Is there a way to allow the gcc developer to use automake dependency tracking, while the other developer uses some other system. The other developer has gcc (but doesn't use it for the code), so is

Re: [PATCH] Dependency tracking for Microsoft Visual C/C++

2000-10-17 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> We compute dependencies in parallel with the actual Alexandre> compilation, but we mustn't consider the job done before Alexandre> both are complete. Ah! Yes, I overlooked the ` "$@" '. Thanks!

Re: [PATCH] Dependency tracking for Microsoft Visual C/C++

2000-10-16 Thread Alexandre Oliva
On Oct 16, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > | Hi, > | this patch implements support for extracting dependency tracking > | information by using the preprocessor mode of the Microsoft Visual > | C/C++ compiler. > Thanks, installed. > Could someone explai

Re: [PATCH] Dependency tracking for Microsoft Visual C/C++

2000-10-16 Thread Akim Demaille
| Hi, | this patch implements support for extracting dependency tracking | information by using the preprocessor mode of the Microsoft Visual | C/C++ compiler. Thanks, installed. Could someone explain to me why we launch it in background and then just wait for it to complete?

  1   2   >