summaryrefslogtreecommitdiff
path: root/unsorted/elementary/Makefile.examples
blob: 3967f5aaaded2f217f546b320df71467e38ad5ff (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
148
149
150
151
152
153
EDJE_CC=edje_cc
EDJE_CODEGEN=edje_codegen
ELEMENTARY_CODEGEN=elementary_codegen
COMMON_FLAGS= \
`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,edje,eo,ecore-file,elementary,elocation` \
-lm

EDJE_OBJS = \
codegen_example.edj \
efl_ui_view_list_example.edj \
evas3d_map_example.edj \
layout_example.edj \
prefs_example_03.edj \
theme_example.edj \
twitter_example_01.edj


EXAMPLES = \
actionslider_example_01 \
bg_example_01 \
bg_example_02 \
bg_example_03 \
box_example_02 \
bubble_example_01 \
button_example_00 \
button_example_01 \
calendar_example_01 \
calendar_example_02 \
calendar_example_03 \
calendar_example_04 \
calendar_example_05 \
calendar_example_06 \
check_example_01 \
clock_example \
colorselector_example_01 \
conformant_example_01 \
conformant_example_02 \
combobox_example_01 \
ctxpopup_example_01 \
datetime_example \
dayselector_example \
diskselector_example_01 \
diskselector_example_02 \
entry_example \
fileselector_button_example \
fileselector_entry_example \
fileselector_example \
fileviewlist \
filemvc \
flip_example_01 \
flipselector_example \
frame_example_01 \
general_funcs_example \
gengrid_example \
genlist_example_01 \
genlist_example_02 \
genlist_example_03 \
genlist_example_04 \
genlist_example_05 \
hover_example_01 \
hoversel_example_01 \
icon_example_01 \
image_example_01 \
index_example_01 \
index_example_02 \
inwin_example \
label_example_01 \
layout_example_01 \
layout_example_02 \
layout_example_03 \
layout_model_connect \
list_example_01 \
list_example_02 \
list_example_03 \
location_example_01 \
map_example_01 \
map_example_02 \
map_example_03 \
mapbuf_example \
menu_example_01 \
naviframe_example \
notify_example_01 \
panes_example \
panel_example_01 \
photocam_example_01 \
prefs_example_01 \
prefs_example_02 \
prefs_example_03 \
popup_example_01 \
popup_example_02 \
popup_example_03 \
progressbar_example \
radio_example_01 \
radio_example_02 \
segment_control_example \
separator_example_01 \
slider_example \
slideshow_example \
spinner_example \
scroller_example_01 \
table_example_01 \
table_example_02 \
theme_example_01 \
theme_example_02 \
thumb_example_01 \
toolbar_example_01 \
toolbar_example_02 \
toolbar_example_03 \
transit_example_01 \
transit_example_02 \
transit_example_03 \
transit_example_04 \
web_example_01 \
web_example_02 \
win_example \
track_example_01 \
evas3d_object_on_button_example \
evas3d_scene_on_button_example \
evas3d_map_example \
efl_thread_1 \
efl_thread_2 \
efl_thread_3 \
efl_thread_4 \
efl_thread_5 \
efl_thread_6 \
efl_ui_list_example_1 \
efl_ui_view_list_example_1 \
efl_ui_view_list_example_2 \
efl_ui_view_list_example_3


ELEMENTARY_CODEGEN_FLAGS = --prefix=codegen_example
ELEMENTARY_CODEGEN_FILES = \
codegen_example_generated.c \
codegen_example_generated.h

all: edje examples
edje: $(EDJE_OBJS)
examples: $(EXAMPLES) codegen_example
codegen:  codegen_example.edj
	$(ELEMENTARY_CODEGEN) $(ELEMENTARY_CODEGEN_FLAGS) $(<) elm/example/mylayout/default $(ELEMENTARY_CODEGEN_FILES)
codegen_example: codegen
	$(CC) -o $@ $@.c codegen_example_generated.c $(COMMON_FLAGS)

%.edj: %.edc
	$(EDJE_CC) $<

$(EXAMPLES):
	$(CC) -o $@ $@.c $(COMMON_FLAGS)

clean:
	@echo "Cleaning up built objects..."
	@rm -Rf $(EXAMPLES) *.edj