Attention Handler base logic

Added base logic for the attention handler application (attn) as a starting point for further refinement. Attn will handle SBE vital, system checkstop and special attention events. These events will be handled through a combination local logic and external hardware and software interfaces.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I074fb86474761bf694644c71d93ede9c45673b79
diff --git a/attn/meson.build b/attn/meson.build
new file mode 100644
index 0000000..d215067
--- /dev/null
+++ b/attn/meson.build
@@ -0,0 +1,18 @@
+# needed to find external libraries not registered with package manager
+cmplr = meson.get_compiler('cpp')
+
+# dependency to link dbus support
+sdbusplus = dependency('sdbusplus', version : '>=1.0')
+
+# dependency to link libpdbg support
+libpdbg = cmplr.find_library('pdbg')
+
+# libpdbg requires linking with "whole-archive" option
+whole_archive = declare_dependency(link_args : '-Wl,--whole-archive')
+no_whole_archive = declare_dependency(link_args : '-Wl,--no-whole-archive')
+
+executable('attn_handler',
+           'attn_main.cpp', 'attn_handler.cpp',
+           dependencies : [whole_archive, libpdbg,
+                           no_whole_archive, sdbusplus],
+           install : true)