Matt Spinler | e73446e | 2017-04-10 13:55:52 -0500 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 2 | AM_CPPFLAGS = -iquote ${top_srcdir} |
Matt Spinler | e73446e | 2017-04-10 13:55:52 -0500 | [diff] [blame] | 3 | |
| 4 | sbin_PROGRAMS = \ |
| 5 | phosphor-fan-control |
| 6 | |
| 7 | phosphor_fan_control_SOURCES = \ |
Matt Spinler | ee7f642 | 2017-05-09 11:03:14 -0500 | [diff] [blame] | 8 | argument.cpp \ |
Matt Spinler | e2b25cb | 2017-04-10 14:33:35 -0500 | [diff] [blame] | 9 | fan.cpp \ |
Matt Spinler | e10416e | 2017-04-10 14:15:53 -0500 | [diff] [blame] | 10 | main.cpp \ |
Matt Spinler | 7f88fe6 | 2017-04-10 14:39:02 -0500 | [diff] [blame] | 11 | manager.cpp \ |
| 12 | zone.cpp |
Matt Spinler | e73446e | 2017-04-10 13:55:52 -0500 | [diff] [blame] | 13 | |
Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 14 | nodist_phosphor_fan_control_SOURCES = \ |
| 15 | fan_zone_defs.cpp |
| 16 | |
Brad Bishop | 1048401 | 2017-04-24 22:59:18 -0400 | [diff] [blame] | 17 | phosphor_fan_control_LDADD = \ |
Matt Spinler | e2b25cb | 2017-04-10 14:33:35 -0500 | [diff] [blame] | 18 | $(top_builddir)/libfan.la \ |
Brad Bishop | 1048401 | 2017-04-24 22:59:18 -0400 | [diff] [blame] | 19 | $(SDBUSPLUS_LIBS) \ |
| 20 | $(PHOSPHOR_LOGGING_LIBS) |
| 21 | |
| 22 | phosphor_fan_control_CXXFLAGS = \ |
| 23 | $(SDBUSPLUS_CFLAGS) \ |
| 24 | $(PHOSPHOR_LOGGING_CFLAGS) |
Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 25 | |
| 26 | BUILT_SOURCES = fan_zone_defs.cpp |
| 27 | |
| 28 | fan_zone_defs.cpp: ${srcdir}/gen-fan-zone-defs.py |
| 29 | $(AM_V_GEN)$(GEN_FAN_ZONE_DEFS) |