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 | bb8fe0b | 2016-11-12 18:29:38 +0530 | [diff] [blame] | 3 | |
| 4 | phosphor_ledmanager_SOURCES = \ |
| 5 | led-main.cpp \ |
Vishwanatha Subbanna | 4c8c72b | 2016-11-29 23:02:06 +0530 | [diff] [blame] | 6 | manager.cpp \ |
Vishwanatha Subbanna | 55ef5b0 | 2017-03-10 13:32:08 +0530 | [diff] [blame] | 7 | group.cpp |
Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 8 | |
George Liu | def5f5a | 2020-04-10 11:23:52 +0800 | [diff] [blame^] | 9 | if !LED_USE_JSON |
Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 10 | BUILT_SOURCES = led-gen.hpp |
| 11 | CLEANFILES = led-gen.hpp |
Vishwanatha Subbanna | bb8fe0b | 2016-11-12 18:29:38 +0530 | [diff] [blame] | 12 | |
Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 13 | led-gen.hpp: ${srcdir}/parse_led.py |
Brad Bishop | d782d8e | 2017-02-01 21:23:50 -0500 | [diff] [blame] | 14 | $(AM_V)@LEDGEN@ > $@ |
George Liu | def5f5a | 2020-04-10 11:23:52 +0800 | [diff] [blame^] | 15 | endif |
Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 16 | |
Vishwanatha Subbanna | 55ef5b0 | 2017-03-10 13:32:08 +0530 | [diff] [blame] | 17 | phosphor_ledmanager_LDFLAGS = $(SDBUSPLUS_LIBS) \ |
| 18 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 19 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
| 20 | phosphor_ledmanager_CFLAGS = $(SDBUSPLUS_CFLAGS) \ |
| 21 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 22 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
Vishwanatha Subbanna | ed49073 | 2016-12-20 15:59:29 +0530 | [diff] [blame] | 23 | |
Dhruvaraj Subhashchandran | 59b86cd | 2017-04-13 00:19:44 -0500 | [diff] [blame] | 24 | SUBDIRS = test fault-monitor |