diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/evas/src/examples/Makefile.am | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/evas/src/examples/Makefile.am')
-rw-r--r-- | libraries/evas/src/examples/Makefile.am | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/libraries/evas/src/examples/Makefile.am b/libraries/evas/src/examples/Makefile.am new file mode 100644 index 0000000..f748c12 --- /dev/null +++ b/libraries/evas/src/examples/Makefile.am | |||
@@ -0,0 +1,149 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | pkglibdir = $(datadir)/$(PACKAGE)/examples | ||
4 | |||
5 | #put here all EDCs one needs to the tests | ||
6 | EDCS = aspect.edc | ||
7 | |||
8 | filesdir = $(datadir)/$(PACKAGE)/examples | ||
9 | files_DATA = | ||
10 | |||
11 | if BUILD_EXAMPLES | ||
12 | |||
13 | AM_CPPFLAGS = \ | ||
14 | -I. \ | ||
15 | -I$(top_srcdir)/src/lib \ | ||
16 | -I$(top_srcdir)/src/lib/include \ | ||
17 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ | ||
18 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ | ||
19 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ | ||
20 | -DPACKAGE_EXAMPLES_DIR=\"$(datadir)/$(PACKAGE)/examples\" \ | ||
21 | @EINA_CFLAGS@ \ | ||
22 | @FREETYPE_CFLAGS@ \ | ||
23 | @PIXMAN_CFLAGS@ \ | ||
24 | @FRIBIDI_CFLAGS@ \ | ||
25 | @EET_CFLAGS@ \ | ||
26 | @FONTCONFIG_CFLAGS@ \ | ||
27 | @pthread_cflags@ | ||
28 | |||
29 | AM_CFLAGS = @WIN32_CFLAGS@ | ||
30 | |||
31 | pkglib_PROGRAMS = | ||
32 | |||
33 | if BUILD_ENGINE_BUFFER | ||
34 | AM_CPPFLAGS += -I$(top_srcdir)/src/modules/engines/buffer | ||
35 | |||
36 | pkglib_PROGRAMS += evas_buffer_simple | ||
37 | evas_buffer_simple_SOURCES = evas-buffer-simple.c | ||
38 | evas_buffer_simple_LDADD = $(top_builddir)/src/lib/libevas.la | ||
39 | endif | ||
40 | |||
41 | pkglib_PROGRAMS += evas_init_shutdown | ||
42 | evas_init_shutdown_SOURCES = evas-init-shutdown.c | ||
43 | evas_init_shutdown_LDADD = $(top_builddir)/src/lib/libevas.la | ||
44 | |||
45 | #the ones using ecore_evas follow | ||
46 | AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@ | ||
47 | |||
48 | pkglib_PROGRAMS += evas_images | ||
49 | evas_images_SOURCES = evas-images.c | ||
50 | evas_images_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ | ||
51 | |||
52 | pkglib_PROGRAMS += evas_events | ||
53 | evas_events_SOURCES = evas-events.c | ||
54 | evas_events_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ | ||
55 | |||
56 | pkglib_PROGRAMS += evas_object_manipulation | ||
57 | evas_object_manipulation_SOURCES = evas-object-manipulation.c | ||
58 | evas_object_manipulation_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ | ||
59 | |||
60 | pkglib_PROGRAMS += evas_hints | ||
61 | evas_hints_SOURCES = evas-hints.c | ||
62 | evas_hints_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ | ||
63 | |||
64 | pkglib_PROGRAMS += evas_stacking | ||
65 | evas_stacking_SOURCES = evas-stacking.c | ||
66 | evas_stacking_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ | ||
67 | |||
68 | pkglib_PROGRAMS += evas_images2 | ||
69 | evas_images2_SOURCES = evas-images2.c | ||
70 | evas_images2_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ | ||
71 | |||
72 | pkglib_PROGRAMS += evas_text | ||
73 | evas_text_SOURCES = evas-text.c | ||
74 | evas_text_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ | ||
75 | |||
76 | pkglib_PROGRAMS += evas_smart_object | ||
77 | evas_smart_object_SOURCES = evas-smart-object.c | ||
78 | evas_smart_object_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ | ||
79 | |||
80 | pkglib_PROGRAMS += evas_box | ||
81 | evas_box_SOURCES = evas-box.c | ||
82 | evas_box_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ @EINA_LIBS@ | ||
83 | |||
84 | #the ones using ecore_evas and edje follow | ||
85 | AM_CPPFLAGS += @EDJE_CFLAGS@ | ||
86 | |||
87 | pkglib_PROGRAMS += evas_aspect_hints | ||
88 | evas_aspect_hints_DEPS = $(srcdir)/aspect.edc | ||
89 | evas_aspect_hints_SOURCES = evas-aspect-hints.c | ||
90 | evas_aspect_hints_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ @EDJE_LIBS@ | ||
91 | |||
92 | pkglib_PROGRAMS += evas_map_utils | ||
93 | evas_map_utils_SOURCES = evas-map-utils.c | ||
94 | evas_map_utils_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ | ||
95 | |||
96 | aspect.edj: ${evas_aspect_hints_DEPS} | ||
97 | |||
98 | .edc.edj: | ||
99 | $(edje_cc) -v -id $(srcdir) $< $(builddir)/$(@F) | ||
100 | |||
101 | EDJS = $(EDCS:%.edc=%.edj) | ||
102 | |||
103 | files_DATA += $(EDJS) | ||
104 | |||
105 | endif # if BUILD_EXAMPLES | ||
106 | |||
107 | if INSTALL_EXAMPLES | ||
108 | |||
109 | #put here additional data when installing examples | ||
110 | files_DATA += $(srcdir)/enlightenment.png \ | ||
111 | $(srcdir)/red.png \ | ||
112 | $(srcdir)/im1.png \ | ||
113 | $(srcdir)/cube1.png | ||
114 | |||
115 | files_DATA += \ | ||
116 | $(EDCS) \ | ||
117 | $(srcdir)/evas-buffer-simple.c \ | ||
118 | $(srcdir)/evas-init-shutdown.c \ | ||
119 | $(srcdir)/evas-images.c \ | ||
120 | $(srcdir)/evas-images2.c \ | ||
121 | $(srcdir)/evas-object-manipulation.c \ | ||
122 | $(srcdir)/evas-events.c \ | ||
123 | $(srcdir)/evas-aspect-hints.c \ | ||
124 | $(srcdir)/evas-hints.c \ | ||
125 | $(srcdir)/evas-stacking.c \ | ||
126 | $(srcdir)/evas-map-utils.c \ | ||
127 | $(srcdir)/evas-text.c \ | ||
128 | $(srcdir)/evas-smart-object.c \ | ||
129 | $(srcdir)/evas-box.c | ||
130 | endif | ||
131 | |||
132 | EXTRA_DIST = $(EDCS) \ | ||
133 | $(srcdir)/evas-buffer-simple.c \ | ||
134 | $(srcdir)/evas-init-shutdown.c \ | ||
135 | $(srcdir)/evas-images.c \ | ||
136 | $(srcdir)/evas-images2.c \ | ||
137 | $(srcdir)/evas-object-manipulation.c \ | ||
138 | $(srcdir)/evas-events.c \ | ||
139 | $(srcdir)/evas-aspect-hints.c \ | ||
140 | $(srcdir)/evas-hints.c \ | ||
141 | $(srcdir)/evas-stacking.c \ | ||
142 | $(srcdir)/evas-map-utils.c \ | ||
143 | $(srcdir)/evas-text.c \ | ||
144 | $(srcdir)/evas-smart-object.c \ | ||
145 | $(srcdir)/evas-box.c \ | ||
146 | $(srcdir)/enlightenment.png \ | ||
147 | $(srcdir)/red.png \ | ||
148 | $(srcdir)/im1.png \ | ||
149 | $(srcdir)/cube1.png | ||