blob: e3361169a2652e2ac17278ef9db2fd33d93c52ac [file] [log] [blame]
Brandon Wyman24e422f2017-07-25 19:40:14 -05001AM_DEFAULT_SOURCE_EXT = .cpp
2AM_CPPFLAGS = -iquote ${top_srcdir}
3
Patrick Venturee75fcd32019-03-28 12:46:21 -07004bin_PROGRAMS = \
Brandon Wyman05be4a92019-03-13 12:09:01 -05005 psu-monitor
Brandon Wyman24e422f2017-07-25 19:40:14 -05006
Brandon Wyman05be4a92019-03-13 12:09:01 -05007psu_monitor_SOURCES = \
Brandon Wyman24e422f2017-07-25 19:40:14 -05008 main.cpp \
9 argument.cpp \
Matt Spinlerd7abf362018-01-18 12:40:02 -060010 power_supply.cpp \
11 record_manager.cpp
Brandon Wyman24e422f2017-07-25 19:40:14 -050012
Brandon Wyman05be4a92019-03-13 12:09:01 -050013psu_monitor_CXXFLAGS = \
Brandon Wyman24e422f2017-07-25 19:40:14 -050014 $(SDBUSPLUS_CFLAGS) \
15 $(PHOSPHOR_LOGGING_CFLAGS) \
16 ${PHOSPHOR_DBUS_INTERFACES_CFLAGS}
17
Brandon Wyman05be4a92019-03-13 12:09:01 -050018psu_monitor_LDADD = \
Brandon Wyman24e422f2017-07-25 19:40:14 -050019 ${top_builddir}/libpower.la \
20 $(SDBUSPLUS_LIBS) \
21 $(PHOSPHOR_LOGGING_LIBS) \
22 ${PHOSPHOR_DBUS_INTERFACES_LIBS}
23