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 = \ |
Brad Bishop | 825e31e | 2017-06-14 16:38:22 -0400 | [diff] [blame] | 8 | fan.cpp \ |
Brad Bishop | dd62e36 | 2017-06-14 16:54:03 -0400 | [diff] [blame^] | 9 | tach.cpp \ |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 10 | fan_enclosure.cpp \ |
| 11 | tach_sensor.cpp \ |
| 12 | tach_detect.cpp |
| 13 | nodist_phosphor_fan_presence_tach_SOURCES = \ |
| 14 | fan_detect_defs.cpp |
| 15 | |
| 16 | phosphor_fan_presence_tach_LDADD = \ |
| 17 | $(top_builddir)/libfan.la \ |
| 18 | $(SDBUSPLUS_LIBS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 19 | $(PHOSPHOR_LOGGING_LIBS) \ |
Brad Bishop | 8a502f5 | 2017-06-14 23:46:15 -0400 | [diff] [blame] | 20 | ${PHOSPHOR_DBUS_INTERFACES_LIBS} \ |
| 21 | $(LIBEVDEV_LIBS) |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 22 | phosphor_fan_presence_tach_CXXFLAGS = \ |
| 23 | $(SDBUSPLUS_CFLAGS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 24 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
Brad Bishop | 8a502f5 | 2017-06-14 23:46:15 -0400 | [diff] [blame] | 25 | ${PHOSPHOR_DBUS_INTERFACES_CFLAGS} \ |
| 26 | $(LIBEVDEV_CFLAGS) |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 27 | |
| 28 | BUILT_SOURCES = fan_detect_defs.cpp |
| 29 | |
Brad Bishop | 9c2994e | 2017-06-05 22:06:36 -0400 | [diff] [blame] | 30 | fan_detect_defs.cpp: ${srcdir}/gen-fan-detect-defs.py $(FAN_DETECT_YAML_FILE) |
| 31 | $(AM_V_GEN)$(GEN_FAN_DETECT_DEFS) > $(builddir)/$@ |