Build Gen-ZAM from a submodule and support use of pre-existing executable

This separates Gen-ZAM from the main Zeek distribution and places it in a
submodule at auxil/gen-zam, reflecting binpac and bifcl. Configuring with
--with-gen-zam=... allws reuse of an existing executable.
This commit is contained in:
Christian Kreibich 2022-02-28 14:17:48 -08:00
parent 9b184c3d4a
commit e403dd5fe1
9 changed files with 34 additions and 3248 deletions

View file

@ -294,6 +294,10 @@ if ( NOT BIFCL_EXE_PATH )
add_subdirectory(auxil/bifcl)
endif ()
if ( NOT GEN_ZAM_EXE_PATH )
add_subdirectory(auxil/gen-zam)
endif ()
if (ENABLE_JEMALLOC)
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
if (DEFINED JEMALLOC_ROOT_DIR)