Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | AM_CPPFLAGS = -iquote ${top_srcdir} |
| 3 | |
Patrick Venture | 71779ab | 2019-03-28 11:22:15 -0700 | [diff] [blame] | 4 | bin_PROGRAMS = \ |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 5 | phosphor-fan-monitor |
| 6 | |
| 7 | phosphor_fan_monitor_SOURCES = \ |
Matthew Barth | 6ad2843 | 2017-08-22 11:18:19 -0500 | [diff] [blame] | 8 | argument.cpp \ |
Matt Spinler | abf8da3 | 2017-04-27 14:08:45 -0500 | [diff] [blame] | 9 | fan.cpp \ |
Matt Spinler | abf8da3 | 2017-04-27 14:08:45 -0500 | [diff] [blame] | 10 | main.cpp \ |
Matthew Barth | 81748b1 | 2018-05-02 16:03:48 -0500 | [diff] [blame] | 11 | tach_sensor.cpp \ |
| 12 | conditions.cpp |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 13 | |
Matt Spinler | 1432184 | 2017-04-28 15:27:43 -0500 | [diff] [blame] | 14 | nodist_phosphor_fan_monitor_SOURCES = \ |
| 15 | fan_monitor_defs.cpp |
| 16 | |
| 17 | BUILT_SOURCES = fan_monitor_defs.cpp |
| 18 | |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 19 | phosphor_fan_monitor_LDADD = \ |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [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) \ |
Matthew Barth | 4d98285 | 2017-11-17 09:37:13 -0600 | [diff] [blame] | 23 | ${PHOSPHOR_DBUS_INTERFACES_LIBS} \ |
| 24 | -lstdc++fs |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 25 | |
| 26 | phosphor_fan_monitor_CXXFLAGS = \ |
| 27 | $(SDBUSPLUS_CFLAGS) \ |
William A. Kennington III | 1cfc2f1 | 2018-10-19 17:29:46 -0700 | [diff] [blame] | 28 | $(SDEVENTPLUS_CFLAGS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 29 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
Andrew Geissler | ecd4bc7 | 2018-08-27 10:52:23 -0700 | [diff] [blame] | 30 | ${PHOSPHOR_DBUS_INTERFACES_CFLAGS} \ |
| 31 | -flto |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 32 | |
Matt Spinler | 1432184 | 2017-04-28 15:27:43 -0500 | [diff] [blame] | 33 | fan_monitor_defs.cpp: ${srcdir}/gen-fan-monitor-defs.py |
| 34 | $(AM_V_GEN)$(GEN_FAN_MONITOR_DEFS) |