automake
[Top][All Lists]
Advanced

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

Re: Timestamp or dependency problem with automake


From: Steve Kreyer
Subject: Re: Timestamp or dependency problem with automake
Date: Thu, 16 Feb 2006 13:43:24 +0100

Hi Ralf,

thanks for your reply.

Ralf Wildenhues <address@hidden> schrieb am 16.02.06 10:04:44:
> No, I for one don't have a crystal ball. ;-)
Sorry for my less verbose information output :)

> Yes.  You need to show us the Makefile.am's involved (and maybe we'll ask for 
> more files later), 
Makefile.am in top_srcdir:
-------------------------------------------------------------
EXTRA_DIST = ${top_srcdir}/idl\
   ${top_srcdir}/include\
   ${top_srcdir}/include/tidy\
   ${top_srcdir}/include/regex\
   ${top_srcdir}/generatePack.sh\
   ${top_srcdir}/generateTempl.sh\
   ${top_srcdir}/win32\
   ${top_srcdir}/../chrome\
   ${top_srcdir}/../install.rdf\
   ${top_srcdir}/../install.js

SUBDIRS = src
.PHONY: idl
idl:
        for i in `ls ${top_srcdir}/idl/*.idl | awk -F '/' '{ print $$3}'`; do \
                ${xpidlbin} -m header -I ${GECKO_PATH}/idl -I ${top_srcdir}/idl 
-o ${top_srcdir}/include/$${i: 0: `expr length $$i` - 4} ${top_srcdir}/idl/$$i; 
${xpidlbin} -m typelib -I ${GECKO_PATH}/idl -I ${top_srcdir}/idl -o 
${top_srcdir}/include/$${i: 0: `expr length $$i` - 4} ${top_srcdir}/idl/$$i;done
                
.PHONY: templates
templates:
        ${top_srcdir}/generateTempl.sh

.PHONY: plugin
plugin:
        ${top_srcdir}/generatePack.sh

.PHONY: clean-local
clean-local:
        rm -f ${top_srcdir}/include/*xpt
        
.PHONY: all-local
all-local:
        make idl
        make plugin
        
.PHONY: dist-hook
dist-hook:
        mkdir ${top_srcdir}/components
        mv ${distdir}/* components/
        mv ${top_srcdir}/chrome ${distdir}/
        mv ${top_srcdir}/install.js ${distdir}/
        mv ${top_srcdir}/install.rdf ${distdir}/
        mv ${top_srcdir}/components/ ${distdir}/
        rm -rf `find $(distdir) -name CVS`
        rm -f `find $(distdir) -name .cvsignore`
        rm -rf ${top_srcdir}/components 
--------------------------------------------------------
Makefile.am in top_srcdir/src:
--------------------------------------------------------
SUBDIRS = tidy regex
lib_LTLIBRARIES = libnsFace.la
libnsFace_la_SOURCES = nsHTMLValidator.cpp\
        nsHTMLErrorCorrectionUtil.cpp\
        nsHTMLErrorInformation.cpp\
        nsValidatorError.cpp\
        nsCSSValidator.cpp\
        nsAccessValidator.cpp\
        nsErrorFormatter.cpp\
        nsSyntaxHighlighter.cpp\
        nsPrettyPrinter.cpp\
        nsFaceModule.cpp
libnsFace_la_LIBADD = tidy/libtidy.la regex/libregex.la
AM_CPPFLAGS = -I$(top_srcdir)/include
---------------------------------------------------------

> or a reduced test case that still exposes
> this.  Which make implementation and version?  
GNU make version 3.81 beta

> Which automake version was used?  
automake version 1.9.6

> Did configure enable dependency tracking?  If yes, which
> type?
nope

> Which compiler was used?
g++ version 3.3.6 and g++ version 4.0.0 with both compiler versions the same 
result...

> Maybe you can debug the second `make' call and find out why it thinks
> rebuilding is necessary (many make implementations have flags to output
> debug information)?
Thats a good idea i will try it in the evening and then report you the 
results...

Ive also checked the timestamps but they are correct. (object files are younger 
than source files)

> Cheers,
> Ralf
Regards 

Steve

P.S. in appendix the relevant output of the second make call
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

Attachment: make.out
Description: Binary data


reply via email to

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