blob: 53de608b3da8d6eaf187f62207f4f813166ed0cd [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 \
6 phosphor-bmc-state-manager
Andrew Geissler36529022016-11-29 15:23:54 -06007
Andrew Geissler794baed2017-01-16 13:12:21 -06008phosphor_host_state_manager_SOURCES = \
Andrew Geissler36529022016-11-29 15:23:54 -06009 host_state_manager.cpp \
Andrew Geissler36529022016-11-29 15:23:54 -060010 host_state_manager_main.cpp
11
Andrew Geissler794baed2017-01-16 13:12:21 -060012phosphor_chassis_state_manager_SOURCES = \
Andrew Geisslera90a31a2016-12-13 16:16:28 -060013 chassis_state_manager.cpp \
Andrew Geisslera90a31a2016-12-13 16:16:28 -060014 chassis_state_manager_main.cpp
15
Josh D. Kingbdd9cb72016-12-19 11:13:43 -060016phosphor_bmc_state_manager_SOURCES = \
17 bmc_state_manager.cpp \
Josh D. Kingbdd9cb72016-12-19 11:13:43 -060018 bmc_state_manager_main.cpp
19
Adriana Kobylak20a48872017-01-30 20:18:46 -060020generic_cxxflags = $(SYSTEMD_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) $(SDBUSPLUS_CFLAGS)
21generic_ldflags = $(SYSTEMD_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) $(SDBUSPLUS_LIBS)
Patrick Williams515f74b2017-01-30 10:56:09 -060022
23phosphor_host_state_manager_CXXFLAGS = $(generic_cxxflags)
24phosphor_host_state_manager_LDFLAGS = $(generic_ldflags)
25
26phosphor_chassis_state_manager_CXXFLAGS = $(generic_cxxflags)
27phosphor_chassis_state_manager_LDFLAGS = $(generic_ldflags)
28
29phosphor_bmc_state_manager_CXXFLAGS = $(generic_cxxflags)
30phosphor_bmc_state_manager_LDFLAGS = $(generic_ldflags)