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 \ |
Brandon Wyman | 5914f65 | 2017-03-16 18:17:07 -0500 | [diff] [blame^] | 9 | tach_detect.cpp \ |
| 10 | utility.cpp |
Matthew Barth | 681c98d | 2017-02-17 16:05:57 -0600 | [diff] [blame] | 11 | nodist_phosphor_fan_presence_tach_SOURCES = \ |
| 12 | fan_detect_defs.cpp |
Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 13 | |
Matthew Barth | fefdc45 | 2017-02-22 11:15:56 -0600 | [diff] [blame] | 14 | phosphor_fan_presence_tach_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS) |
| 15 | phosphor_fan_presence_tach_CXXFLAGS = \ |
| 16 | $(SDBUSPLUS_CFLAGS) \ |
| 17 | $(PHOSPHOR_LOGGING_CFLAGS) |
Matthew Barth | 681c98d | 2017-02-17 16:05:57 -0600 | [diff] [blame] | 18 | |
| 19 | BUILT_SOURCES = fan_detect_defs.cpp |
| 20 | CLEANFILES = fan_detect_defs.cpp |
| 21 | |
| 22 | fan_detect_defs.cpp: ${srcdir}/gen-fan-detect-defs.py |
| 23 | $(AM_V_GEN)$(GEN_FAN_DETECT_DEFS) > $@ |