aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/evas/Makefile.am
blob: dde2f7766b3224a21879fdf9628e4d2094d6a0b8 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
MAINTAINERCLEANFILES = Makefile.in

AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eo \
-I$(top_srcdir)/src/lib/evas \
-I$(top_builddir)/src/lib/eina \
-I$(top_builddir)/src/lib/eo \
-I$(top_builddir)/src/lib/evas \
@EVAS_CFLAGS@

#put here all EDCs one needs to the tests
EDCS = aspect.edc

EXTRA_PROGRAMS =

if BUILD_ENGINE_BUFFER
AM_CPPFLAGS += -I$(top_srcdir)/src/modules/evas/engines/buffer

EXTRA_PROGRAMS += evas_buffer_simple
evas_buffer_simple_SOURCES = evas-buffer-simple.c
evas_buffer_simple_LDADD = $(top_builddir)/src/lib/evas/libevas.la
endif

EXTRA_PROGRAMS += evas_init_shutdown
evas_init_shutdown_SOURCES = evas-init-shutdown.c
evas_init_shutdown_LDADD = $(top_builddir)/src/lib/evas/libevas.la

#the ones using ecore_evas follow
#AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@

#EXTRA_PROGRAMS += evas_images
#evas_images_SOURCES = evas-images.c
#evas_images_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_events
#evas_events_SOURCES = evas-events.c
#evas_events_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_object_manipulation
#evas_object_manipulation_SOURCES = evas-object-manipulation.c
#evas_object_manipulation_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_object_manipulation-eo
#evas_object_manipulation_SOURCES = evas-object-manipulation-eo.c
#evas_object_manipulation_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_hints
#evas_hints_SOURCES = evas-hints.c
#evas_hints_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_stacking
#evas_stacking_SOURCES = evas-stacking.c
#evas_stacking_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_images2
#evas_images2_SOURCES = evas-images2.c
#evas_images2_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_images3
#evas_images3_SOURCES = evas-images3.c
#evas_images3_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_text
#evas_text_SOURCES = evas-text.c
#evas_text_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_smart_object
#evas_smart_object_SOURCES = evas-smart-object.c
#evas_smart_object_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_smart_interface
#evas_smart_interface_SOURCES = evas-smart-interface.c
#evas_smart_interface_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#EXTRA_PROGRAMS += evas_box
#evas_box_SOURCES = evas-box.c
#evas_box_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@ @EVAS_GENERAL_LIBS@

#the ones using ecore_evas and edje follow
#AM_CPPFLAGS += @EDJE_CFLAGS@

#EXTRA_PROGRAMS += evas_aspect_hints
#evas_aspect_hints_DEPS = $(srcdir)/aspect.edc
#evas_aspect_hints_SOURCES = evas-aspect-hints.c
#evas_aspect_hints_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@ @EDJE_LIBS@

#EXTRA_PROGRAMS += evas_map_utils
#evas_map_utils_SOURCES = evas-map-utils.c
#evas_map_utils_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@

#aspect.edj: ${evas_aspect_hints_DEPS}

#.edc.edj:
#	$(edje_cc) -v -id $(srcdir) $< $(builddir)/$(@F)

#EDJS = $(EDCS:%.edc=%.edj)

#SRCS = $(EDJS)

#SRCS += $(EDCS)
SRCS = $(EDCS)

SRCS += \
enlightenment.png \
red.png \
im1.png \
cube1.png

SRCS += \
evas-buffer-simple.c \
evas-init-shutdown.c \
evas-images.c \
evas-images2.c \
evas-images3.c \
evas-object-manipulation.c \
evas-object-manipulation-eo.c \
evas-events.c \
evas-aspect-hints.c \
evas-hints.c \
evas-stacking.c \
evas-map-utils.c \
evas-text.c \
evas-smart-object.c \
evas-smart-interface.c \
evas-box.c

examples: $(EXTRA_PROGRAMS)

clean-local:
	rm -f $(EXTRA_PROGRAMS)

install-examples:
	mkdir -p $(datadir)/evas/examples
	$(install_sh_DATA) -c $(SRCS) $(datadir)/evas/examples

uninstall-local:
	for f in $(SRCS) ; do \
	  rm -f $(datadir)/evas/examples/$$f ; \
	done

EXTRA_DIST = \
$(EDCS) \
enlightenment.png \
red.png \
im1.png \
cube1.png