Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
Patrick Venture | ab3b247 | 2019-03-28 11:35:44 -0700 | [diff] [blame] | 2 | bin_PROGRAMS = phosphor-ledmanager |
Vishwanatha Subbanna | 36b16b3 | 2020-10-08 07:45:34 -0500 | [diff] [blame] | 3 | bin_SCRIPTS = scripts/led-set-all-groups-asserted.sh |
Vishwanatha Subbanna | bb8fe0b | 2016-11-12 18:29:38 +0530 | [diff] [blame] | 4 | |
| 5 | phosphor_ledmanager_SOURCES = \ |
| 6 | led-main.cpp \ |
Vishwanatha Subbanna | 4c8c72b | 2016-11-29 23:02:06 +0530 | [diff] [blame] | 7 | manager.cpp \ |
George Liu | 2098aa6 | 2020-05-09 11:26:35 +0800 | [diff] [blame] | 8 | group.cpp \ |
George Liu | 1c737af | 2020-10-16 09:07:02 +0800 | [diff] [blame^] | 9 | serialize.cpp \ |
| 10 | utils.cpp |
Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 11 | |
George Liu | 937a0bd | 2020-07-03 15:29:20 +0800 | [diff] [blame] | 12 | if !WANTS_JSON |
Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 13 | BUILT_SOURCES = led-gen.hpp |
| 14 | CLEANFILES = led-gen.hpp |
Vishwanatha Subbanna | bb8fe0b | 2016-11-12 18:29:38 +0530 | [diff] [blame] | 15 | |
Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 16 | led-gen.hpp: ${srcdir}/parse_led.py |
Brad Bishop | d782d8e | 2017-02-01 21:23:50 -0500 | [diff] [blame] | 17 | $(AM_V)@LEDGEN@ > $@ |
George Liu | def5f5a | 2020-04-10 11:23:52 +0800 | [diff] [blame] | 18 | endif |
Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 19 | |
Vishwanatha Subbanna | 55ef5b0 | 2017-03-10 13:32:08 +0530 | [diff] [blame] | 20 | phosphor_ledmanager_LDFLAGS = $(SDBUSPLUS_LIBS) \ |
| 21 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 22 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
| 23 | phosphor_ledmanager_CFLAGS = $(SDBUSPLUS_CFLAGS) \ |
| 24 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 25 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
Vishwanatha Subbanna | ed49073 | 2016-12-20 15:59:29 +0530 | [diff] [blame] | 26 | |
Dhruvaraj Subhashchandran | 59b86cd | 2017-04-13 00:19:44 -0500 | [diff] [blame] | 27 | SUBDIRS = test fault-monitor |