Brad Bishop | 73b776b | 2016-10-19 07:50:28 -0400 | [diff] [blame] | 1 | sbin_PROGRAMS = phosphor-inventory |
| 2 | |
Brad Bishop | d446835 | 2016-10-31 13:20:02 -0500 | [diff] [blame] | 3 | phosphor_inventory_SOURCES = app.cpp |
| 4 | phosphor_inventory_LDADD = libmanager.la |
| 5 | |
| 6 | noinst_LTLIBRARIES = libmanager.la |
| 7 | libmanager_la_SOURCES = \ |
Brad Bishop | adc4566 | 2016-10-28 20:00:57 -0500 | [diff] [blame] | 8 | xyz.openbmc_project.Inventory.Manager.cpp \ |
Brad Bishop | 789cf83 | 2016-10-22 00:47:54 -0400 | [diff] [blame] | 9 | generated.cpp \ |
Brad Bishop | 49aefb3 | 2016-10-19 11:54:14 -0400 | [diff] [blame] | 10 | manager.cpp |
Brad Bishop | 64d994a | 2016-10-31 10:24:27 -0500 | [diff] [blame] | 11 | |
| 12 | if EXAMPLE |
Brad Bishop | d446835 | 2016-10-31 13:20:02 -0500 | [diff] [blame] | 13 | noinst_LTLIBRARIES += libexample.la |
Brad Bishop | 64d994a | 2016-10-31 10:24:27 -0500 | [diff] [blame] | 14 | libexample_la_SOURCES = \ |
Brad Bishop | d446835 | 2016-10-31 13:20:02 -0500 | [diff] [blame] | 15 | xyz.openbmc_project.Example.Iface1.cpp \ |
Brad Bishop | 64d994a | 2016-10-31 10:24:27 -0500 | [diff] [blame] | 16 | xyz.openbmc_project.Example.Iface2.cpp |
Brad Bishop | d446835 | 2016-10-31 13:20:02 -0500 | [diff] [blame] | 17 | libmanager_la_LIBADD = libexample.la |
Brad Bishop | 64d994a | 2016-10-31 10:24:27 -0500 | [diff] [blame] | 18 | endif |
Brad Bishop | 49aefb3 | 2016-10-19 11:54:14 -0400 | [diff] [blame] | 19 | phosphor_inventory_LDFLAGS = $(SYSTEMD_LIBS) |
| 20 | phosphor_inventory_CFLAGS = $(SYSTEMD_CFLAGS) |
| 21 | |
Brad Bishop | 74e52bc | 2016-10-31 13:12:04 -0500 | [diff] [blame] | 22 | SUBDIRS = . test |