Wireshark-dev: Re: [Wireshark-dev] Add a new tap listener into tshark

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Fri, 12 Jul 2013 17:31:15 -0400
On 07/12/13 15:03, Simon Zhong wrote:
Hi,

I'm trying add a cops listener into tshark. I created tap-cops.c and put
it in ui/cli, however the make process doesn't include it.

I've tried add tap-cops.c into .CMakeLists.txt and
ui/cli/Makefile.common, still no lucky.

Are you building with cmake or ./configure ? The former uses CMakeLists.txt and the latter Makefile.common .

I used tap-diameter-avp.c as reference, it seems those two files above
are the only place it shown.

Of course ui/cli/Makefile.in also seems suspicious, but I'm not sure if
I should change it.

After modifying Makefile.common Makefile.in should automatically be regenerated. If not, run ./autogen.sh && ./configure to get it (and the Makefile) updated.