-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
46 lines (35 loc) · 2.26 KB
/
Makefile.am
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
BUILT_SOURCES = \
xyz/openbmc_project/hello_dbus/custom/Example/server.cpp \
xyz/openbmc_project/hello_dbus/custom/Example/server.hpp \
xyz/openbmc_project/hello_dbus/custom/Example/error.cpp \
xyz/openbmc_project/hello_dbus/custom/Example/error.hpp \
xyz/openbmc_project/hello_dbus/custom/Example/common.hpp
bin_PROGRAMS = hello_dbus
hello_dbus_SOURCES = \
dbus_example.cpp \
xyz/openbmc_project/hello_dbus/custom/Example/server.cpp \
main.cpp \
xyz/openbmc_project/hello_dbus/custom/Example/error.cpp
hello_dbus_LDFLAGS = $(SYSTEMD_LIBS) $(SDBUSPLUS_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS)
hello_dbus_CFLAGS = $(SYSTEMD_CFLAGS) $(SDBUSPLUS_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
bin_PROGRAMS += hello_dbus_client
hello_dbus_client_SOURCES = client.cpp
hello_dbus_client_LDFLAGS = $(SDBUSPLUS_LIBS)
hello_dbus_client_CFLAGS = $(SDBUSPLUS_CFLAGS)
xyz/openbmc_project/hello_dbus/custom/Example/server.cpp: xyz/openbmc_project/hello_dbus/custom/Example.interface.yaml xyz/openbmc_project/hello_dbus/custom/Example/server.hpp
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.hello_dbus.custom.Example > $@
xyz/openbmc_project/hello_dbus/custom/Example/server.hpp: xyz/openbmc_project/hello_dbus/custom/Example.interface.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.hello_dbus.custom.Example > $@
xyz/openbmc_project/hello_dbus/custom/Example/error.cpp: xyz/openbmc_project/hello_dbus/custom/Example.errors.yaml xyz/openbmc_project/hello_dbus/custom/Example/error.hpp
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) error exception-cpp xyz.openbmc_project.hello_dbus.custom.Example > $@
xyz/openbmc_project/hello_dbus/custom/Example/error.hpp: xyz/openbmc_project/hello_dbus/custom/Example.errors.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) error exception-header xyz.openbmc_project.hello_dbus.custom.Example > $@
xyz/openbmc_project/hello_dbus/custom/Example/common.hpp: xyz/openbmc_project/hello_dbus/custom/Example.interface.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface common-header xyz.openbmc_project.hello_dbus.custom.Example > $@