blob: 228a810291843523fc750f5f1f8b196d9890d572 [file] [log] [blame]
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +05301AM_DEFAULT_SOURCE_EXT = .cpp
Vishwanatha Subbannabb8fe0b2016-11-12 18:29:38 +05302sbin_PROGRAMS = phosphor-ledmanager
3
4phosphor_ledmanager_SOURCES = \
5 led-main.cpp \
Vishwanatha Subbanna4c8c72b2016-11-29 23:02:06 +05306 manager.cpp \
7 group.cpp \
8 xyz.openbmc_project.Led.Group.cpp
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +05309
10BUILT_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@ > $@
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +053015
Vishwanatha Subbanna11ca8f92017-02-27 19:33:45 +053016phosphor_ledmanager_LDFLAGS = $(SYSTEMD_LIBS) $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS)
17phosphor_ledmanager_CFLAGS = $(SYSTEMD_CFLAGS) $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS)
Vishwanatha Subbannaed490732016-12-20 15:59:29 +053018
19SUBDIRS = test