Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [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 = \ |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 5 | phosphor-fan-presence-tach |
6 | |||||
7 | phosphor_fan_presence_tach_SOURCES = \ | ||||
Brad Bishop | 00b5208 | 2017-07-25 19:52:22 -0400 | [diff] [blame] | 8 | anyof.cpp \ |
Brad Bishop | bfb8160 | 2017-06-14 21:14:32 -0400 | [diff] [blame] | 9 | fallback.cpp \ |
Brad Bishop | 825e31e | 2017-06-14 16:38:22 -0400 | [diff] [blame] | 10 | fan.cpp \ |
Brad Bishop | 5c58948 | 2017-06-14 22:32:20 -0400 | [diff] [blame] | 11 | gpio.cpp \ |
Brad Bishop | 6174951 | 2017-07-25 19:02:15 -0400 | [diff] [blame] | 12 | psensor.cpp \ |
Brad Bishop | dd62e36 | 2017-06-14 16:54:03 -0400 | [diff] [blame] | 13 | tach.cpp \ |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 14 | tach_detect.cpp |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 15 | |
16 | phosphor_fan_presence_tach_LDADD = \ | ||||
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 17 | $(SDBUSPLUS_LIBS) \ |
William A. Kennington III | 1cfc2f1 | 2018-10-19 17:29:46 -0700 | [diff] [blame] | 18 | $(SDEVENTPLUS_LIBS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 19 | $(PHOSPHOR_LOGGING_LIBS) \ |
Brad Bishop | 8a502f5 | 2017-06-14 23:46:15 -0400 | [diff] [blame] | 20 | ${PHOSPHOR_DBUS_INTERFACES_LIBS} \ |
21 | $(LIBEVDEV_LIBS) | ||||
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 22 | phosphor_fan_presence_tach_CXXFLAGS = \ |
23 | $(SDBUSPLUS_CFLAGS) \ | ||||
William A. Kennington III | 1cfc2f1 | 2018-10-19 17:29:46 -0700 | [diff] [blame] | 24 | $(SDEVENTPLUS_CFLAGS) \ |
Dinesh Chinari | 618027a | 2017-06-26 23:26:50 -0500 | [diff] [blame] | 25 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
Brad Bishop | 8a502f5 | 2017-06-14 23:46:15 -0400 | [diff] [blame] | 26 | ${PHOSPHOR_DBUS_INTERFACES_CFLAGS} \ |
Andrew Geissler | ecd4bc7 | 2018-08-27 10:52:23 -0700 | [diff] [blame] | 27 | $(LIBEVDEV_CFLAGS) \ |
28 | -flto | ||||
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 29 | |
Brad Bishop | 372b22c | 2017-07-12 15:57:14 -0400 | [diff] [blame] | 30 | BUILT_SOURCES = generated.hpp |
Brad Bishop | 76596b2 | 2017-06-13 14:39:13 -0400 | [diff] [blame] | 31 | TEMPLATES = \ |
32 | templates/generated.mako.hpp | ||||
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 33 | |
Brad Bishop | 76596b2 | 2017-06-13 14:39:13 -0400 | [diff] [blame] | 34 | generated.hpp: $(TEMPLATES) ${srcdir}/pfpgen.py $(PRESENCE_CONFIG) |
35 | $(AM_V_GEN)$(PFPGEN) > $(builddir)/$@ |