Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 47064: /trunk/epan/ /trunk/epan/: CM

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Tue, 21 May 2013 16:17:30 -0400
On 04/23/13 18:49, Joerg Mayer wrote:
On Mon, Apr 22, 2013 at 03:55:31PM -0400, Maynard, Chris wrote:
I merely tried to make it consistent with nmake (see line 855 of http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/Makefile.common?revision=48773&view=markup), but if I've misinterpreted this, then I apologize.  Feel free to back out any changes that aren't correct.

In order to be consistent with autofoo, you will have to break compilation
for out-of-tree builds :-/
If you delete epan/dissectors/packet-ncp2222.c, then do an out-of-tree
build with autofoo, the build will fail:

make[5]: Entering directory `/home/jmayer/work/wireshark/build/autofoo/epan/dissectors'
make[5]: *** No rule to make target `../../../../svn/trunk/epan/dissectors/packet-ncp2222.c', needed by `libdissectors_la-packet-ncp2222.lo'.  Stop.
make[5]: Leaving directory `/home/jmayer/work/wireshark/build/autofoo/epan/dissectors'

I saw this a while back and meant to come back to it...

This does work with autofoo.  Basically what I did to reproduce:

make maintainer-clean
./autogen.sh
mkdir _build; cd _build
../configure
make

It builds just fine.

Just to be sure I made sure there was no trunk/epan/dissectors/packet-ncp2222.c and no trunk/_build/epan/dissectors/packet-ncp2222.c and it rebuilt just fine.

Not sure why it didn't work for you...