blob: 07f8453610fa1ee9bd0e9c04c67ec6942548956b [file] [log] [blame]
BUILT_SOURCES=generated.cpp extra_ifaces.cpp
CLEANFILES=$(BUILT_SOURCES)
AM_CPPFLAGS = -iquote$(top_srcdir)
check_PROGRAMS =
noinst_PROGRAMS = phosphor-inventory-test
noinst_LTLIBRARIES = libtest.la
extra_yamldir=$(top_srcdir)/example/extra_interfaces.d
phosphor_inventory_test_SOURCES = test.cpp
phosphor_inventory_test_LDADD = libtest.la
phosphor_inventory_test_LDFLAGS = $(SDBSUPLUS_LIBS) $(PTHREAD_CFLAGS)
phosphor_inventory_test_CFLAGS = $(SDBUSPLUS_CFLAGS)
libtest_la_SOURCES = \
extra_ifaces.cpp \
generated.cpp
libtest_la_LIBADD = $(top_builddir)/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
-include Makefile.extra