Link to libphosphor_dbus

Remove manually generated server bindings.

Change-Id: I77ccda7f669d58f55e86ee5887dbbb380c673390
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/Makefile.am b/Makefile.am
index 8340c05..5ce260f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,19 +2,19 @@
 
 phosphor_hwmon_readd_SOURCES = readd.cpp
 phosphor_hwmon_readd_LDADD = libhwmon.la
-phosphor_hwmon_readd_LDFLAGS = $(SYSTEMD_LIBS)
-phosphor_hwmon_readd_CFLAGS = $(SYSTEMD_CFLAGS)
+phosphor_hwmon_readd_LDFLAGS = $(SDBUSPLUS_LIBS)
+phosphor_hwmon_readd_CFLAGS = $(SDBUSPLUS_CFLAGS)
 
 noinst_LTLIBRARIES = libhwmon.la
+libhwmon_la_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS)
+libhwmon_la_CFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
+
 libhwmon_la_SOURCES = \
 	argument.cpp \
 	directory.cpp \
 	sensorset.cpp \
 	mainloop.cpp \
 	sysfs.cpp \
-	env.cpp \
-	xyz.openbmc_project.Sensor.Value.cpp \
-	xyz.openbmc_project.Sensor.Threshold.Warning.cpp \
-	xyz.openbmc_project.Sensor.Threshold.Critical.cpp
+	env.cpp
 
 SUBDIRS = . test