Giving analyzer/ its own CMakeLists.txt.

Also moving src/analyzer.bif to src/analyzer/analyzer.bif, along with
the infrastructure to build/incude bif code at other locations.

We should generally move to having per-directory CMakeLists.txt. I'll
convert the others over later.
This commit is contained in:
Robin Sommer 2013-04-04 16:53:21 -07:00
parent bccaea6883
commit 897be0e147
10 changed files with 83 additions and 40 deletions

View file

@ -548,14 +548,12 @@ void builtin_error(const char* msg, BroObj* arg)
reporter->Error(msg, arg);
}
#include "analyzer.bif.func_h"
#include "bro.bif.func_h"
#include "logging.bif.func_h"
#include "input.bif.func_h"
#include "reporter.bif.func_h"
#include "strings.bif.func_h"
#include "analyzer.bif.func_def"
#include "bro.bif.func_def"
#include "logging.bif.func_def"
#include "input.bif.func_def"
@ -571,7 +569,6 @@ void init_builtin_funcs()
var_sizes = internal_type("var_sizes")->AsTableType();
gap_info = internal_type("gap_info")->AsRecordType();
#include "analyzer.bif.func_init"
#include "bro.bif.func_init"
#include "logging.bif.func_init"
#include "input.bif.func_init"