Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
Vishwanatha Subbanna | bb8fe0b | 2016-11-12 18:29:38 +0530 | [diff] [blame] | 2 | sbin_PROGRAMS = phosphor-ledmanager |
| 3 | |
| 4 | phosphor_ledmanager_SOURCES = \ |
| 5 | led-main.cpp \ |
Vishwanatha Subbanna | 4c8c72b | 2016-11-29 23:02:06 +0530 | [diff] [blame^] | 6 | manager.cpp \ |
| 7 | group.cpp \ |
| 8 | xyz.openbmc_project.Led.Group.cpp |
Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 9 | |
| 10 | BUILT_SOURCES = led-gen.hpp |
| 11 | CLEANFILES = led-gen.hpp |
Vishwanatha Subbanna | bb8fe0b | 2016-11-12 18:29:38 +0530 | [diff] [blame] | 12 | |
Vishwanatha Subbanna | b21fda7 | 2016-10-17 17:46:37 +0530 | [diff] [blame] | 13 | PYTHON="/usr/bin/python" |
| 14 | led-gen.hpp: ${srcdir}/parse_led.py |
| 15 | ${AM_V_at}${PYTHON} $^ > $@ |
| 16 | |
Vishwanatha Subbanna | bb8fe0b | 2016-11-12 18:29:38 +0530 | [diff] [blame] | 17 | phosphor_ledmanager_LDFLAGS = $(SYSTEMD_LIBS) |
| 18 | phosphor_ledmanager_CFLAGS = $(SYSTEMD_CFLAGS) |