Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | AM_CPPFLAGS = -iquote ${top_srcdir} |
| 3 | |
| 4 | sbin_PROGRAMS = \ |
| 5 | phosphor-fan-presence-tach |
| 6 | |
| 7 | phosphor_fan_presence_tach_SOURCES = \ |
| 8 | fan_enclosure.cpp \ |
| 9 | tach_sensor.cpp \ |
| 10 | tach_detect.cpp |
| 11 | nodist_phosphor_fan_presence_tach_SOURCES = \ |
| 12 | fan_detect_defs.cpp |
| 13 | |
| 14 | phosphor_fan_presence_tach_LDADD = \ |
| 15 | $(top_builddir)/libfan.la \ |
| 16 | $(SDBUSPLUS_LIBS) \ |
| 17 | $(PHOSPHOR_LOGGING_LIBS) |
| 18 | phosphor_fan_presence_tach_CXXFLAGS = \ |
| 19 | $(SDBUSPLUS_CFLAGS) \ |
| 20 | $(PHOSPHOR_LOGGING_CFLAGS) |
| 21 | |
| 22 | BUILT_SOURCES = fan_detect_defs.cpp |
| 23 | |
| 24 | fan_detect_defs.cpp: ${srcdir}/gen-fan-detect-defs.py |
| 25 | $(AM_V_GEN)$(GEN_FAN_DETECT_DEFS) > $@ |