AM_DEFAULT_SOURCE_EXT = .cpp AM_CPPFLAGS = -iquote ${top_srcdir} sbin_PROGRAMS = \ phosphor-fan-presence-tach phosphor_fan_presence_tach_SOURCES = \ anyof.cpp \ fallback.cpp \ fan.cpp \ gpio.cpp \ psensor.cpp \ tach.cpp \ tach_detect.cpp phosphor_fan_presence_tach_LDADD = \ $(top_builddir)/libfan.la \ $(SDBUSPLUS_LIBS) \ $(PHOSPHOR_LOGGING_LIBS) \ ${PHOSPHOR_DBUS_INTERFACES_LIBS} \ $(LIBEVDEV_LIBS) phosphor_fan_presence_tach_CXXFLAGS = \ $(SDBUSPLUS_CFLAGS) \ $(PHOSPHOR_LOGGING_CFLAGS) \ ${PHOSPHOR_DBUS_INTERFACES_CFLAGS} \ $(LIBEVDEV_CFLAGS) BUILT_SOURCES = generated.hpp TEMPLATES = \ templates/generated.mako.hpp generated.hpp: $(TEMPLATES) ${srcdir}/pfpgen.py $(PRESENCE_CONFIG) $(AM_V_GEN)$(PFPGEN) > $(builddir)/$@