blob: 25e061ac4f27f20340cc827cce74bf56e26c8d09 [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
Vishwanatha Subbannaa3523762017-01-23 17:26:46 +053014 $(AM_V)@LEDGEN@ -d $YAML_PATH > $@
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +053015
Vishwanatha Subbannabb8fe0b2016-11-12 18:29:38 +053016phosphor_ledmanager_LDFLAGS = $(SYSTEMD_LIBS)
17phosphor_ledmanager_CFLAGS = $(SYSTEMD_CFLAGS)
Vishwanatha Subbannaed490732016-12-20 15:59:29 +053018
19SUBDIRS = test