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 | |
Saqib Khan | c350c61 | 2017-08-13 13:36:44 -0500 | [diff] [blame^] | 5 | nobase_nodist_include_HEADERS = \ |
| 6 | org/openbmc/Associations/server.hpp |
| 7 | |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 8 | sbin_PROGRAMS = \ |
Adriana Kobylak | 2d8fa22 | 2017-03-15 12:34:32 -0500 | [diff] [blame] | 9 | openpower-update-manager |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 10 | |
Adriana Kobylak | 2d8fa22 | 2017-03-15 12:34:32 -0500 | [diff] [blame] | 11 | openpower_update_manager_SOURCES = \ |
Adriana Kobylak | befe5ce | 2017-04-05 15:57:44 -0500 | [diff] [blame] | 12 | activation.cpp \ |
Saqib Khan | 167601b | 2017-06-18 23:33:46 -0500 | [diff] [blame] | 13 | version.cpp \ |
Michael Tritz | 60bc20f | 2017-07-29 23:32:21 -0500 | [diff] [blame] | 14 | serialize.cpp \ |
Adriana Kobylak | 2d8fa22 | 2017-03-15 12:34:32 -0500 | [diff] [blame] | 15 | item_updater.cpp \ |
Saqib Khan | c350c61 | 2017-08-13 13:36:44 -0500 | [diff] [blame^] | 16 | item_updater_main.cpp \ |
| 17 | org/openbmc/Associations/server.cpp |
| 18 | |
| 19 | CLEANFILES = \ |
| 20 | org/openbmc/Associations/server.cpp \ |
| 21 | org/openbmc/Associations/server.hpp |
| 22 | |
| 23 | BUILT_SOURCES = \ |
| 24 | org/openbmc/Associations/server.cpp \ |
| 25 | org/openbmc/Associations/server.hpp |
Adriana Kobylak | 2d8fa22 | 2017-03-15 12:34:32 -0500 | [diff] [blame] | 26 | |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 27 | generic_cxxflags = \ |
| 28 | $(SYSTEMD_CFLAGS) \ |
| 29 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
Gunnar Mills | 44c7729 | 2017-03-20 15:02:27 -0500 | [diff] [blame] | 30 | $(SDBUSPLUS_CFLAGS) \ |
| 31 | $(PHOSPHOR_LOGGING_CFLAGS) |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 32 | generic_ldflags = \ |
| 33 | $(SYSTEMD_LIBS) \ |
| 34 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
Gunnar Mills | 44c7729 | 2017-03-20 15:02:27 -0500 | [diff] [blame] | 35 | $(SDBUSPLUS_LIBS) \ |
Adriana Kobylak | 55f9e83 | 2017-05-14 16:13:00 -0500 | [diff] [blame] | 36 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 37 | -lstdc++fs |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 38 | |
Saqib Khan | c350c61 | 2017-08-13 13:36:44 -0500 | [diff] [blame^] | 39 | org/openbmc/Associations/server.cpp: org/openbmc/Associations.interface.yaml |
| 40 | @mkdir -p `dirname $@` |
| 41 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp org.openbmc.Associations > $@ |
| 42 | |
| 43 | org/openbmc/Associations/server.hpp: org/openbmc/Associations.interface.yaml |
| 44 | @mkdir -p `dirname $@` |
| 45 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header org.openbmc.Associations > $@ |
| 46 | |
Adriana Kobylak | 2d8fa22 | 2017-03-15 12:34:32 -0500 | [diff] [blame] | 47 | openpower_update_manager_CXXFLAGS = $(generic_cxxflags) |
| 48 | openpower_update_manager_LDFLAGS = $(generic_ldflags) |
Gunnar Mills | 9df1316 | 2017-03-08 15:00:08 -0600 | [diff] [blame] | 49 | |
Gunnar Mills | 1ea62e1 | 2017-03-27 21:49:16 -0500 | [diff] [blame] | 50 | SUBDIRS = test |