annotate examples/dynamic/Makefile.am @ 1381:9a585df24e52

Consider the width and height attribute for the rect elements. The inkscape will change the width and height directly without using transform when we resize the rectangle.
author wycc
date Wed, 23 Mar 2011 23:02:36 +0800
parents 8927814d23b5
children
rev   line source
201
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
1 include $(top_srcdir)/config.mk
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
2
287
5c066380a84e * Fix tspan inside tspan parsing issue
wycc
parents: 285
diff changeset
3 #SUFFIXES=.svg .mbso
277
5006e4abdda5 Allow any elemnt to be a symbol.
wycc
parents: 247
diff changeset
4
398
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
5 noinst_PROGRAMS = dynamic hello text
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
6 noinst_LTLIBRARIES = button.la mytext.la scene.la
201
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
7 EXTRA_DIST = menu.svg button.svg
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
8
296
2e97e8082d83 * Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents: 290
diff changeset
9 dynamic_SOURCES = main.c
277
5006e4abdda5 Allow any elemnt to be a symbol.
wycc
parents: 247
diff changeset
10 nodist_dynamic_SOURCES =
278
a90fd749af82 Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents: 277
diff changeset
11 CPPFLAGS = @pangocairo_CFLAGS@ $(INCLUDES)
a90fd749af82 Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents: 277
diff changeset
12 dynamic_LDFLAGS = @pangocairo_LIBS@
201
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
13 dynamic_LDADD = $(top_builddir)/src/libmbfly.la
282
61aebecbb994 Fix the compilation error of the dynamic
wycc@wycc-desktop
parents: 277
diff changeset
14 BUILT_SOURCES =
334
02e457d374f5 Clean generated code in examples/dynamic/.
Thinker K.F. Li <thinker@branda.to>
parents: 331
diff changeset
15 CLEANFILES = menu.c menu.h menu.mb \
02e457d374f5 Clean generated code in examples/dynamic/.
Thinker K.F. Li <thinker@branda.to>
parents: 331
diff changeset
16 button.c button.h button.mb \
405
8927814d23b5 imported patch fix-makefile.am-clean.patch
john.cylee@gmail.com
parents: 400
diff changeset
17 scene.c scene.h scene.mb \
8927814d23b5 imported patch fix-makefile.am-clean.patch
john.cylee@gmail.com
parents: 400
diff changeset
18 mytext.c mytext.h mytext.mb
201
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
19
247
d9a78c859660 Seperate the frameowrk codes from the main.c.
wycc
parents: 246
diff changeset
20
296
2e97e8082d83 * Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents: 290
diff changeset
21 hello_SOURCES = hello.c
278
a90fd749af82 Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents: 277
diff changeset
22 hello_LDFLAGS = @pangocairo_LIBS@
247
d9a78c859660 Seperate the frameowrk codes from the main.c.
wycc
parents: 246
diff changeset
23 hello_LDADD = $(top_builddir)/src/libmbfly.la
d9a78c859660 Seperate the frameowrk codes from the main.c.
wycc
parents: 246
diff changeset
24
201
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
25
296
2e97e8082d83 * Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents: 290
diff changeset
26 text_SOURCES = text.c
285
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 283
diff changeset
27 text_LDFLAGS = @pangocairo_LIBS@
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 283
diff changeset
28 text_LDADD = $(top_builddir)/src/libmbfly.la
242
d3fe0a0f3a8b Implement MBApp API and modify the dynamic example to use this API.
wycc
parents: 231
diff changeset
29
398
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
30
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
31 button_la_SOURCES = button.c
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
32 button_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
33
331
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
34
398
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
35 mytext_la_SOURCES = mytext.c
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
36 mytext_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
37
331
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
38
399
31b6633e3538 - Fix a minor error in src/sprite.c: should check *(s-1) instead of
john.cylee@gmail.com
parents: 398
diff changeset
39 scene_la_SOURCES = scene.c
398
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
40 scene_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
41
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
42
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
43 button.c: button.mb button.h
331
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
44 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
45
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
46 button.h: button.mb
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
47 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
48
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
49 button.mb: button.svg
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
50 $(top_srcdir)/tools/svg2code.py $< $@
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
51
398
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
52 mytext.c: mytext.mb mytext.h
331
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
53 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
54
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
55 mytext.h: mytext.mb
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
56 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
57
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
58 mytext.mb: mytext.svg
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
59 $(top_srcdir)/tools/svg2code.py $< $@
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
60
398
674717c2c3ee Use libtool to build .so modules.
john.cylee@gmail.com
parents: 334
diff changeset
61 scene.c: scene.mb scene.h
331
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
62 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
63
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
64 scene.h: scene.mb
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
65 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
66
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
67 scene.mb: scene.svg
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
68 $(top_srcdir)/tools/svg2code.py $< $@
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
69