Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 1 | BUILT_SOURCES=generated.cpp extra_ifaces.cpp |
Brad Bishop | c716635 | 2016-11-12 21:38:41 -0500 | [diff] [blame] | 2 | |
Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 3 | CLEANFILES=$(BUILT_SOURCES) |
Brad Bishop | 1a886e3 | 2016-11-11 16:02:10 -0500 | [diff] [blame] | 4 | |
Brad Bishop | 73b776b | 2016-10-19 07:50:28 -0400 | [diff] [blame] | 5 | sbin_PROGRAMS = phosphor-inventory |
Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 6 | noinst_LTLIBRARIES = libmanagercommon.la libmanager.la |
| 7 | |
| 8 | extra_yamldir=$(YAML_PATH)/extra_interfaces.d |
| 9 | |
Brad Bishop | d446835 | 2016-10-31 13:20:02 -0500 | [diff] [blame] | 10 | phosphor_inventory_SOURCES = app.cpp |
| 11 | phosphor_inventory_LDADD = libmanager.la |
Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 12 | phosphor_inventory_LDFLAGS = $(SDBUSPLUS_LIBS) |
| 13 | phosphor_inventory_CFLAGS = $(SDBUSPLUS_CFLAGS) |
Brad Bishop | d446835 | 2016-10-31 13:20:02 -0500 | [diff] [blame] | 14 | |
Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 15 | libmanagercommon_la_SOURCES = \ |
Brad Bishop | fa51da7 | 2017-01-19 11:06:51 -0500 | [diff] [blame] | 16 | events.cpp \ |
Brad Bishop | 49aefb3 | 2016-10-19 11:54:14 -0400 | [diff] [blame] | 17 | manager.cpp |
Brad Bishop | 03f4cd9 | 2017-02-03 15:17:21 -0500 | [diff] [blame] | 18 | libmanagercommon_la_LIBADD = $(SDBUSPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
| 19 | libmanagercommon_la_CFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_DBUS_INTERACES_CFLAGS) |
Brad Bishop | 64d994a | 2016-10-31 10:24:27 -0500 | [diff] [blame] | 20 | |
Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 21 | libmanager_la_SOURCES = \ |
| 22 | extra_ifaces.cpp \ |
| 23 | generated.cpp |
| 24 | libmanager_la_LIBADD = libmanagercommon.la $(SDBUSPLUS_LIBS) |
Brad Bishop | 1a886e3 | 2016-11-11 16:02:10 -0500 | [diff] [blame] | 25 | |
Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 26 | clean-local: clean-extra |
| 27 | |
| 28 | generated.cpp: |
| 29 | $(AM_V_GEN)$(PYTHON) $(top_srcdir)/pimgen.py -d $(extra_yamldir)/.. -o $(builddir) generate-cpp |
Brad Bishop | 1a886e3 | 2016-11-11 16:02:10 -0500 | [diff] [blame] | 30 | |
Brad Bishop | 74e52bc | 2016-10-31 13:12:04 -0500 | [diff] [blame] | 31 | SUBDIRS = . test |
Brad Bishop | a6fcd56 | 2017-02-03 11:00:27 -0500 | [diff] [blame] | 32 | |
| 33 | -include Makefile.extra |