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 | |
| 4 | sbin_PROGRAMS = \ |
| 5 | phosphor-fan-monitor |
| 6 | |
| 7 | phosphor_fan_monitor_SOURCES = \ |
Matt Spinler | abf8da3 | 2017-04-27 14:08:45 -0500 | [diff] [blame] | 8 | fan.cpp \ |
Matt Spinler | abf8da3 | 2017-04-27 14:08:45 -0500 | [diff] [blame] | 9 | main.cpp \ |
| 10 | tach_sensor.cpp |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 11 | |
Matt Spinler | 1432184 | 2017-04-28 15:27:43 -0500 | [diff] [blame] | 12 | nodist_phosphor_fan_monitor_SOURCES = \ |
| 13 | fan_monitor_defs.cpp |
| 14 | |
| 15 | BUILT_SOURCES = fan_monitor_defs.cpp |
| 16 | |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 17 | phosphor_fan_monitor_LDADD = \ |
Matt Spinler | ebaae61 | 2017-04-27 14:21:48 -0500 | [diff] [blame] | 18 | $(top_builddir)/libfan.la \ |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 19 | $(SDBUSPLUS_LIBS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 20 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 21 | ${PHOSPHOR_DBUS_INTERFACES_LIBS} |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 22 | |
| 23 | phosphor_fan_monitor_CXXFLAGS = \ |
| 24 | $(SDBUSPLUS_CFLAGS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 25 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 26 | ${PHOSPHOR_DBUS_INTERFACES_CFLAGS} |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 27 | |
Matt Spinler | 1432184 | 2017-04-28 15:27:43 -0500 | [diff] [blame] | 28 | fan_monitor_defs.cpp: ${srcdir}/gen-fan-monitor-defs.py |
| 29 | $(AM_V_GEN)$(GEN_FAN_MONITOR_DEFS) |