blob: 50681c30f9d1dbff3f9e767b42f0d44f82c4519f [file] [log] [blame]
Gunnar Mills9df13162017-03-08 15:00:08 -06001AM_DEFAULT_SOURCE_EXT = .cpp
2
Andrew Jeffery234ba8a2017-04-18 16:55:25 +09303ACLOCAL_AMFLAGS = -Im4
4
Gunnar Mills9df13162017-03-08 15:00:08 -06005sbin_PROGRAMS = \
Adriana Kobylak2d8fa222017-03-15 12:34:32 -05006 openpower-version-host-software-manager \
7 openpower-update-manager
Gunnar Mills9df13162017-03-08 15:00:08 -06008
9openpower_version_host_software_manager_SOURCES = \
10 version_host_software_manager.cpp \
11 version_host_software_manager_main.cpp
12
Adriana Kobylak2d8fa222017-03-15 12:34:32 -050013openpower_update_manager_SOURCES = \
Adriana Kobylakbefe5ce2017-04-05 15:57:44 -050014 activation.cpp \
Adriana Kobylak2d8fa222017-03-15 12:34:32 -050015 item_updater.cpp \
16 item_updater_main.cpp
17
Gunnar Mills9df13162017-03-08 15:00:08 -060018generic_cxxflags = \
19 $(SYSTEMD_CFLAGS) \
20 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
Gunnar Mills44c77292017-03-20 15:02:27 -050021 $(SDBUSPLUS_CFLAGS) \
22 $(PHOSPHOR_LOGGING_CFLAGS)
Gunnar Mills9df13162017-03-08 15:00:08 -060023generic_ldflags = \
24 $(SYSTEMD_LIBS) \
25 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Gunnar Mills44c77292017-03-20 15:02:27 -050026 $(SDBUSPLUS_LIBS) \
Gunnar Mills1ea62e12017-03-27 21:49:16 -050027 $(PHOSPHOR_LOGGING_LIBS) \
28 -lstdc++fs
Gunnar Mills9df13162017-03-08 15:00:08 -060029
30openpower_version_host_software_manager_CXXFLAGS = $(generic_cxxflags)
31openpower_version_host_software_manager_LDFLAGS = $(generic_ldflags)
Adriana Kobylak2d8fa222017-03-15 12:34:32 -050032openpower_update_manager_CXXFLAGS = $(generic_cxxflags)
33openpower_update_manager_LDFLAGS = $(generic_ldflags)
Gunnar Mills9df13162017-03-08 15:00:08 -060034
Gunnar Mills1ea62e12017-03-27 21:49:16 -050035SUBDIRS = test
36