On a "zero-touch re-build" (what I call a re-build after having changed nothing), I see these steps being performed (in different directories):
1)
2)
LEMON grammar.h
CC grammar.lo
3)
LEMON dtd_grammar.h
CC dtd_grammar.lo
4)
LEMON mate_grammar.h
CC mate_grammar.lo
5)
(yes, once again)
6)
CCLD tshark
CCLD dftest
CCLD rawshark
(expected, if a few *.lo's were re-built)
If I chdir to epan/dfilter, and run a 0-touch rebuild ,twice, I see 2 different outputs:
$~/prj/wireshark-trunk/epan/dfilter$ make
LEMON grammar.h
$ ~/prj/wireshark-trunk/epan/dfilter$ make
LEMON grammar.h
CC grammar.lo
So, yes, something is wrong with these dependencies. I'll take a look.
Gilbert