blob: e6df71c20376d2a1efe4da34554c917dbecd3f4d [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
13phosphor_fan_presence_tach_LDFLAGS = $(SDBUSPLUS_LIBS)
14phosphor_fan_presence_tach_CXXFLAGS = $(SDBUSPLUS_CFLAGS)
Matthew Barth681c98d2017-02-17 16:05:57 -060015
16BUILT_SOURCES = fan_detect_defs.cpp
17CLEANFILES = fan_detect_defs.cpp
18
19fan_detect_defs.cpp: ${srcdir}/gen-fan-detect-defs.py
20 $(AM_V_GEN)$(GEN_FAN_DETECT_DEFS) > $@