blob: ee6e7a8cd12ef45642109c674f18387ed5adcd09 [file] [log] [blame]
Brad Bishop4c9c4542016-12-05 15:07:51 -05001sbin_PROGRAMS = phosphor-hwmon-readd
Matthew Barth6292aee2016-10-06 10:15:48 -05002
3phosphor_hwmon_readd_SOURCES = readd.cpp
Brad Bishop4c9c4542016-12-05 15:07:51 -05004phosphor_hwmon_readd_LDADD = libhwmon.la
Brad Bishopbf86e722017-02-16 11:10:40 -05005phosphor_hwmon_readd_LDFLAGS = $(SDBUSPLUS_LIBS)
6phosphor_hwmon_readd_CFLAGS = $(SDBUSPLUS_CFLAGS)
Matthew Barth6292aee2016-10-06 10:15:48 -05007
Brad Bishop4c9c4542016-12-05 15:07:51 -05008noinst_LTLIBRARIES = libhwmon.la
Brad Bishop4db64422017-02-16 11:33:32 -05009libhwmon_la_LDFLAGS = \
10 $(SDBUSPLUS_LIBS) \
11 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
12 $(PHOSPHOR_LOGGING_LIBS)
13libhwmon_la_CFLAGS = $(SDBUSPLUS_CFLAGS) \
14 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
15 $(PHOSPHOR_LOGGING_CFLAGS)
Brad Bishopbf86e722017-02-16 11:10:40 -050016
Brad Bishop4c9c4542016-12-05 15:07:51 -050017libhwmon_la_SOURCES = \
Matthew Barth6292aee2016-10-06 10:15:48 -050018 argument.cpp \
19 directory.cpp \
Brad Bishope55ef3d2016-12-19 09:12:40 -050020 sensorset.cpp \
Brad Bishop6ae03302016-12-19 13:37:43 -050021 mainloop.cpp \
Brad Bishop613a5b32017-01-05 20:58:13 -050022 sysfs.cpp \
Brad Bishopbf86e722017-02-16 11:10:40 -050023 env.cpp
Brad Bishope9ac8b42016-12-19 09:30:40 -050024
25SUBDIRS = . test