Matthew Barth | ae0e96c | 2017-01-20 13:54:59 -0600 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 2 | |
| 3 | sbin_PROGRAMS = \ |
| 4 | phosphor-fan-presence-tach |
| 5 | |
| 6 | phosphor_fan_presence_tach_SOURCES = \ |
| 7 | fan_enclosure.cpp \ |
| 8 | tach_sensor.cpp \ |
| 9 | tach_detect.cpp |
Matthew Barth | 681c98d | 2017-02-17 16:05:57 -0600 | [diff] [blame] | 10 | nodist_phosphor_fan_presence_tach_SOURCES = \ |
| 11 | fan_detect_defs.cpp |
Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 12 | |
Matthew Barth | fefdc45 | 2017-02-22 11:15:56 -0600 | [diff] [blame^] | 13 | phosphor_fan_presence_tach_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS) |
| 14 | phosphor_fan_presence_tach_CXXFLAGS = \ |
| 15 | $(SDBUSPLUS_CFLAGS) \ |
| 16 | $(PHOSPHOR_LOGGING_CFLAGS) |
Matthew Barth | 681c98d | 2017-02-17 16:05:57 -0600 | [diff] [blame] | 17 | |
| 18 | BUILT_SOURCES = fan_detect_defs.cpp |
| 19 | CLEANFILES = fan_detect_defs.cpp |
| 20 | |
| 21 | fan_detect_defs.cpp: ${srcdir}/gen-fan-detect-defs.py |
| 22 | $(AM_V_GEN)$(GEN_FAN_DETECT_DEFS) > $@ |