blob: 14cd3f7ed22cf2e8a74e9e189af306dc11de3336 [file] [log] [blame]
Vishwanatha Subbanna835571e2016-11-30 11:29:30 +05301sbin_PROGRAMS = phosphor-ledcontroller
2
Vishwanatha Subbannabda97eb2016-11-30 12:21:25 +05303phosphor_ledcontroller_SOURCES = \
4 controller.cpp \
Vishwanatha Subbanna75b55102016-11-30 14:20:53 +05305 argument.cpp \
Andrew Jeffery42e02d32018-05-24 13:34:05 +09306 physical.cpp \
7 sysfs.cpp
Vishwanatha Subbanna835571e2016-11-30 11:29:30 +05308
Vishwanatha Subbannae0891732017-03-10 15:27:23 +05309phosphor_ledcontroller_LDFLAGS = $(SDBUSPLUS_LIBS) \
Patrick Williams604a45e2020-05-28 14:31:05 -050010 $(SYSTEMD_LIBS) \
Andrew Jeffery42e02d32018-05-24 13:34:05 +093011 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
12 -lstdc++fs
Vishwanatha Subbannae0891732017-03-10 15:27:23 +053013phosphor_ledcontroller_CFLAGS = $(SDBUSPLUS_CFLAGS) \
Patrick Williams604a45e2020-05-28 14:31:05 -050014 $(SYSTEMD_CFLAGS) \
Vishwanatha Subbannae0891732017-03-10 15:27:23 +053015 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
Andrew Jefferya607a0d2018-05-23 16:15:26 +093016
Andrew Jefferyb6708c72019-08-01 15:54:28 +093017if AUTOCONF_CODE_COVERAGE_2019_01_06
18include $(top_srcdir)/aminclude_static.am
19clean-local: code-coverage-clean
20distclean-local: code-coverage-dist-clean
21else
Andrew Jefferya607a0d2018-05-23 16:15:26 +093022@CODE_COVERAGE_RULES@
Andrew Jefferyb6708c72019-08-01 15:54:28 +093023endif
Andrew Jefferya607a0d2018-05-23 16:15:26 +093024
25check_PROGRAMS =
26XFAIL_TESTS =
27
28include test/Makefile.am.include
29
30TESTS = $(check_PROGRAMS)