Fixing cmake dependencies and "make {install,clean}"

Also includes a bunch of cleanup.
This commit is contained in:
Robin Sommer 2013-05-15 20:22:51 -07:00
parent 10dc8b9279
commit 8752870967
86 changed files with 130 additions and 116 deletions

View file

@ -9,14 +9,14 @@
#define _BRO_PLUGIN_VERSION_DEFAULT -1
#define BRO_PLUGIN_BEGIN(_name) \
namespace plugin { namespace _name { \
#define BRO_PLUGIN_BEGIN(_ns, _name) \
namespace plugin { namespace _ns ## _ ## _name {\
class Plugin : public plugin::Plugin { \
protected: \
void Init() \
{ \
SetName(#_name); \
SetVersion(_BRO_PLUGIN_VERSION_DEFAULT); \
SetName(#_ns "::" #_name); \
SetVersion(_BRO_PLUGIN_VERSION_DEFAULT);\
SetAPIVersion(BRO_PLUGIN_API_VERSION);
#define BRO_PLUGIN_END \