summaryrefslogtreecommitdiff
path: root/src/examples/eina_cxx
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-09-03 15:06:30 -0300
committerSavio Sena <savio@expertisesolutions.com.br>2014-09-12 15:28:23 -0300
commit2283d3d258fb49a5294b4a2e4c9095ae0a4137eb (patch)
tree11717122e6ee85c1d859af352f87e57658c89304 /src/examples/eina_cxx
parent8b4544fe637850e17238128cd28f04438240ca02 (diff)
autotools: Fix Eina++ example.
Added missing source file. Removed unused EXTRA_DIST. Fixed some paths used in install-examples and uninstall-local rules.
Diffstat (limited to 'src/examples/eina_cxx')
-rw-r--r--src/examples/eina_cxx/Makefile.am11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/examples/eina_cxx/Makefile.am b/src/examples/eina_cxx/Makefile.am
index 85239b349b..f3ab056928 100644
--- a/src/examples/eina_cxx/Makefile.am
+++ b/src/examples/eina_cxx/Makefile.am
@@ -8,7 +8,8 @@ AM_CXXFLAGS = \
8LDADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LDFLAGS@ @EFL_PTHREAD_LIBS@ 8LDADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LDFLAGS@ @EFL_PTHREAD_LIBS@
9 9
10SRCS = \ 10SRCS = \
11eina_cxx_list_01.cc 11eina_cxx_list_01.cc \
12eina_cxx_thread_01.cc
12 13
13EXTRA_PROGRAMS = \ 14EXTRA_PROGRAMS = \
14eina_cxx_list_01 \ 15eina_cxx_list_01 \
@@ -20,20 +21,18 @@ eina_cxx_list_01.cc
20eina_cxx_thread_01_SOURCES = \ 21eina_cxx_thread_01_SOURCES = \
21eina_cxx_thread_01.cc 22eina_cxx_thread_01.cc
22 23
23EXTRA_DIST = $(DATA_FILES)
24
25examples: $(EXTRA_PROGRAMS) 24examples: $(EXTRA_PROGRAMS)
26 25
27clean-local: 26clean-local:
28 rm -f $(EXTRA_PROGRAMS) 27 rm -f $(EXTRA_PROGRAMS)
29 28
30install-examples: 29install-examples:
31 mkdir -p $(datadir)/eina/examples 30 mkdir -p $(datadir)/eina_cxx/examples
32 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eina/examples 31 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eina_cxx/examples
33 32
34uninstall-local: 33uninstall-local:
35 for f in $(SRCS) $(DATA_FILES); do \ 34 for f in $(SRCS) $(DATA_FILES); do \
36 rm -f $(datadir)/eina/examples/$$f ; \ 35 rm -f $(datadir)/eina_cxx/examples/$$f ; \
37 done 36 done
38 37
39if ALWAYS_BUILD_EXAMPLES 38if ALWAYS_BUILD_EXAMPLES