blob: d9f0324b980eb682faac78a77b2e08e57564e9cb [file] [log] [blame]
Matt Spinlerafb39132017-08-14 13:53:07 -05001AM_DEFAULT_SOURCE_EXT = .cpp
2AM_CPPFLAGS = -I$(top_srcdir)
3
Patrick Venturee75fcd32019-03-28 12:46:21 -07004bin_PROGRAMS = \
Brandon Wyman088ab9c2019-03-13 12:05:38 -05005 pseq-monitor
Matt Spinlerafb39132017-08-14 13:53:07 -05006
Brandon Wyman088ab9c2019-03-13 12:05:38 -05007pseq_monitor_SOURCES = \
Matt Spinlerafb39132017-08-14 13:53:07 -05008 argument.cpp \
Matt Spinlerf02daec2017-08-14 14:00:46 -05009 main.cpp \
Matt Spinlerb54357f2017-08-21 14:38:54 -050010 pgood_monitor.cpp \
Matt Spinler70849272017-08-22 09:14:40 -050011 runtime_monitor.cpp \
Brandon Wyman34e257b2019-03-28 17:39:18 -050012 ucd90160.cpp
13
14nodist_pseq_monitor_SOURCES = \
Matt Spinlerb54357f2017-08-21 14:38:54 -050015 ucd90160_defs.cpp
Matt Spinlerafb39132017-08-14 13:53:07 -050016
Brandon Wyman088ab9c2019-03-13 12:05:38 -050017pseq_monitor_LDADD = \
Matt Spinlerafb39132017-08-14 13:53:07 -050018 $(top_builddir)/libpower.la \
19 $(PHOSPHOR_LOGGING_LIBS) \
20 ${PHOSPHOR_DBUS_INTERFACES_LIBS} \
William A. Kennington IIIe5a8b472018-10-18 00:40:04 -070021 $(SDBUSPLUS_LIBS) \
22 $(SDEVENTPLUS_LIBS)
Matt Spinlerafb39132017-08-14 13:53:07 -050023
Brandon Wyman088ab9c2019-03-13 12:05:38 -050024pseq_monitor_CXXFLAGS = \
Matt Spinlerafb39132017-08-14 13:53:07 -050025 $(PHOSPHOR_LOGGING_CFLAGS) \
26 ${PHOSPHOR_DBUS_INTERFACES_CFLAGS} \
William A. Kennington IIIe5a8b472018-10-18 00:40:04 -070027 $(SDBUSPLUS_CFLAGS) \
28 $(SDEVENTPLUS_CFLAGS)
Brandon Wyman34e257b2019-03-28 17:39:18 -050029
30BUILT_SOURCES = ucd90160_defs.cpp
31
32ucd90160_defs.cpp: ${srcdir}/gen-ucd90160-defs.py templates/ucd90160_defs.mako.cpp
33 $(AM_V_GEN)$(GEN_UCD90160_DEFS)