blob: a0d5d10d064f4235f6c3fd229ef822a98755d4c4 [file] [log] [blame]
Andrew Geissler36529022016-11-29 15:23:54 -06001AM_DEFAULT_SOURCE_EXT = .cpp
2
3sbin_PROGRAMS = \
Andrew Geissler794baed2017-01-16 13:12:21 -06004 phosphor-host-state-manager \
Josh D. Kingbdd9cb72016-12-19 11:13:43 -06005 phosphor-chassis-state-manager \
Michael Tritz3ed10082017-03-20 23:28:09 -05006 phosphor-bmc-state-manager \
Andrew Geisslerb09463d2017-03-24 15:55:17 -05007 phosphor-discover-system-state \
8 phosphor-host-check
Andrew Geissler36529022016-11-29 15:23:54 -06009
Andrew Geissler794baed2017-01-16 13:12:21 -060010phosphor_host_state_manager_SOURCES = \
Andrew Geissler36529022016-11-29 15:23:54 -060011 host_state_manager.cpp \
Dhruvaraj Subhashchandran3f475242017-07-12 00:44:27 -050012 host_state_manager_main.cpp \
Deepak Kodihalli3dd08a52017-07-25 07:34:44 -050013 host_state_serialize.cpp \
14 settings.cpp
Andrew Geissler36529022016-11-29 15:23:54 -060015
Andrew Geissler794baed2017-01-16 13:12:21 -060016phosphor_chassis_state_manager_SOURCES = \
Andrew Geisslera90a31a2016-12-13 16:16:28 -060017 chassis_state_manager.cpp \
Andrew Geisslera90a31a2016-12-13 16:16:28 -060018 chassis_state_manager_main.cpp
19
Josh D. Kingbdd9cb72016-12-19 11:13:43 -060020phosphor_bmc_state_manager_SOURCES = \
21 bmc_state_manager.cpp \
Josh D. Kingbdd9cb72016-12-19 11:13:43 -060022 bmc_state_manager_main.cpp
23
Michael Tritz3ed10082017-03-20 23:28:09 -050024phosphor_discover_system_state_SOURCES = \
Deepak Kodihalli55f132b2017-07-25 07:36:06 -050025 discover_system_state.cpp \
26 settings.cpp
Michael Tritz3ed10082017-03-20 23:28:09 -050027
Andrew Geisslerb09463d2017-03-24 15:55:17 -050028phosphor_host_check_SOURCES = \
29 host_check_main.cpp
30
Deepak Kodihalli3dd08a52017-07-25 07:34:44 -050031generic_cxxflags = \
32 $(SYSTEMD_CFLAGS) \
33 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
34 $(SDBUSPLUS_CFLAGS) \
35 $(PHOSPHOR_LOGGING_CFLAGS)
36
37generic_ldflags = \
38 $(SYSTEMD_LIBS) \
39 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
40 $(SDBUSPLUS_LIBS)
41 $(PHOSPHOR_LOGGING_LIBS)
Patrick Williams515f74b2017-01-30 10:56:09 -060042
43phosphor_host_state_manager_CXXFLAGS = $(generic_cxxflags)
Dhruvaraj Subhashchandran3f475242017-07-12 00:44:27 -050044phosphor_host_state_manager_LDFLAGS = $(generic_ldflags) -lstdc++fs
Patrick Williams515f74b2017-01-30 10:56:09 -060045
46phosphor_chassis_state_manager_CXXFLAGS = $(generic_cxxflags)
47phosphor_chassis_state_manager_LDFLAGS = $(generic_ldflags)
48
49phosphor_bmc_state_manager_CXXFLAGS = $(generic_cxxflags)
50phosphor_bmc_state_manager_LDFLAGS = $(generic_ldflags)
Michael Tritz3ed10082017-03-20 23:28:09 -050051
52phosphor_discover_system_state_CXXFLAGS = $(generic_cxxflags)
53phosphor_discover_system_state_LDFLAGS = $(generic_ldflags)
Andrew Geisslerb09463d2017-03-24 15:55:17 -050054
55phosphor_host_check_CXXFLAGS = $(generic_cxxflags)
56phosphor_host_check_LDFLAGS = $(generic_ldflags)