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