bif files declared with bif_target() are now automatically compiled

in.

No more manual includes to pull them in.

(It doesn't quite work fully automatically yet for some bifs that need
script-level types defined, like the input and logging frameworks.
They still do a manual "@load foo.bif" in their main.bro to get the
order right. It's a bit tricky to fix that and would probably need
splitting main.bro into two parts; not sure that's worth it.)
This commit is contained in:
Robin Sommer 2013-07-25 09:45:10 -07:00
parent febb7e8395
commit 4a7046848c
11 changed files with 42 additions and 10 deletions

View file

@ -60,7 +60,6 @@ void Manager::RegisterAnalyzerComponent(Component* component)
void Manager::InitPostScript()
{
#include "file_analysis.bif.init.cc"
}
void Manager::Terminate()