summaryrefslogtreecommitdiff
path: root/src/examples/ecore_avahi/Makefile.am
blob: 8ce9469cacab59cce031aa7d3364bf0fa19c715b (plain) (blame)
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
MAINTAINERCLEANFILES = Makefile.in

AM_CPPFLAGS = \
-I$(top_builddir)/src/lib/efl \
-I$(top_srcdir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eo \
-I$(top_srcdir)/src/lib/ecore \
-I$(top_srcdir)/src/lib/ecore_avahi\
-I$(top_builddir)/src/lib/eina \
-I$(top_builddir)/src/lib/eo \
-I$(top_builddir)/src/lib/ecore \
-I$(top_builddir)/src/lib/ecore_avahi \
@AVAHI_CLIENT_CFLAGS@

EXTRA_PROGRAMS = \
ecore_avahi_example \
ecore_avahi_browse_example

ecore_avahi_example_SOURCES = ecore_avahi_example.c
ecore_avahi_example_LDADD = $(top_builddir)/src/lib/ecore/libecore.la \
$(top_builddir)/src/lib/ecore_avahi/libecore_avahi.la \
$(top_builddir)/src/lib/eo/libeo.la \
$(top_builddir)/src/lib/eina/libeina.la \
@AVAHI_CLIENT_LIBS@

ecore_avahi_browse_example_SOURCES = ecore_avahi_browse_example.c
ecore_avahi_browse_example_LDADD = $(top_builddir)/src/lib/ecore/libecore.la \
$(top_builddir)/src/lib/ecore_avahi/libecore_avahi.la \
$(top_builddir)/src/lib/eo/libeo.la \
$(top_builddir)/src/lib/eina/libeina.la \
@AVAHI_CLIENT_LIBS@

examples: $(EXTRA_PROGRAMS)

clean-local:
	rm -f $(EXTRA_PROGRAMS)

install-examples:
	mkdir -p $(datadir)/ecore_avahi/examples
	$(install_sh_DATA) -c $(srcdir)/ecore_avahi_browse_example.c $(datadir)/ecore_avahi/examples
	$(install_sh_DATA) -c $(srcdir)/ecore_avahi_example.c $(datadir)/ecore_avahi/examples

uninstall-local:
	rm -f $(datadir)/ecore_avahi/examples/ecore_avahi_example.c
	rm -f $(datadir)/ecore_avahi/examples/ecore_avahi_browse_example.c