]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Auth Lua2 backend build file
authorFred Morcos <fred.morcos@open-xchange.com>
Fri, 4 Aug 2023 09:18:47 +0000 (11:18 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:32 +0000 (13:28 +0100)
meson_options.txt
modules/lua2backend/meson.build [new file with mode: 0644]

index fdad646c9cb7166bcd3a1d0eb4615a2534c4a2b5..9d1a05d0ed10cbb9cee2680c94b031b660eb53e5 100644 (file)
@@ -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 (file)
index 0000000..e6e4918
--- /dev/null
@@ -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