blob: 60cac80fe8f4a8ee3166092a4108b582242dc825 [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 \
George Liu2098aa62020-05-09 11:26:35 +08007 group.cpp \
8 serialize.cpp
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +05309
George Liu937a0bd2020-07-03 15:29:20 +080010if !WANTS_JSON
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +053011BUILT_SOURCES = led-gen.hpp
12CLEANFILES = led-gen.hpp
Vishwanatha Subbannabb8fe0b2016-11-12 18:29:38 +053013
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +053014led-gen.hpp: ${srcdir}/parse_led.py
Brad Bishopd782d8e2017-02-01 21:23:50 -050015 $(AM_V)@LEDGEN@ > $@
George Liudef5f5a2020-04-10 11:23:52 +080016endif
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +053017
Vishwanatha Subbanna55ef5b02017-03-10 13:32:08 +053018phosphor_ledmanager_LDFLAGS = $(SDBUSPLUS_LIBS) \
19 $(PHOSPHOR_LOGGING_LIBS) \
20 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
21phosphor_ledmanager_CFLAGS = $(SDBUSPLUS_CFLAGS) \
22 $(PHOSPHOR_LOGGING_CFLAGS) \
23 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
Vishwanatha Subbannaed490732016-12-20 15:59:29 +053024
Dhruvaraj Subhashchandran59b86cd2017-04-13 00:19:44 -050025SUBDIRS = test fault-monitor