summaryrefslogtreecommitdiff
path: root/src/examples/edje
diff options
context:
space:
mode:
authorRicardo de Almeida Gonzaga <ricardo@profusion.mobi>2013-02-08 17:35:24 +0000
committerBruno Dilly <bdilly@profusion.mobi>2013-02-08 17:35:24 +0000
commit512c75908106a60cd74f08c5b16eea96fed55887 (patch)
tree59cedd91e5851f7df9c4423fe8cbf1f767bfdb2f /src/examples/edje
parente379743c95a06d8aec0bb843919a35e5772423e4 (diff)
efl: add makefile.examples to each lib
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi> SVN revision: 83795
Diffstat (limited to 'src/examples/edje')
-rw-r--r--src/examples/edje/Makefile.am3
-rw-r--r--src/examples/edje/Makefile.examples82
2 files changed, 84 insertions, 1 deletions
diff --git a/src/examples/edje/Makefile.am b/src/examples/edje/Makefile.am
index 6d365d9e62..a068d23b6d 100644
--- a/src/examples/edje/Makefile.am
+++ b/src/examples/edje/Makefile.am
@@ -83,7 +83,8 @@ bubble-blue.png \
83red.png \ 83red.png \
84test.png \ 84test.png \
85Vera.ttf \ 85Vera.ttf \
86duck.wav 86duck.wav \
87Makefile.examples
87 88
88SRCS = \ 89SRCS = \
89edje-codegen-example.c \ 90edje-codegen-example.c \
diff --git a/src/examples/edje/Makefile.examples b/src/examples/edje/Makefile.examples
new file mode 100644
index 0000000000..8d7349499e
--- /dev/null
+++ b/src/examples/edje/Makefile.examples
@@ -0,0 +1,82 @@
1CC=gcc
2EDJE_CC=edje_cc
3EDJE_CODEGEN=edje_codegen
4COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,edje`
5
6EDJE_OBJS= animations.edj \
7 animations2.edj \
8 basic.edj \
9 basic2.edj \
10 box.edj \
11 codegen.edj \
12 color-class.edj \
13 drag.edj \
14 edje_example.edj \
15 edje-nested.edj \
16 embryo_custom_state.edj \
17 embryo_pong.edj \
18 embryo_run_program.edj \
19 embryo_set_state.edj \
20 embryo_set_text.edj \
21 embryo_timer.edj \
22 external_elm_anchorblock.edj \
23 external_elm_button.edj \
24 external_elm_check.edj \
25 external_elm_panes.edj \
26 external_emotion_elm.edj \
27 lua_script.edj \
28 messages_echo.edj \
29 multisense.edj \
30 perspective.edj \
31 physics_3d.edj \
32 physics_actions.edj \
33 physics_backcull.edj \
34 physics_basic.edj \
35 physics_complex.edj \
36 physics_soft_bodies.edj \
37 signalsBubble.edj \
38 signals-messages.edj \
39 sigtest.edj \
40 swallow.edj \
41 table.edj \
42 text.edj \
43 toggle_using_filter.edj
44
45EXAMPLES= animations2 \
46 edje-animations \
47 edje-basic \
48 edje-basic2 \
49 edje-box \
50 edje-box2 \
51 edje-color-class \
52 edje-drag \
53 edje_example \
54 edje-multisense \
55 edje-perspective \
56 edje-signals-messages \
57 edje-swallow \
58 edje-swallow2 \
59 edje-table \
60 edje-text \
61 signals2 \
62 sigtest
63
64all: edje examples edje-codegen-example
65edje: $(EDJE_OBJS)
66examples: $(EXAMPLES)
67
68%.edj: %.edc
69 $(EDJE_CC) $<
70
71$(EXAMPLES):
72 $(CC) -o $@ $@.c $(COMMON_FLAGS)
73
74codegen:
75 $(EDJE_CODEGEN) --prefix=codegen_example codegen.edj example_group codegen_example_generated.c codegen_example_generated.h
76
77edje-codegen-example: codegen
78 $(CC) -o edje-codegen-example codegen_example_generated.c edje-codegen-example.c $(COMMON_FLAGS)
79
80clean:
81 @echo "Cleaning up built objects..."
82 @rm -Rf $(EXAMPLES) *.edj edje-codegen-example