sysd_monitor: Add systemd unit and required json

Previous service files for this repo are contained in the corresponding
meta layer. There's a push in OpenBMC though to move these services
files into the repository that owns them. Putting this service in this
repository is the first step in that direction.

Tested:
- Booted Romulus QEMU with required meta changes and verified
application started and logged chassis poweron error.

Change-Id: Iaa0cddff20246b74950e826bdbf34de4cabad8bf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/Makefile.am b/Makefile.am
index d62c61b..129f5b1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,9 @@
 @CODE_COVERAGE_RULES@
 endif
 
+systemdsystemunit_DATA = \
+  phosphor-systemd-target-monitor.service
+
 AM_LIBS = $(CODE_COVERAGE_LIBS)
 AM_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS) -UNDEBUG $(GTEST_CPPFLAGS)
 AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
@@ -96,6 +99,9 @@
 	$(SDEVENTPLUS_LIBS) \
 	-lstdc++fs
 
+install-data-local:
+	mkdir -p ${DESTDIR}/$(sysconfdir)/phosphor-systemd-target-monitor
+	cp $(srcdir)/phosphor-target-monitor-default.json ${DESTDIR}/$(sysconfdir)/phosphor-systemd-target-monitor
 
 check_PROGRAMS =
 XFAIL_TESTS =