blob: 09fb1a2356846fc862853c1572bb307ad543acff [file] [log] [blame]
Matt Spinlere73446e2017-04-10 13:55:52 -05001AM_DEFAULT_SOURCE_EXT = .cpp
Brad Bishop9df0e162017-04-22 14:19:45 -04002AM_CPPFLAGS = -iquote ${top_srcdir}
Matt Spinlere73446e2017-04-10 13:55:52 -05003
4sbin_PROGRAMS = \
5 phosphor-fan-control
6
7phosphor_fan_control_SOURCES = \
Matt Spinleree7f6422017-05-09 11:03:14 -05008 argument.cpp \
Matt Spinlere2b25cb2017-04-10 14:33:35 -05009 fan.cpp \
Matt Spinlere10416e2017-04-10 14:15:53 -050010 main.cpp \
Matt Spinler7f88fe62017-04-10 14:39:02 -050011 manager.cpp \
Matthew Barthb280bfa2017-09-15 09:56:50 -050012 actions.cpp \
Matt Spinler7f88fe62017-04-10 14:39:02 -050013 zone.cpp
Matt Spinlere73446e2017-04-10 13:55:52 -050014
Matt Spinler77d32d12017-04-12 09:51:41 -050015nodist_phosphor_fan_control_SOURCES = \
16 fan_zone_defs.cpp
17
Brad Bishop10484012017-04-24 22:59:18 -040018phosphor_fan_control_LDADD = \
Matt Spinlere2b25cb2017-04-10 14:33:35 -050019 $(top_builddir)/libfan.la \
Brad Bishop10484012017-04-24 22:59:18 -040020 $(SDBUSPLUS_LIBS) \
Dinesh Chinari618027a2017-06-26 23:26:50 -050021 $(PHOSPHOR_LOGGING_LIBS) \
22 ${PHOSPHOR_DBUS_INTERFACES_LIBS}
Brad Bishop10484012017-04-24 22:59:18 -040023
24phosphor_fan_control_CXXFLAGS = \
25 $(SDBUSPLUS_CFLAGS) \
Dinesh Chinari618027a2017-06-26 23:26:50 -050026 $(PHOSPHOR_LOGGING_CFLAGS) \
27 ${PHOSPHOR_DBUS_INTERFACES_CFLAGS}
Matt Spinler77d32d12017-04-12 09:51:41 -050028
29BUILT_SOURCES = fan_zone_defs.cpp
30
31fan_zone_defs.cpp: ${srcdir}/gen-fan-zone-defs.py
32 $(AM_V_GEN)$(GEN_FAN_ZONE_DEFS)