blob: 7f58aa33280d3dcd1511b0318a92303bc88fecb6 [file] [log] [blame]
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +05301AM_DEFAULT_SOURCE_EXT = .cpp
Patrick Ventureab3b2472019-03-28 11:35:44 -07002bin_PROGRAMS = phosphor-ledmanager
Vishwanatha Subbannabb8fe0b2016-11-12 18:29:38 +05303
4phosphor_ledmanager_SOURCES = \
5 led-main.cpp \
Vishwanatha Subbanna4c8c72b2016-11-29 23:02:06 +05306 manager.cpp \
Vishwanatha Subbanna55ef5b02017-03-10 13:32:08 +05307 group.cpp
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +05308
George Liu937a0bd2020-07-03 15:29:20 +08009if !WANTS_JSON
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +053010BUILT_SOURCES = led-gen.hpp
11CLEANFILES = led-gen.hpp
Vishwanatha Subbannabb8fe0b2016-11-12 18:29:38 +053012
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +053013led-gen.hpp: ${srcdir}/parse_led.py
Brad Bishopd782d8e2017-02-01 21:23:50 -050014 $(AM_V)@LEDGEN@ > $@
George Liudef5f5a2020-04-10 11:23:52 +080015endif
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +053016
Vishwanatha Subbanna55ef5b02017-03-10 13:32:08 +053017phosphor_ledmanager_LDFLAGS = $(SDBUSPLUS_LIBS) \
18 $(PHOSPHOR_LOGGING_LIBS) \
19 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
20phosphor_ledmanager_CFLAGS = $(SDBUSPLUS_CFLAGS) \
21 $(PHOSPHOR_LOGGING_CFLAGS) \
22 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
Vishwanatha Subbannaed490732016-12-20 15:59:29 +053023
Dhruvaraj Subhashchandran59b86cd2017-04-13 00:19:44 -050024SUBDIRS = test fault-monitor