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 = \ |
Jayanth Othayoth | 1756c06 | 2017-05-23 22:48:11 -0500 | [diff] [blame] | 5 | dump_entry.hpp \ |
Jayanth Othayoth | d02153c | 2017-07-02 22:29:42 -0500 | [diff] [blame] | 6 | core_manager.hpp \ |
Jayanth Othayoth | a320c7c | 2017-06-14 07:17:21 -0500 | [diff] [blame] | 7 | dump_internal.hpp \ |
| 8 | dump_manager.hpp \ |
Jayanth Othayoth | 671fc7f | 2017-06-14 08:01:41 -0500 | [diff] [blame] | 9 | dump_utils.hpp \ |
Jayanth Othayoth | d0f0064 | 2017-09-04 06:26:30 -0500 | [diff] [blame] | 10 | watch.hpp \ |
Jayanth Othayoth | 2496482 | 2017-09-04 22:07:06 -0500 | [diff] [blame] | 11 | elog_watch.hpp \ |
| 12 | dump_serialize.hpp |
Jayanth Othayoth | 224882b | 2017-05-04 05:46:45 -0500 | [diff] [blame] | 13 | |
Jayanth Othayoth | 23ebc26 | 2017-05-25 07:22:03 -0500 | [diff] [blame] | 14 | nobase_nodist_include_HEADERS = \ |
| 15 | xyz/openbmc_project/Dump/Internal/Create/server.hpp |
| 16 | |
Jayanth Othayoth | 224882b | 2017-05-04 05:46:45 -0500 | [diff] [blame] | 17 | sbin_PROGRAMS = \ |
Jayanth Othayoth | 1756c06 | 2017-05-23 22:48:11 -0500 | [diff] [blame] | 18 | phosphor-dump-manager \ |
| 19 | phosphor-dump-monitor |
Jayanth Othayoth | 224882b | 2017-05-04 05:46:45 -0500 | [diff] [blame] | 20 | |
| 21 | phosphor_dump_manager_SOURCES = \ |
| 22 | dump_manager_main.cpp \ |
Jayanth Othayoth | 23ebc26 | 2017-05-25 07:22:03 -0500 | [diff] [blame] | 23 | dump_entry.cpp \ |
Jayanth Othayoth | a320c7c | 2017-06-14 07:17:21 -0500 | [diff] [blame] | 24 | dump_manager.cpp \ |
Jayanth Othayoth | 671fc7f | 2017-06-14 08:01:41 -0500 | [diff] [blame] | 25 | watch.cpp \ |
Jayanth Othayoth | d0f0064 | 2017-09-04 06:26:30 -0500 | [diff] [blame] | 26 | xyz/openbmc_project/Dump/Internal/Create/server.cpp \ |
Jayanth Othayoth | 2496482 | 2017-09-04 22:07:06 -0500 | [diff] [blame] | 27 | elog_watch.cpp \ |
| 28 | dump_serialize.cpp |
Jayanth Othayoth | 224882b | 2017-05-04 05:46:45 -0500 | [diff] [blame] | 29 | |
Jayanth Othayoth | 1756c06 | 2017-05-23 22:48:11 -0500 | [diff] [blame] | 30 | phosphor_dump_monitor_SOURCES = \ |
Jayanth Othayoth | d02153c | 2017-07-02 22:29:42 -0500 | [diff] [blame] | 31 | watch.cpp \ |
| 32 | core_manager.cpp \ |
| 33 | core_manager_main.cpp |
Jayanth Othayoth | 1756c06 | 2017-05-23 22:48:11 -0500 | [diff] [blame] | 34 | |
Jayanth Othayoth | 224882b | 2017-05-04 05:46:45 -0500 | [diff] [blame] | 35 | phosphor_dump_manager_CXXFLAGS = \ |
| 36 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
Jayanth Othayoth | 1756c06 | 2017-05-23 22:48:11 -0500 | [diff] [blame] | 37 | $(SDBUSPLUS_CFLAGS) \ |
| 38 | $(PHOSPHOR_LOGGING_CFLAGS) |
| 39 | |
| 40 | phosphor_dump_monitor_CXXFLAGS = \ |
| 41 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 42 | $(PHOSPHOR_LOGGING_CFLAGS) |
Jayanth Othayoth | 224882b | 2017-05-04 05:46:45 -0500 | [diff] [blame] | 43 | |
| 44 | phosphor_dump_manager_LDADD = \ |
| 45 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
Jayanth Othayoth | 1756c06 | 2017-05-23 22:48:11 -0500 | [diff] [blame] | 46 | $(SDBUSPLUS_LIBS) \ |
Jayanth Othayoth | a320c7c | 2017-06-14 07:17:21 -0500 | [diff] [blame] | 47 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 48 | -lstdc++fs |
Jayanth Othayoth | 1756c06 | 2017-05-23 22:48:11 -0500 | [diff] [blame] | 49 | |
| 50 | phosphor_dump_monitor_LDADD = \ |
| 51 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 52 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 53 | -lstdc++fs |
Jayanth Othayoth | 23ebc26 | 2017-05-25 07:22:03 -0500 | [diff] [blame] | 54 | |
| 55 | # Be sure to build needed files before compiling |
| 56 | BUILT_SOURCES = \ |
Jayanth Othayoth | 1756c06 | 2017-05-23 22:48:11 -0500 | [diff] [blame] | 57 | xyz/openbmc_project/Dump/Internal/Create/server.cpp \ |
Jayanth Othayoth | d02153c | 2017-07-02 22:29:42 -0500 | [diff] [blame] | 58 | xyz/openbmc_project/Dump/Internal/Create/server.hpp |
Jayanth Othayoth | 23ebc26 | 2017-05-25 07:22:03 -0500 | [diff] [blame] | 59 | |
Jayanth Othayoth | 1756c06 | 2017-05-23 22:48:11 -0500 | [diff] [blame] | 60 | CLEANFILES=${BUILT_SOURCES} |
Jayanth Othayoth | 23ebc26 | 2017-05-25 07:22:03 -0500 | [diff] [blame] | 61 | |
| 62 | xyz/openbmc_project/Dump/Internal/Create/server.cpp: \ |
| 63 | xyz/openbmc_project/Dump/Internal/Create.interface.yaml \ |
| 64 | xyz/openbmc_project/Dump/Internal/Create/server.hpp |
| 65 | @mkdir -p `dirname $@` |
| 66 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp \ |
| 67 | xyz.openbmc_project.Dump.Internal.Create > $@ |
| 68 | |
| 69 | xyz/openbmc_project/Dump/Internal/Create/server.hpp: \ |
| 70 | xyz/openbmc_project/Dump/Internal/Create.interface.yaml |
| 71 | @mkdir -p `dirname $@` |
| 72 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header \ |
| 73 | xyz.openbmc_project.Dump.Internal.Create > $@ |