Combine attn handler and openpower hwdiags

The main binary is now openpower-hw-diags. This application will take a
command line option --daemon to load it as a daemon. As a daemon it will
register the attention handler portion of application as the attention
gpio event handler. If the application is not loaded as a daemon it will
operate as a stand alone application which accepts command line options
for requesting hardware analyses and diagnostics operations.

Change-Id: I6210b744cb320873d74a0757928f904ca6296846
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
diff --git a/meson.build b/meson.build
index 139d66f..e6d411f 100644
--- a/meson.build
+++ b/meson.build
@@ -10,9 +10,15 @@
 # libhei is available as a subproject
 subproject('libhei')
 
-subdir('src')
+incdir = include_directories('.')
+
+subdir('analyzer')
 subdir('attn')
 
+executable('openpower-hw-diags', 'main.cpp',
+            link_with : [analyzer, attn],
+            install : true)
+
 build_tests = get_option('tests')
 
 if not build_tests.disabled()