Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
Andrew Jeffery | 234ba8a | 2017-04-18 16:55:25 +0930 | [diff] [blame] | 3 | ACLOCAL_AMFLAGS = -Im4 |
| 4 | |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 5 | sbin_PROGRAMS = \ |
Adriana Kobylak | 2d8fa22 | 2017-03-15 12:34:32 -0500 | [diff] [blame] | 6 | openpower-update-manager |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 7 | |
Adriana Kobylak | 2d8fa22 | 2017-03-15 12:34:32 -0500 | [diff] [blame] | 8 | openpower_update_manager_SOURCES = \ |
Adriana Kobylak | befe5ce | 2017-04-05 15:57:44 -0500 | [diff] [blame] | 9 | activation.cpp \ |
Saqib Khan | 167601b | 2017-06-18 23:33:46 -0500 | [diff] [blame] | 10 | version.cpp \ |
Michael Tritz | 60bc20f | 2017-07-29 23:32:21 -0500 | [diff] [blame] | 11 | serialize.cpp \ |
Gunnar Mills | 6bd6d7b | 2017-09-18 09:22:36 -0500 | [diff] [blame] | 12 | watch.cpp \ |
Adriana Kobylak | 2d8fa22 | 2017-03-15 12:34:32 -0500 | [diff] [blame] | 13 | item_updater.cpp \ |
Gunnar Mills | 8fc66c9 | 2017-08-29 08:30:48 -0500 | [diff] [blame] | 14 | item_updater_main.cpp |
| 15 | |
Jayanth Othayoth | 70804dc | 2018-03-20 06:31:59 -0500 | [diff] [blame^] | 16 | if WANT_SIGNATURE_VERIFY_BUILD |
| 17 | openpower_update_manager_SOURCES += image_verify.cpp |
| 18 | endif |
| 19 | |
Gunnar Mills | 8fc66c9 | 2017-08-29 08:30:48 -0500 | [diff] [blame] | 20 | nodist_openpower_update_manager_SOURCES = \ |
Saqib Khan | c350c61 | 2017-08-13 13:36:44 -0500 | [diff] [blame] | 21 | org/openbmc/Associations/server.cpp |
| 22 | |
| 23 | CLEANFILES = \ |
| 24 | org/openbmc/Associations/server.cpp \ |
| 25 | org/openbmc/Associations/server.hpp |
| 26 | |
| 27 | BUILT_SOURCES = \ |
| 28 | org/openbmc/Associations/server.cpp \ |
| 29 | org/openbmc/Associations/server.hpp |
Adriana Kobylak | 2d8fa22 | 2017-03-15 12:34:32 -0500 | [diff] [blame] | 30 | |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 31 | generic_cxxflags = \ |
| 32 | $(SYSTEMD_CFLAGS) \ |
| 33 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
Gunnar Mills | 44c7729 | 2017-03-20 15:02:27 -0500 | [diff] [blame] | 34 | $(SDBUSPLUS_CFLAGS) \ |
| 35 | $(PHOSPHOR_LOGGING_CFLAGS) |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 36 | generic_ldflags = \ |
| 37 | $(SYSTEMD_LIBS) \ |
| 38 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
Gunnar Mills | 44c7729 | 2017-03-20 15:02:27 -0500 | [diff] [blame] | 39 | $(SDBUSPLUS_LIBS) \ |
Adriana Kobylak | 55f9e83 | 2017-05-14 16:13:00 -0500 | [diff] [blame] | 40 | $(PHOSPHOR_LOGGING_LIBS) \ |
Saqib Khan | 2308b8b | 2017-09-19 15:33:06 -0500 | [diff] [blame] | 41 | -lstdc++fs \ |
| 42 | -lssl \ |
| 43 | -lcrypto |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 44 | |
Saqib Khan | c350c61 | 2017-08-13 13:36:44 -0500 | [diff] [blame] | 45 | org/openbmc/Associations/server.cpp: org/openbmc/Associations.interface.yaml |
| 46 | @mkdir -p `dirname $@` |
| 47 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp org.openbmc.Associations > $@ |
| 48 | |
| 49 | org/openbmc/Associations/server.hpp: org/openbmc/Associations.interface.yaml |
| 50 | @mkdir -p `dirname $@` |
| 51 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header org.openbmc.Associations > $@ |
| 52 | |
Adriana Kobylak | 2d8fa22 | 2017-03-15 12:34:32 -0500 | [diff] [blame] | 53 | openpower_update_manager_CXXFLAGS = $(generic_cxxflags) |
| 54 | openpower_update_manager_LDFLAGS = $(generic_ldflags) |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 55 | |
Gunnar Mills | 1ea62e1 | 2017-03-27 21:49:16 -0500 | [diff] [blame] | 56 | SUBDIRS = test |