blob: d9f0324b980eb682faac78a77b2e08e57564e9cb [file] [log] [blame]
AM_DEFAULT_SOURCE_EXT = .cpp
AM_CPPFLAGS = -I$(top_srcdir)
bin_PROGRAMS = \
pseq-monitor
pseq_monitor_SOURCES = \
argument.cpp \
main.cpp \
pgood_monitor.cpp \
runtime_monitor.cpp \
ucd90160.cpp
nodist_pseq_monitor_SOURCES = \
ucd90160_defs.cpp
pseq_monitor_LDADD = \
$(top_builddir)/libpower.la \
$(PHOSPHOR_LOGGING_LIBS) \
${PHOSPHOR_DBUS_INTERFACES_LIBS} \
$(SDBUSPLUS_LIBS) \
$(SDEVENTPLUS_LIBS)
pseq_monitor_CXXFLAGS = \
$(PHOSPHOR_LOGGING_CFLAGS) \
${PHOSPHOR_DBUS_INTERFACES_CFLAGS} \
$(SDBUSPLUS_CFLAGS) \
$(SDEVENTPLUS_CFLAGS)
BUILT_SOURCES = ucd90160_defs.cpp
ucd90160_defs.cpp: ${srcdir}/gen-ucd90160-defs.py templates/ucd90160_defs.mako.cpp
$(AM_V_GEN)$(GEN_UCD90160_DEFS)