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 | |
Patrick Venture | 71779ab | 2019-03-28 11:22:15 -0700 | [diff] [blame] | 4 | bin_PROGRAMS = \ |
Matt Spinler | e73446e | 2017-04-10 13:55:52 -0500 | [diff] [blame] | 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 | 014f07c | 2019-05-30 09:55:42 -0500 | [diff] [blame] | 12 | utility.cpp \ |
Matthew Barth | 03aff08 | 2018-12-12 15:20:22 -0600 | [diff] [blame] | 13 | preconditions.cpp \ |
Matthew Barth | b280bfa | 2017-09-15 09:56:50 -0500 | [diff] [blame] | 14 | actions.cpp \ |
Matthew Barth | 1b4de26 | 2018-03-06 13:03:16 -0600 | [diff] [blame] | 15 | triggers.cpp \ |
Matt Spinler | 7f88fe6 | 2017-04-10 14:39:02 -0500 | [diff] [blame] | 16 | zone.cpp |
Matt Spinler | e73446e | 2017-04-10 13:55:52 -0500 | [diff] [blame] | 17 | |
Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 18 | nodist_phosphor_fan_control_SOURCES = \ |
19 | fan_zone_defs.cpp | ||||
20 | |||||
Brad Bishop | 1048401 | 2017-04-24 22:59:18 -0400 | [diff] [blame] | 21 | phosphor_fan_control_LDADD = \ |
Matthew Barth | 93af419 | 2019-01-18 09:30:57 -0600 | [diff] [blame] | 22 | -lstdc++fs \ |
Brad Bishop | 1048401 | 2017-04-24 22:59:18 -0400 | [diff] [blame] | 23 | $(SDBUSPLUS_LIBS) \ |
William A. Kennington III | 1cfc2f1 | 2018-10-19 17:29:46 -0700 | [diff] [blame] | 24 | $(SDEVENTPLUS_LIBS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 25 | $(PHOSPHOR_LOGGING_LIBS) \ |
Matthew Barth | 1826c73 | 2020-08-28 08:40:59 -0500 | [diff] [blame^] | 26 | ${PHOSPHOR_DBUS_INTERFACES_LIBS} \ |
27 | $(FMT_LIBS) | ||||
Brad Bishop | 1048401 | 2017-04-24 22:59:18 -0400 | [diff] [blame] | 28 | |
29 | phosphor_fan_control_CXXFLAGS = \ | ||||
30 | $(SDBUSPLUS_CFLAGS) \ | ||||
William A. Kennington III | 1cfc2f1 | 2018-10-19 17:29:46 -0700 | [diff] [blame] | 31 | $(SDEVENTPLUS_CFLAGS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 32 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
Andrew Geissler | ecd4bc7 | 2018-08-27 10:52:23 -0700 | [diff] [blame] | 33 | ${PHOSPHOR_DBUS_INTERFACES_CFLAGS} \ |
34 | -flto | ||||
Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 35 | |
36 | BUILT_SOURCES = fan_zone_defs.cpp | ||||
37 | |||||
38 | fan_zone_defs.cpp: ${srcdir}/gen-fan-zone-defs.py | ||||
Matthew Barth | 8c8f53d | 2020-02-18 09:40:13 -0600 | [diff] [blame] | 39 | $(AM_V_GEN)$(GEN_FAN_ZONE_DEFS) > ${builddir}/$@ |