blob: 167336299e5b907c3b140b25fa9feb4474d56a68 [file] [log] [blame]
BUILT_SOURCES=generated.cpp extra_ifaces.cpp
CLEANFILES=$(BUILT_SOURCES)
sbin_PROGRAMS = phosphor-inventory
noinst_LTLIBRARIES = libmanagercommon.la libmanager.la
extra_yamldir=$(YAML_PATH)/extra_interfaces.d
phosphor_inventory_SOURCES = app.cpp
phosphor_inventory_LDADD = libmanager.la
phosphor_inventory_LDFLAGS = $(SDBUSPLUS_LIBS)
phosphor_inventory_CFLAGS = $(SDBUSPLUS_CFLAGS)
libmanagercommon_la_SOURCES = \
xyz.openbmc_project.Inventory.Manager.cpp \
events.cpp \
manager.cpp
libmanagercommon_la_LIBADD = $(SDBUSPLUS_LIBS)
libmanager_la_SOURCES = \
extra_ifaces.cpp \
generated.cpp
libmanager_la_LIBADD = libmanagercommon.la $(SDBUSPLUS_LIBS)
clean-local: clean-extra
generated.cpp:
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/pimgen.py -d $(extra_yamldir)/.. -o $(builddir) generate-cpp
SUBDIRS = . test
-include Makefile.extra