Andrew Geissler | 3652902 | 2016-11-29 15:23:54 -0600 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
| 3 | sbin_PROGRAMS = \ |
Andrew Geissler | 794baed | 2017-01-16 13:12:21 -0600 | [diff] [blame] | 4 | phosphor-host-state-manager \ |
Josh D. King | bdd9cb7 | 2016-12-19 11:13:43 -0600 | [diff] [blame] | 5 | phosphor-chassis-state-manager \ |
Michael Tritz | 3ed1008 | 2017-03-20 23:28:09 -0500 | [diff] [blame] | 6 | phosphor-bmc-state-manager \ |
Andrew Geissler | b09463d | 2017-03-24 15:55:17 -0500 | [diff] [blame] | 7 | phosphor-discover-system-state \ |
| 8 | phosphor-host-check |
Andrew Geissler | 3652902 | 2016-11-29 15:23:54 -0600 | [diff] [blame] | 9 | |
Andrew Geissler | 794baed | 2017-01-16 13:12:21 -0600 | [diff] [blame] | 10 | phosphor_host_state_manager_SOURCES = \ |
Andrew Geissler | 3652902 | 2016-11-29 15:23:54 -0600 | [diff] [blame] | 11 | host_state_manager.cpp \ |
Dhruvaraj Subhashchandran | 3f47524 | 2017-07-12 00:44:27 -0500 | [diff] [blame] | 12 | host_state_manager_main.cpp \ |
Deepak Kodihalli | 3dd08a5 | 2017-07-25 07:34:44 -0500 | [diff] [blame] | 13 | settings.cpp |
Andrew Geissler | 3652902 | 2016-11-29 15:23:54 -0600 | [diff] [blame] | 14 | |
Andrew Geissler | 794baed | 2017-01-16 13:12:21 -0600 | [diff] [blame] | 15 | phosphor_chassis_state_manager_SOURCES = \ |
Andrew Geissler | a90a31a | 2016-12-13 16:16:28 -0600 | [diff] [blame] | 16 | chassis_state_manager.cpp \ |
William A. Kennington III | d998f82 | 2018-10-17 23:17:57 -0700 | [diff] [blame] | 17 | chassis_state_manager_main.cpp |
Andrew Geissler | a90a31a | 2016-12-13 16:16:28 -0600 | [diff] [blame] | 18 | |
Josh D. King | bdd9cb7 | 2016-12-19 11:13:43 -0600 | [diff] [blame] | 19 | phosphor_bmc_state_manager_SOURCES = \ |
| 20 | bmc_state_manager.cpp \ |
Josh D. King | bdd9cb7 | 2016-12-19 11:13:43 -0600 | [diff] [blame] | 21 | bmc_state_manager_main.cpp |
| 22 | |
Michael Tritz | 3ed1008 | 2017-03-20 23:28:09 -0500 | [diff] [blame] | 23 | phosphor_discover_system_state_SOURCES = \ |
Deepak Kodihalli | 55f132b | 2017-07-25 07:36:06 -0500 | [diff] [blame] | 24 | discover_system_state.cpp \ |
| 25 | settings.cpp |
Michael Tritz | 3ed1008 | 2017-03-20 23:28:09 -0500 | [diff] [blame] | 26 | |
Andrew Geissler | b09463d | 2017-03-24 15:55:17 -0500 | [diff] [blame] | 27 | phosphor_host_check_SOURCES = \ |
| 28 | host_check_main.cpp |
| 29 | |
Deepak Kodihalli | 3dd08a5 | 2017-07-25 07:34:44 -0500 | [diff] [blame] | 30 | generic_cxxflags = \ |
| 31 | $(SYSTEMD_CFLAGS) \ |
| 32 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 33 | $(SDBUSPLUS_CFLAGS) \ |
| 34 | $(PHOSPHOR_LOGGING_CFLAGS) |
| 35 | |
| 36 | generic_ldflags = \ |
| 37 | $(SYSTEMD_LIBS) \ |
| 38 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
Nagaraju Goruganti | cb781fe | 2018-04-06 13:41:01 -0500 | [diff] [blame] | 39 | $(SDBUSPLUS_LIBS) \ |
Deepak Kodihalli | 3dd08a5 | 2017-07-25 07:34:44 -0500 | [diff] [blame] | 40 | $(PHOSPHOR_LOGGING_LIBS) |
Patrick Williams | 515f74b | 2017-01-30 10:56:09 -0600 | [diff] [blame] | 41 | |
| 42 | phosphor_host_state_manager_CXXFLAGS = $(generic_cxxflags) |
Dhruvaraj Subhashchandran | 3f47524 | 2017-07-12 00:44:27 -0500 | [diff] [blame] | 43 | phosphor_host_state_manager_LDFLAGS = $(generic_ldflags) -lstdc++fs |
Patrick Williams | 515f74b | 2017-01-30 10:56:09 -0600 | [diff] [blame] | 44 | |
William A. Kennington III | d998f82 | 2018-10-17 23:17:57 -0700 | [diff] [blame] | 45 | phosphor_chassis_state_manager_CXXFLAGS = \ |
| 46 | $(generic_cxxflags) \ |
| 47 | $(SDEVENTPLUS_CFLAGS) |
| 48 | phosphor_chassis_state_manager_LDFLAGS = \ |
| 49 | $(generic_ldflags) \ |
| 50 | $(SDEVENTPLUS_LIBS) \ |
| 51 | -lstdc++fs |
Patrick Williams | 515f74b | 2017-01-30 10:56:09 -0600 | [diff] [blame] | 52 | |
| 53 | phosphor_bmc_state_manager_CXXFLAGS = $(generic_cxxflags) |
| 54 | phosphor_bmc_state_manager_LDFLAGS = $(generic_ldflags) |
Michael Tritz | 3ed1008 | 2017-03-20 23:28:09 -0500 | [diff] [blame] | 55 | |
| 56 | phosphor_discover_system_state_CXXFLAGS = $(generic_cxxflags) |
| 57 | phosphor_discover_system_state_LDFLAGS = $(generic_ldflags) |
Andrew Geissler | b09463d | 2017-03-24 15:55:17 -0500 | [diff] [blame] | 58 | |
| 59 | phosphor_host_check_CXXFLAGS = $(generic_cxxflags) |
| 60 | phosphor_host_check_LDFLAGS = $(generic_ldflags) |