merge: and the eina examples

SVN revision: 76715
devs/devilhorns/wayland_egl
Vincent Torri 11 years ago
parent c83143c889
commit 103b912f66
  1. 15
      Makefile.am
  2. 2
      configure.ac
  3. 11
      src/Makefile.am
  4. 9
      src/examples/Makefile.am
  5. 120
      src/examples/eina/Makefile.am
  6. 0
      src/examples/eina/addr_book.txt
  7. 0
      src/examples/eina/chat.xml
  8. 0
      src/examples/eina/eina_accessor_01.c
  9. 0
      src/examples/eina/eina_array_01.c
  10. 0
      src/examples/eina/eina_array_02.c
  11. 0
      src/examples/eina/eina_error_01.c
  12. 0
      src/examples/eina/eina_file_01.c
  13. 0
      src/examples/eina/eina_hash_01.c
  14. 0
      src/examples/eina/eina_hash_02.c
  15. 0
      src/examples/eina/eina_hash_03.c
  16. 0
      src/examples/eina/eina_hash_04.c
  17. 0
      src/examples/eina/eina_hash_05.c
  18. 0
      src/examples/eina/eina_hash_06.c
  19. 0
      src/examples/eina/eina_hash_07.c
  20. 0
      src/examples/eina/eina_hash_08.c
  21. 0
      src/examples/eina/eina_inarray_01.c
  22. 0
      src/examples/eina/eina_inarray_02.c
  23. 0
      src/examples/eina/eina_inlist_01.c
  24. 0
      src/examples/eina/eina_inlist_02.c
  25. 0
      src/examples/eina/eina_inlist_03.c
  26. 0
      src/examples/eina/eina_iterator_01.c
  27. 0
      src/examples/eina/eina_list_01.c
  28. 0
      src/examples/eina/eina_list_02.c
  29. 0
      src/examples/eina/eina_list_03.c
  30. 0
      src/examples/eina/eina_list_04.c
  31. 0
      src/examples/eina/eina_log_01.c
  32. 0
      src/examples/eina/eina_log_02.c
  33. 0
      src/examples/eina/eina_log_03.c
  34. 0
      src/examples/eina/eina_magic_01.c
  35. 0
      src/examples/eina/eina_model_01.c
  36. 0
      src/examples/eina/eina_model_02.c
  37. 0
      src/examples/eina/eina_model_03.c
  38. 0
      src/examples/eina/eina_model_04_animal.c
  39. 0
      src/examples/eina/eina_model_04_animal.h
  40. 0
      src/examples/eina/eina_model_04_child.c
  41. 0
      src/examples/eina/eina_model_04_child.h
  42. 0
      src/examples/eina/eina_model_04_human.c
  43. 0
      src/examples/eina/eina_model_04_human.h
  44. 0
      src/examples/eina/eina_model_04_main.c
  45. 0
      src/examples/eina/eina_model_04_parrot.c
  46. 0
      src/examples/eina/eina_model_04_parrot.h
  47. 0
      src/examples/eina/eina_model_04_whistler.c
  48. 0
      src/examples/eina/eina_model_04_whistler.h
  49. 0
      src/examples/eina/eina_simple_xml_parser_01.c
  50. 0
      src/examples/eina/eina_str_01.c
  51. 0
      src/examples/eina/eina_strbuf_01.c
  52. 0
      src/examples/eina/eina_stringshare_01.c
  53. 0
      src/examples/eina/eina_tiler_01.c
  54. 0
      src/examples/eina/eina_value_01.c
  55. 0
      src/examples/eina/eina_value_02.c
  56. 0
      src/examples/eina/eina_value_03.c

@ -47,7 +47,7 @@ endif
pkgconfig_DATA += eina.pc
.PHONY: doc benchmark
.PHONY: doc benchmark examples install-examples
# Documentation
@ -97,3 +97,16 @@ benchmark-e17:
@$(MAKE) -C src benchmark-e17
@mkdir benchmark || true
@cd benchmark && ../src/benchmarks/eina/eina_bench `date +%F_%s`
# examples
examples:
@$(MAKE) -C src examples
install-examples:
@$(MAKE) -C src install-examples
# cleaning
clean-local:
rm -rf benchmark coverage

@ -774,6 +774,8 @@ src/benchmarks/Makefile
src/benchmarks/eina/Makefile
src/bin/Makefile
src/bin/evil/Makefile
src/examples/Makefile
src/examples/eina/Makefile
src/include/Makefile
src/include/eina/Makefile
src/include/eina/eina_config.h

@ -1,8 +1,8 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = lib include modules bin scripts benchmarks tests
SUBDIRS = lib include modules bin scripts benchmarks tests examples
.PHONY: benchmark benchmark-e17
.PHONY: benchmark benchmark-e17 examples
benchmark:
@make -C lib
@ -11,3 +11,10 @@ benchmark:
benchmark-e17:
@make -C lib
@$(MAKE) -C benchmarks benchmark-e17
examples:
@make -C lib
@$(MAKE) -C examples examples
install-examples:
@$(MAKE) -C examples install-examples

@ -0,0 +1,9 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = eina
examples:
@$(MAKE) -C eina examples
install-examples:
@$(MAKE) -C eina install-examples

@ -0,0 +1,120 @@
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/src/include/eina \
-I$(top_builddir)/src/include/eina
LDADD = $(top_builddir)/src/lib/eina/libeina.la
SRCS = \
eina_accessor_01.c \
eina_array_01.c \
eina_array_02.c \
eina_error_01.c \
eina_file_01.c \
eina_hash_01.c \
eina_hash_02.c \
eina_hash_03.c \
eina_hash_04.c \
eina_hash_05.c \
eina_hash_06.c \
eina_hash_07.c \
eina_hash_08.c \
eina_iterator_01.c \
eina_list_01.c \
eina_list_02.c \
eina_list_03.c \
eina_list_04.c \
eina_log_01.c \
eina_log_02.c \
eina_log_03.c \
eina_inlist_01.c \
eina_inlist_02.c \
eina_inlist_03.c \
eina_str_01.c \
eina_strbuf_01.c \
eina_stringshare_01.c \
eina_tiler_01.c \
eina_simple_xml_parser_01.c \
eina_value_01.c \
eina_value_02.c \
eina_value_03.c \
eina_inarray_01.c \
eina_inarray_02.c
#eina_magic_01.c \
#eina_model_01.c \
#eina_model_02.c \
#eina_model_03.c
EXTRA_PROGRAMS = \
eina_accessor_01 \
eina_array_01 \
eina_array_02 \
eina_error_01 \
eina_file_01 \
eina_hash_01 \
eina_hash_02 \
eina_hash_03 \
eina_hash_04 \
eina_hash_05 \
eina_hash_06 \
eina_hash_07 \
eina_hash_08 \
eina_iterator_01 \
eina_list_01 \
eina_list_02 \
eina_list_03 \
eina_list_04 \
eina_log_01 \
eina_log_02 \
eina_log_03 \
eina_inlist_01 \
eina_inlist_02 \
eina_inlist_03 \
eina_str_01 \
eina_strbuf_01 \
eina_stringshare_01 \
eina_magic_01 \
eina_simple_xml_parser_01 \
eina_value_01 \
eina_value_02 \
eina_value_03 \
eina_inarray_01 \
eina_inarray_02
#eina_model_01 \
#eina_model_02 \
#eina_model_03 \
#eina_model_04
#eina_model_04_SOURCES = \
#eina_model_04_animal.c \
#eina_model_04_child.c \
#eina_model_04_human.c \
#eina_model_04_main.c \
#eina_model_04_parrot.c \
#eina_model_04_whistler.c \
#eina_model_04_animal.h \
#eina_model_04_child.h \
#eina_model_04_human.h \
#eina_model_04_parrot.h \
#eina_model_04_whistler.h
if BUILD_TILER_EXAMPLE
AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@
EXTRA_PROGRAMS += eina_tiler_01
eina_tiler_01_LDADD = $(top_builddir)/src/lib/eina/libeina.la @ECORE_EVAS_LIBS@
endif
examples: $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(pkgdatadir)/examples
$(install_sh_DATA) -c $(SRCS) $(pkgdatadir)/examples
unsinstall-local:
for f in $(SRCS) ; do \
rm -f $(pkgdatadir)/examples/$$f ; \
done
EXTRA_DIST = addr_book.txt chat.xml
Loading…
Cancel
Save