blob: 04dab402c3a4c1654c68211232dc3e79ca7b893e [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 Subbanna98691fa2017-01-12 12:35:14 +053014 $(PYTHON) $^ > $@
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)