blob: 313c59f67668acbbe8c5452feb40416a5c06cb8a [file] [log] [blame]
Matt Spinler9c0715b2021-01-21 11:15:33 -06001AM_DEFAULT_SOURCE_EXT = .cpp
2AM_CPPFLAGS = -iquote ${top_srcdir}
3
4bin_PROGRAMS = \
5 sensor-monitor
6
Matt Spinlerbcc12cb2021-02-12 08:32:30 -06007systemdsystemunit_DATA = \
8 service_files/sensor-monitor.service
9
Matt Spinler9c0715b2021-01-21 11:15:33 -060010sensor_monitor_SOURCES = \
11 shutdown_alarm_monitor.cpp \
Matt Spinler403d1f52021-02-01 15:35:25 -060012 threshold_alarm_logger.cpp \
Matt Spinler9c0715b2021-01-21 11:15:33 -060013 main.cpp
14
15sensor_monitor_LDADD = \
16 $(SDBUSPLUS_LIBS) \
17 $(SDEVENTPLUS_LIBS) \
18 $(PHOSPHOR_LOGGING_LIBS) \
19 ${PHOSPHOR_DBUS_INTERFACES_LIBS} \
20 -lstdc++fs \
21 $(FMT_LIBS)
22
23sensor_monitor_CXXFLAGS = \
24 $(SDBUSPLUS_CFLAGS) \
25 $(SDEVENTPLUS_CFLAGS) \
26 $(PHOSPHOR_LOGGING_CFLAGS) \
27 ${PHOSPHOR_DBUS_INTERFACES_CFLAGS} \
28 -flto