blob: 30223d09409e6d3e4babeaf41e8cd5b5d4be495e [file] [log] [blame]
Matthew Barthae0e96c2017-01-20 13:54:59 -06001AM_DEFAULT_SOURCE_EXT = .cpp
Matthew Barth293477d2017-02-17 15:39:36 -06002
3sbin_PROGRAMS = \
4 phosphor-fan-presence-tach
5
6phosphor_fan_presence_tach_SOURCES = \
7 fan_enclosure.cpp \
8 tach_sensor.cpp \
Brandon Wyman5914f652017-03-16 18:17:07 -05009 tach_detect.cpp \
10 utility.cpp
Matthew Barth681c98d2017-02-17 16:05:57 -060011nodist_phosphor_fan_presence_tach_SOURCES = \
12 fan_detect_defs.cpp
Matthew Barth293477d2017-02-17 15:39:36 -060013
Matthew Barthfefdc452017-02-22 11:15:56 -060014phosphor_fan_presence_tach_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS)
15phosphor_fan_presence_tach_CXXFLAGS = \
16 $(SDBUSPLUS_CFLAGS) \
17 $(PHOSPHOR_LOGGING_CFLAGS)
Matthew Barth681c98d2017-02-17 16:05:57 -060018
19BUILT_SOURCES = fan_detect_defs.cpp
20CLEANFILES = fan_detect_defs.cpp
21
22fan_detect_defs.cpp: ${srcdir}/gen-fan-detect-defs.py
23 $(AM_V_GEN)$(GEN_FAN_DETECT_DEFS) > $@