blob: ac8f6c7a72dcc1a6652f294681207dd47c6feefc [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 \
Vishwanatha Subbanna55ef5b02017-03-10 13:32:08 +05307 group.cpp
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +05308
9BUILT_SOURCES = led-gen.hpp
10CLEANFILES = led-gen.hpp
Vishwanatha Subbannabb8fe0b2016-11-12 18:29:38 +053011
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +053012led-gen.hpp: ${srcdir}/parse_led.py
Brad Bishopd782d8e2017-02-01 21:23:50 -050013 $(AM_V)@LEDGEN@ > $@
Vishwanatha Subbannab21fda72016-10-17 17:46:37 +053014
Vishwanatha Subbanna55ef5b02017-03-10 13:32:08 +053015phosphor_ledmanager_LDFLAGS = $(SDBUSPLUS_LIBS) \
16 $(PHOSPHOR_LOGGING_LIBS) \
17 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
18phosphor_ledmanager_CFLAGS = $(SDBUSPLUS_CFLAGS) \
19 $(PHOSPHOR_LOGGING_CFLAGS) \
20 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
Vishwanatha Subbannaed490732016-12-20 15:59:29 +053021
Dhruvaraj Subhashchandran59b86cd2017-04-13 00:19:44 -050022SUBDIRS = test fault-monitor