blob: 0c26a6fcce341098fd2d064f66bc6498c38e2936 [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 \
Patrick Venture9331ab72018-01-29 09:48:47 -080025 fan_speed.cpp \
Deepak Kodihalli6aa24d42018-03-07 01:10:03 -060026 fan_pwm.cpp \
Patrick Venture09791852018-04-17 17:40:00 -070027 timer.cpp \
Patrick Venture75e56c62018-04-20 18:10:15 -070028 hwmon.cpp \
29 hwmonio.cpp
Brad Bishope9ac8b42016-12-19 09:30:40 -050030
Patrick Venture609fe982018-04-17 17:51:56 -070031SUBDIRS = . msl test tools