blob: 4ea52cb7f50c3ae2f57b2a43a30e08642a386f17 [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 = \
14 item_updater.cpp \
15 item_updater_main.cpp
16
Gunnar Mills9df13162017-03-08 15:00:08 -060017generic_cxxflags = \
18 $(SYSTEMD_CFLAGS) \
19 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
Gunnar Mills44c77292017-03-20 15:02:27 -050020 $(SDBUSPLUS_CFLAGS) \
21 $(PHOSPHOR_LOGGING_CFLAGS)
Gunnar Mills9df13162017-03-08 15:00:08 -060022generic_ldflags = \
23 $(SYSTEMD_LIBS) \
24 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Gunnar Mills44c77292017-03-20 15:02:27 -050025 $(SDBUSPLUS_LIBS) \
Gunnar Mills1ea62e12017-03-27 21:49:16 -050026 $(PHOSPHOR_LOGGING_LIBS) \
27 -lstdc++fs
Gunnar Mills9df13162017-03-08 15:00:08 -060028
29openpower_version_host_software_manager_CXXFLAGS = $(generic_cxxflags)
30openpower_version_host_software_manager_LDFLAGS = $(generic_ldflags)
Adriana Kobylak2d8fa222017-03-15 12:34:32 -050031openpower_update_manager_CXXFLAGS = $(generic_cxxflags)
32openpower_update_manager_LDFLAGS = $(generic_ldflags)
Gunnar Mills9df13162017-03-08 15:00:08 -060033
Gunnar Mills1ea62e12017-03-27 21:49:16 -050034SUBDIRS = test
35