blob: b1052e815d7f4f26e399201d2825cd849e64d72b [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) \
William A. Kennington III0fe4cb32018-10-18 19:19:58 -070012 $(SDEVENTPLUS_LIBS) \
Brad Bishop4db64422017-02-16 11:33:32 -050013 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Patrick Ventureb28f4322018-09-14 10:19:14 -070014 $(PHOSPHOR_LOGGING_LIBS) \
15 $(GPIOPLUS_LIBS)
Brad Bishop0be1f8d2017-03-06 21:52:00 -050016libhwmon_la_CXXFLAGS = \
17 $(SDBUSPLUS_CFLAGS) \
William A. Kennington III0fe4cb32018-10-18 19:19:58 -070018 $(SDEVENTPLUS_CFLAGS) \
Brad Bishop4db64422017-02-16 11:33:32 -050019 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
Patrick Ventureb28f4322018-09-14 10:19:14 -070020 $(PHOSPHOR_LOGGING_CFLAGS) \
21 $(GPIOPLUS_CFLAGS)
Brad Bishopbf86e722017-02-16 11:10:40 -050022
Brad Bishop4c9c4542016-12-05 15:07:51 -050023libhwmon_la_SOURCES = \
Matthew Barth6292aee2016-10-06 10:15:48 -050024 argument.cpp \
Brad Bishope55ef3d2016-12-19 09:12:40 -050025 sensorset.cpp \
Brad Bishop6ae03302016-12-19 13:37:43 -050026 mainloop.cpp \
Brad Bishop613a5b32017-01-05 20:58:13 -050027 sysfs.cpp \
Matthew Barth048ac872017-03-09 14:36:08 -060028 env.cpp \
Patrick Venture9331ab72018-01-29 09:48:47 -080029 fan_speed.cpp \
Deepak Kodihalli6aa24d42018-03-07 01:10:03 -060030 fan_pwm.cpp \
Patrick Venture75e56c62018-04-20 18:10:15 -070031 hwmon.cpp \
Matthew Barth35819382018-04-18 14:53:01 -050032 hwmonio.cpp \
Patrick Ventureb28f4322018-09-14 10:19:14 -070033 sensor.cpp \
34 gpio_handle.cpp
Brad Bishope9ac8b42016-12-19 09:30:40 -050035
Patrick Venture609fe982018-04-17 17:51:56 -070036SUBDIRS = . msl test tools