blob: 7bfb12a10aaf04e7ae0768aa721577102d72aea9 [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 Bishop0be1f8d2017-03-06 21:52:00 -05004phosphor_hwmon_readd_LDADD = $(SDBUSPLUS_LIBS) libhwmon.la
5phosphor_hwmon_readd_CXXFLAGS = $(SDBUSPLUS_CFLAGS)
Matthew Barth6292aee2016-10-06 10:15:48 -05006
Brad Bishop4c9c4542016-12-05 15:07:51 -05007noinst_LTLIBRARIES = libhwmon.la
Brad Bishop0be1f8d2017-03-06 21:52:00 -05008libhwmon_la_LDFLAGS = -static
9libhwmon_la_LIBADD = \
Brad Bishop4db64422017-02-16 11:33:32 -050010 $(SDBUSPLUS_LIBS) \
11 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
12 $(PHOSPHOR_LOGGING_LIBS)
Brad Bishop0be1f8d2017-03-06 21:52:00 -050013libhwmon_la_CXXFLAGS = \
14 $(SDBUSPLUS_CFLAGS) \
Brad Bishop4db64422017-02-16 11:33:32 -050015 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
16 $(PHOSPHOR_LOGGING_CFLAGS)
Brad Bishopbf86e722017-02-16 11:10:40 -050017
Brad Bishop4c9c4542016-12-05 15:07:51 -050018libhwmon_la_SOURCES = \
Matthew Barth6292aee2016-10-06 10:15:48 -050019 argument.cpp \
20 directory.cpp \
Brad Bishope55ef3d2016-12-19 09:12:40 -050021 sensorset.cpp \
Brad Bishop6ae03302016-12-19 13:37:43 -050022 mainloop.cpp \
Brad Bishop613a5b32017-01-05 20:58:13 -050023 sysfs.cpp \
Brad Bishopbf86e722017-02-16 11:10:40 -050024 env.cpp
Brad Bishope9ac8b42016-12-19 09:30:40 -050025
26SUBDIRS = . test