summaryrefslogtreecommitdiff
path: root/src/examples/eldbus.mk
blob: 05e43be17797c03d88381bdd120b0974200bf69e (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
ELDBUS_SRCS = \
eldbus/connman-list-services.c \
eldbus/ofono-dial.c \
eldbus/banshee.c \
eldbus/complex-types.c \
eldbus/complex-types-server.c \
eldbus/server.c \
eldbus/client.c \
eldbus/simple-signal-emit.c \
eldbus/complex-types-client-eina-value.c \
eldbus/connect-address.c \
eldbus/dbusmodel.c

EXTRA_PROGRAMS += \
eldbus/connman-list-services \
eldbus/ofono-dial \
eldbus/banshee \
eldbus/complex-types \
eldbus/complex-types-server \
eldbus/server \
eldbus/client \
eldbus/simple-signal-emit \
eldbus/complex-types-client-eina-value \
eldbus/connect-address \
eldbus/dbusmodel


ELDBUS_DATA_FILES = eldbus/Makefile.examples
DATA_FILES += $(ELDBUS_DATA_FILES)

install-examples-eldbus:
	$(MKDIR_P) $(DESTDIR)$(datadir)/eldbus/examples
	cd $(srcdir) && $(install_sh_DATA) -c $(ELDBUS_SRCS) $(ELDBUS_DATA_FILES) $(DESTDIR)$(datadir)/eldbus/examples

uninstall-local-eldbus:
	for f in $(ELDBUS_SRCS) $(ELDBUS_DATA_FILES); do \
	  rm -f $(DESTDIR)$(datadir)/eldbus/examples/$$f ; \
	done

INSTALL_EXAMPLES += install-examples-eldbus
UNINSTALL_EXAMPLES += uninstall-local-eldbus