blob: 610e543ccd0ae2eb6b39362fdb42b6f65928fe7c [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 \
9 tach_detect.cpp
Matthew Barth681c98d2017-02-17 16:05:57 -060010nodist_phosphor_fan_presence_tach_SOURCES = \
11 fan_detect_defs.cpp
Matthew Barth293477d2017-02-17 15:39:36 -060012
Matthew Barthfefdc452017-02-22 11:15:56 -060013phosphor_fan_presence_tach_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS)
14phosphor_fan_presence_tach_CXXFLAGS = \
15 $(SDBUSPLUS_CFLAGS) \
16 $(PHOSPHOR_LOGGING_CFLAGS)
Matthew Barth681c98d2017-02-17 16:05:57 -060017
18BUILT_SOURCES = fan_detect_defs.cpp
19CLEANFILES = fan_detect_defs.cpp
20
21fan_detect_defs.cpp: ${srcdir}/gen-fan-detect-defs.py
22 $(AM_V_GEN)$(GEN_FAN_DETECT_DEFS) > $@