I use a script I wrote, but you can do it by hand. Edit plugins/makefile.am and pick one that's there now. Everywhere you see your chosen plugin, add your new plugin, either to the list or as a new set of lines. Then, in the base ntop directory, rebuild the makefiles via automake, then ./configure and make as normal.
You can do this in the generated Makefile, except you'll lose it when you do make and automake decides to rebuild and you are very likely to screw it up as there are a LOT of lines to copy and adjust. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hrithik Govardhan Sent: Wednesday, April 20, 2005 2:36 PM To: [EMAIL PROTECTED] Subject: [Ntop-dev] Creating a new plugin (Newbie alert) Hi all - So I'm trying to figure out the easiest way to add / create an ntop plugin. Once I put the file in the plugins directory, which files do I need to update so that the make will see the new plugin? So far, I've updated the FILES file, and I started on the Makefile.am file, but there are SO MANY references to the existing plugins in that file, I was wondering if there was an easier/more intuitive way of doing things. Thanks for your patience! ~Hrithik _______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev _______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
