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) \ |
George Liu | 616a071 | 2021-02-18 10:50:24 +0800 | [diff] [blame] | 22 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 23 | $(SDEVENTPLUS_LIBS) |
Vishwanatha Subbanna | 55ef5b0 | 2017-03-10 13:32:08 +0530 | [diff] [blame] | 24 | phosphor_ledmanager_CFLAGS = $(SDBUSPLUS_CFLAGS) \ |
| 25 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
George Liu | 616a071 | 2021-02-18 10:50:24 +0800 | [diff] [blame] | 26 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 27 | $(SDEVENTPLUS_CFLAGS) |
Vishwanatha Subbanna | ed49073 | 2016-12-20 15:59:29 +0530 | [diff] [blame] | 28 | |
George Liu | c777bef | 2020-11-23 17:04:21 +0800 | [diff] [blame^] | 29 | if WANTS_LAMP_TEST |
| 30 | phosphor_ledmanager_SOURCES += lamptest.cpp |
| 31 | endif |
| 32 | |
Vishwanatha Subbanna | b00e56c | 2021-02-03 04:58:17 -0600 | [diff] [blame] | 33 | led_default_configdir = ${datadir}/phosphor-led-manager |
| 34 | led_ibm_rainier_2u_configdir = ${datadir}/phosphor-led-manager/ibm,rainier-2u |
| 35 | led_ibm_rainier_4u_configdir = ${datadir}/phosphor-led-manager/ibm,rainier-4u |
| 36 | |
| 37 | led_ibm_rainier_2u_config_DATA = configs/ibm,rainier-2u/led-group-config.json |
| 38 | led_ibm_rainier_4u_config_DATA = configs/ibm,rainier-4u/led-group-config.json |
| 39 | |
Dhruvaraj Subhashchandran | 59b86cd | 2017-04-13 00:19:44 -0500 | [diff] [blame] | 40 | SUBDIRS = test fault-monitor |