Jayanth Othayoth | 224882b | 2017-05-04 05:46:45 -0500 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
| 3 | # Build these headers, don't install them |
| 4 | noinst_HEADERS = \ |
| 5 | dump_entry.hpp |
| 6 | |
Jayanth Othayoth | 23ebc26 | 2017-05-25 07:22:03 -0500 | [diff] [blame^] | 7 | nobase_nodist_include_HEADERS = \ |
| 8 | xyz/openbmc_project/Dump/Internal/Create/server.hpp |
| 9 | |
Jayanth Othayoth | 224882b | 2017-05-04 05:46:45 -0500 | [diff] [blame] | 10 | sbin_PROGRAMS = \ |
| 11 | phosphor-dump-manager |
| 12 | |
| 13 | phosphor_dump_manager_SOURCES = \ |
| 14 | dump_manager_main.cpp \ |
Jayanth Othayoth | 23ebc26 | 2017-05-25 07:22:03 -0500 | [diff] [blame^] | 15 | dump_entry.cpp \ |
| 16 | xyz/openbmc_project/Dump/Internal/Create/server.cpp |
Jayanth Othayoth | 224882b | 2017-05-04 05:46:45 -0500 | [diff] [blame] | 17 | |
| 18 | phosphor_dump_manager_CXXFLAGS = \ |
| 19 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 20 | $(SDBUSPLUS_CFLAGS) |
| 21 | |
| 22 | phosphor_dump_manager_LDADD = \ |
| 23 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 24 | $(SDBUSPLUS_LIBS) |
Jayanth Othayoth | 23ebc26 | 2017-05-25 07:22:03 -0500 | [diff] [blame^] | 25 | |
| 26 | # Be sure to build needed files before compiling |
| 27 | BUILT_SOURCES = \ |
| 28 | xyz/openbmc_project/Dump/Internal/Create/server.cpp \ |
| 29 | xyz/openbmc_project/Dump/Internal/Create/server.hpp |
| 30 | |
| 31 | CLEANFILES = \ |
| 32 | xyz/openbmc_project/Dump/Internal/Create/server.cpp \ |
| 33 | xyz/openbmc_project/Dump/Internal/Create/server.hpp |
| 34 | |
| 35 | xyz/openbmc_project/Dump/Internal/Create/server.cpp: \ |
| 36 | xyz/openbmc_project/Dump/Internal/Create.interface.yaml \ |
| 37 | xyz/openbmc_project/Dump/Internal/Create/server.hpp |
| 38 | @mkdir -p `dirname $@` |
| 39 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp \ |
| 40 | xyz.openbmc_project.Dump.Internal.Create > $@ |
| 41 | |
| 42 | xyz/openbmc_project/Dump/Internal/Create/server.hpp: \ |
| 43 | xyz/openbmc_project/Dump/Internal/Create.interface.yaml |
| 44 | @mkdir -p `dirname $@` |
| 45 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header \ |
| 46 | xyz.openbmc_project.Dump.Internal.Create > $@ |