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