Matthew Barth | 1febc28 | 2017-04-12 11:33:39 -0500 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | AM_CPPFLAGS = -iquote ${top_srcdir} |
| 3 | |
| 4 | sbin_PROGRAMS = phosphor-dbus-monitor |
| 5 | |
| 6 | phosphor_dbus_monitor_SOURCES = \ |
Matthew Barth | b0b82be | 2017-04-12 13:54:26 -0500 | [diff] [blame] | 7 | functor.cpp \ |
Matthew Barth | 1febc28 | 2017-04-12 11:33:39 -0500 | [diff] [blame] | 8 | main.cpp \ |
Matthew Barth | b0b82be | 2017-04-12 13:54:26 -0500 | [diff] [blame] | 9 | monitor.cpp \ |
| 10 | generated.cpp |
Matthew Barth | 1febc28 | 2017-04-12 11:33:39 -0500 | [diff] [blame] | 11 | phosphor_dbus_monitor_LDADD = \ |
| 12 | $(SDBUSPLUS_LIBS) \ |
| 13 | $(PHOSPHOR_LOGGING_LIBS) |
| 14 | phosphor_dbus_monitor_CXXFLAGS = \ |
| 15 | $(SDBUSPLUS_CFLAGS) \ |
| 16 | $(PHOSPHOR_LOGGING_CFLAGS) |
Matthew Barth | db440d4 | 2017-04-17 15:49:37 -0500 | [diff] [blame] | 17 | |
| 18 | BUILT_SOURCES = generated.cpp |
| 19 | CLEANFILES = generated.cpp |
| 20 | |
| 21 | generated.cpp: |
Brad Bishop | e3a01af | 2017-05-15 17:09:04 -0400 | [diff] [blame^] | 22 | $(AM_V_GEN)$(PYTHON) ${top_srcdir}/src/pdmgen.py \ |
| 23 | -t generated.mako.cpp \ |
| 24 | -p "${srcdir}" \ |
| 25 | -d ${srcdir}/example \ |
| 26 | -o ${builddir}/$@ \ |
| 27 | generate-cpp |