blob: 7a970eaa15819bfab5a480d7f35f896104c359cb [file] [log] [blame]
AM_DEFAULT_SOURCE_EXT = .cpp
AM_CPPFLAGS = -iquote ${top_srcdir}
sbin_PROGRAMS = \
phosphor-fan-control
phosphor_fan_control_SOURCES = \
argument.cpp \
fan.cpp \
main.cpp \
manager.cpp \
zone.cpp
nodist_phosphor_fan_control_SOURCES = \
fan_zone_defs.cpp
phosphor_fan_control_LDADD = \
$(top_builddir)/libfan.la \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
${PHOSPHOR_DBUS_INTERFACES_LIBS}
phosphor_fan_control_CXXFLAGS = \
$(SDBUSPLUS_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
${PHOSPHOR_DBUS_INTERFACES_CFLAGS}
BUILT_SOURCES = fan_zone_defs.cpp
fan_zone_defs.cpp: ${srcdir}/gen-fan-zone-defs.py
$(AM_V_GEN)$(GEN_FAN_ZONE_DEFS)