blob: 30353a7c6f949b0aa289b1d60c5950017ee5f1ac [file] [log] [blame]
Brad Bishop73b776b2016-10-19 07:50:28 -04001sbin_PROGRAMS = phosphor-inventory
2
Brad Bishopd4468352016-10-31 13:20:02 -05003phosphor_inventory_SOURCES = app.cpp
4phosphor_inventory_LDADD = libmanager.la
5
6noinst_LTLIBRARIES = libmanager.la
7libmanager_la_SOURCES = \
Brad Bishopadc45662016-10-28 20:00:57 -05008 xyz.openbmc_project.Inventory.Manager.cpp \
Brad Bishop789cf832016-10-22 00:47:54 -04009 generated.cpp \
Brad Bishop49aefb32016-10-19 11:54:14 -040010 manager.cpp
Brad Bishop64d994a2016-10-31 10:24:27 -050011
12if EXAMPLE
Brad Bishopd4468352016-10-31 13:20:02 -050013noinst_LTLIBRARIES += libexample.la
Brad Bishop64d994a2016-10-31 10:24:27 -050014libexample_la_SOURCES = \
Brad Bishopd4468352016-10-31 13:20:02 -050015 xyz.openbmc_project.Example.Iface1.cpp \
Brad Bishop64d994a2016-10-31 10:24:27 -050016 xyz.openbmc_project.Example.Iface2.cpp
Brad Bishopd4468352016-10-31 13:20:02 -050017libmanager_la_LIBADD = libexample.la
Brad Bishop64d994a2016-10-31 10:24:27 -050018endif
Brad Bishop49aefb32016-10-19 11:54:14 -040019phosphor_inventory_LDFLAGS = $(SYSTEMD_LIBS)
20phosphor_inventory_CFLAGS = $(SYSTEMD_CFLAGS)
21
Brad Bishop74e52bc2016-10-31 13:12:04 -050022SUBDIRS = . test