From: Fred Morcos Date: Fri, 4 Aug 2023 09:18:47 +0000 (+0200) Subject: Meson: Auth Lua2 backend build file X-Git-Tag: rec-5.1.0-alpha1~80^2~302 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7a871f354c73759efbd69729cec3a55fcd6eb4a;p=thirdparty%2Fpdns.git Meson: Auth Lua2 backend build file --- diff --git a/meson_options.txt b/meson_options.txt index fdad646c9c..9d1a05d0ed 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -39,6 +39,8 @@ option('module-geoip', type: 'boolean', value: false, description: 'Build the Ge option('module-geoip-dyn', type: 'boolean', value: false, description: 'Build the dynamically loadable GeoIP backend') option('module-lmdb', type: 'boolean', value: false, description: 'Build the LMDB backend') option('module-lmdb-dyn', type: 'boolean', value: false, description: 'Build the dynamically loadable LMDB backend') +option('module-lua2', type: 'boolean', value: false, description: 'Build the Lua2 backend') +option('module-lua2-dyn', type: 'boolean', value: false, description: 'Build the dynamically loadable Lua2 backend') option('tools', type: 'boolean', value: false, description: 'Build the extra tools') option('ixfrdist', type: 'boolean', value: false, description: 'Build ixfrdist') option('lua-records', type: 'boolean', value: true, description: 'Build support for Lua records') diff --git a/modules/lua2backend/meson.build b/modules/lua2backend/meson.build new file mode 100644 index 0000000000..e6e49181de --- /dev/null +++ b/modules/lua2backend/meson.build @@ -0,0 +1,17 @@ +module_sources = [ + 'lua2api2.cc', + 'lua2backend.cc', + + # Headers + 'lua2backend.hh', + 'lua2api2.hh', + # config_h, +] + +if get_variable(module_name + '_module') + static_library(module_backend_name, module_sources, include_directories: module_includes, dependencies: [dep_libcrypto, dep_lua]) +endif + +if get_variable(module_name + '_dyn_module') + +endif