blob: 1557aadf6ebaa530b17919635af5e177e8d2ebef [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 +053013PYTHON="/usr/bin/python"
14led-gen.hpp: ${srcdir}/parse_led.py
15 ${AM_V_at}${PYTHON} $^ > $@
16
Vishwanatha Subbannabb8fe0b2016-11-12 18:29:38 +053017phosphor_ledmanager_LDFLAGS = $(SYSTEMD_LIBS)
18phosphor_ledmanager_CFLAGS = $(SYSTEMD_CFLAGS)