Wireshark-dev: [Wireshark-dev] How Do i disable the build of TAP and unnecessary dissector?

From: lookfar <lookfar@xxxxxxx>
Date: Fri, 16 Sep 2011 10:18:55 +0800 (CST)
Dear Friends:
my version is wireshark-1.7.0-SVN-38520.
I had tried 
1.removing some lines from Makefile.common,
2.commenting some lines in register.c
but,unsuccess.Maybe i just finished part work,not all,so failed.
Please give me a total plan to build a fast and small wireshark,Thanks.
Michael
2011-9-16