blob: 30353a7c6f949b0aa289b1d60c5950017ee5f1ac [file] [log] [blame]
sbin_PROGRAMS = phosphor-inventory
phosphor_inventory_SOURCES = app.cpp
phosphor_inventory_LDADD = libmanager.la
noinst_LTLIBRARIES = libmanager.la
libmanager_la_SOURCES = \
xyz.openbmc_project.Inventory.Manager.cpp \
generated.cpp \
manager.cpp
if EXAMPLE
noinst_LTLIBRARIES += libexample.la
libexample_la_SOURCES = \
xyz.openbmc_project.Example.Iface1.cpp \
xyz.openbmc_project.Example.Iface2.cpp
libmanager_la_LIBADD = libexample.la
endif
phosphor_inventory_LDFLAGS = $(SYSTEMD_LIBS)
phosphor_inventory_CFLAGS = $(SYSTEMD_CFLAGS)
SUBDIRS = . test