blob: c434f218c4f787f7be8cd1f08e57972e6e465ebe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
AM_DEFAULT_SOURCE_EXT = .cpp
# Build these headers, don't install them
noinst_HEADERS = \
download_manager.hpp \
watch.hpp \
version.hpp \
image_manager.hpp \
item_updater.hpp \
activation.hpp
sbin_PROGRAMS = \
phosphor-version-software-manager \
phosphor-download-manager \
phosphor-image-updater
phosphor_version_software_manager_SOURCES = \
image_manager_main.cpp \
watch.cpp \
version.cpp \
image_manager.cpp
BUILT_SOURCES = \
xyz/openbmc_project/Software/Version/error.cpp \
xyz/openbmc_project/Software/Version/error.hpp \
org/openbmc/Associations/server.cpp \
org/openbmc/Associations/server.hpp
CLEANFILES = ${BUILT_SOURCES}
phosphor_download_manager_SOURCES = \
download_manager.cpp \
download_manager_main.cpp
phosphor_image_updater_SOURCES = \
activation.cpp \
version.cpp \
serialize.cpp \
item_updater.cpp \
item_updater_main.cpp
nodist_phosphor_image_updater_SOURCES = \
org/openbmc/Associations/server.cpp
generic_cxxflags = \
$(SYSTEMD_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
$(SDBUSPLUS_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS)
generic_ldflags = \
$(SYSTEMD_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
-lstdc++fs \
-lssl \
-lcrypto
xyz/openbmc_project/Software/Version/error.hpp: ${top_srcdir}/xyz/openbmc_project/Software/Version.errors.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) error exception-header xyz.openbmc_project.Software.Version > $@
xyz/openbmc_project/Software/Version/error.cpp: ${top_srcdir}/xyz/openbmc_project/Software/Version.errors.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) error exception-cpp xyz.openbmc_project.Software.Version > $@
org/openbmc/Associations/server.cpp: org/openbmc/Associations.interface.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp org.openbmc.Associations > $@
org/openbmc/Associations/server.hpp: org/openbmc/Associations.interface.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-header org.openbmc.Associations > $@
phosphor_version_software_manager_CXXFLAGS = $(generic_cxxflags)
phosphor_version_software_manager_LDFLAGS = $(generic_ldflags)
phosphor_download_manager_CXXFLAGS = $(generic_cxxflags)
phosphor_download_manager_LDFLAGS = $(generic_ldflags)
phosphor_image_updater_CXXFLAGS = $(generic_cxxflags)
phosphor_image_updater_LDFLAGS = $(generic_ldflags)
SUBDIRS = test
|