Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 1 | BUILT_SOURCES=generated.cpp extra_ifaces.cpp |
| 2 | CLEANFILES=$(BUILT_SOURCES) |
| 3 | |
| 4 | AM_CPPFLAGS = -iquote$(top_srcdir) |
| 5 | |
Brad Bishop | 624827a | 2016-10-31 13:15:10 -0500 | [diff] [blame] | 6 | check_PROGRAMS = |
| 7 | noinst_PROGRAMS = phosphor-inventory-test |
Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 8 | noinst_LTLIBRARIES = libtest.la |
Brad Bishop | 49aefb3 | 2016-10-19 11:54:14 -0400 | [diff] [blame] | 9 | |
Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 10 | extra_yamldir=$(top_srcdir)/example/extra_interfaces.d |
| 11 | |
| 12 | phosphor_inventory_test_SOURCES = test.cpp |
| 13 | phosphor_inventory_test_LDADD = libtest.la |
| 14 | phosphor_inventory_test_LDFLAGS = $(SDBSUPLUS_LIBS) $(PTHREAD_CFLAGS) |
| 15 | phosphor_inventory_test_CFLAGS = $(SDBUSPLUS_CFLAGS) |
| 16 | |
| 17 | libtest_la_SOURCES = \ |
| 18 | extra_ifaces.cpp \ |
| 19 | generated.cpp |
| 20 | libtest_la_LIBADD = $(top_builddir)/libmanagercommon.la $(SDBUSPLUS_LIBS) |
| 21 | |
| 22 | clean-local: clean-extra |
| 23 | |
| 24 | generated.cpp: |
| 25 | $(AM_V_GEN)$(PYTHON) $(top_srcdir)/pimgen.py -d $(extra_yamldir)/.. -o $(builddir) generate-cpp |
| 26 | |
| 27 | -include Makefile.extra |