build: add support for building with meson

Follow the OpenBMC herd and support a more modern, more comprehensible,
more performant build framework.

To build using meson:
   meson build
   ninja -C build
   ninja -C build install

Added -Dtests to match de-facto OpenBMC meson usage conventions.

Dropped support for --enable-oe-sdk rpath munging.  This was a
workaround for broken oe sdks that don't figure out the correct rpath
when running make check or ninja test.

Ran existing unit tests (which passed) using ninja test.

Change-Id: I198700d866e1b23ba0a22b156335bbb973b98f43
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/test/meson.build b/test/meson.build
new file mode 100644
index 0000000..c71f83a
--- /dev/null
+++ b/test/meson.build
@@ -0,0 +1,20 @@
+gmock = dependency('gmock', disabler: true, required: build_tests)
+gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
+
+test(
+    'utest',
+    executable(
+        'utest', 'utest.cpp',
+        dependencies: [
+            gmock,
+            gtest,
+            libevdev,
+        ],
+        implicit_include_directories: false,
+        include_directories: '..',
+        link_with: [
+            libevdev_o,
+            libmonitor_o,
+        ]
+    )
+)