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 \ |
Matthew Barth | b280bfa | 2017-09-15 09:56:50 -0500 | [diff] [blame] | 12 | actions.cpp \ |
Matt Spinler | 7f88fe6 | 2017-04-10 14:39:02 -0500 | [diff] [blame] | 13 | zone.cpp |
Matt Spinler | e73446e | 2017-04-10 13:55:52 -0500 | [diff] [blame] | 14 | |
Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 15 | nodist_phosphor_fan_control_SOURCES = \ |
| 16 | fan_zone_defs.cpp |
| 17 | |
Brad Bishop | 1048401 | 2017-04-24 22:59:18 -0400 | [diff] [blame] | 18 | phosphor_fan_control_LDADD = \ |
| 19 | $(SDBUSPLUS_LIBS) \ |
William A. Kennington III | 1cfc2f1 | 2018-10-19 17:29:46 -0700 | [diff] [blame] | 20 | $(SDEVENTPLUS_LIBS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 21 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 22 | ${PHOSPHOR_DBUS_INTERFACES_LIBS} |
Brad Bishop | 1048401 | 2017-04-24 22:59:18 -0400 | [diff] [blame] | 23 | |
| 24 | phosphor_fan_control_CXXFLAGS = \ |
| 25 | $(SDBUSPLUS_CFLAGS) \ |
William A. Kennington III | 1cfc2f1 | 2018-10-19 17:29:46 -0700 | [diff] [blame] | 26 | $(SDEVENTPLUS_CFLAGS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 27 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
Andrew Geissler | ecd4bc7 | 2018-08-27 10:52:23 -0700 | [diff] [blame] | 28 | ${PHOSPHOR_DBUS_INTERFACES_CFLAGS} \ |
| 29 | -flto |
Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 30 | |
| 31 | BUILT_SOURCES = fan_zone_defs.cpp |
| 32 | |
| 33 | fan_zone_defs.cpp: ${srcdir}/gen-fan-zone-defs.py |
| 34 | $(AM_V_GEN)$(GEN_FAN_ZONE_DEFS) |