blob: 1ac90336036d558fc921a5bb5cf2d499b61bb29b [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 Bishop08379a32017-03-06 21:28:46 -050010 -lstdc++fs \
Brad Bishop4db64422017-02-16 11:33:32 -050011 $(SDBUSPLUS_LIBS) \
12 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
13 $(PHOSPHOR_LOGGING_LIBS)
Brad Bishop0be1f8d2017-03-06 21:52:00 -050014libhwmon_la_CXXFLAGS = \
15 $(SDBUSPLUS_CFLAGS) \
Brad Bishop4db64422017-02-16 11:33:32 -050016 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
17 $(PHOSPHOR_LOGGING_CFLAGS)
Brad Bishopbf86e722017-02-16 11:10:40 -050018
Brad Bishop4c9c4542016-12-05 15:07:51 -050019libhwmon_la_SOURCES = \
Matthew Barth6292aee2016-10-06 10:15:48 -050020 argument.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 \
Matthew Barth048ac872017-03-09 14:36:08 -060024 env.cpp \
25 fan_speed.cpp
Brad Bishope9ac8b42016-12-19 09:30:40 -050026
27SUBDIRS = . test