blob: 64b1b82d780750818cdc490f8df795fe59d36987 [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 \
7 phosphor-discover-system-state
Andrew Geissler36529022016-11-29 15:23:54 -06008
Andrew Geissler794baed2017-01-16 13:12:21 -06009phosphor_host_state_manager_SOURCES = \
Andrew Geissler36529022016-11-29 15:23:54 -060010 host_state_manager.cpp \
Andrew Geissler36529022016-11-29 15:23:54 -060011 host_state_manager_main.cpp
12
Andrew Geissler794baed2017-01-16 13:12:21 -060013phosphor_chassis_state_manager_SOURCES = \
Andrew Geisslera90a31a2016-12-13 16:16:28 -060014 chassis_state_manager.cpp \
Andrew Geisslera90a31a2016-12-13 16:16:28 -060015 chassis_state_manager_main.cpp
16
Josh D. Kingbdd9cb72016-12-19 11:13:43 -060017phosphor_bmc_state_manager_SOURCES = \
18 bmc_state_manager.cpp \
Josh D. Kingbdd9cb72016-12-19 11:13:43 -060019 bmc_state_manager_main.cpp
20
Michael Tritz3ed10082017-03-20 23:28:09 -050021phosphor_discover_system_state_SOURCES = \
22 discover_system_state.cpp
23
Adriana Kobylak20a48872017-01-30 20:18:46 -060024generic_cxxflags = $(SYSTEMD_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) $(SDBUSPLUS_CFLAGS)
25generic_ldflags = $(SYSTEMD_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) $(SDBUSPLUS_LIBS)
Patrick Williams515f74b2017-01-30 10:56:09 -060026
27phosphor_host_state_manager_CXXFLAGS = $(generic_cxxflags)
28phosphor_host_state_manager_LDFLAGS = $(generic_ldflags)
29
30phosphor_chassis_state_manager_CXXFLAGS = $(generic_cxxflags)
31phosphor_chassis_state_manager_LDFLAGS = $(generic_ldflags)
32
33phosphor_bmc_state_manager_CXXFLAGS = $(generic_cxxflags)
34phosphor_bmc_state_manager_LDFLAGS = $(generic_ldflags)
Michael Tritz3ed10082017-03-20 23:28:09 -050035
36phosphor_discover_system_state_CXXFLAGS = $(generic_cxxflags)
37phosphor_discover_system_state_LDFLAGS = $(generic_ldflags)