annotate examples/dynamic/Makefile.am @ 343:bb6e964da1c8

sh_image_get_img_data()
author Thinker K.F. Li <thinker@branda.to>
date Sun, 08 Mar 2009 11:39:09 +0800
parents 02e457d374f5
children 674717c2c3ee
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
287
5c066380a84e * Fix tspan inside tspan parsing issue
wycc
parents: 285
diff changeset
5 noinst_PROGRAMS = dynamic hello text button.so mytext.so scene.so
201
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
6 EXTRA_DIST = menu.svg button.svg
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
7
296
2e97e8082d83 * Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents: 290
diff changeset
8 dynamic_SOURCES = main.c
277
5006e4abdda5 Allow any elemnt to be a symbol.
wycc
parents: 247
diff changeset
9 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
10 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
11 dynamic_LDFLAGS = @pangocairo_LIBS@
201
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
12 dynamic_LDADD = $(top_builddir)/src/libmbfly.la
282
61aebecbb994 Fix the compilation error of the dynamic
wycc@wycc-desktop
parents: 277
diff changeset
13 BUILT_SOURCES =
334
02e457d374f5 Clean generated code in examples/dynamic/.
Thinker K.F. Li <thinker@branda.to>
parents: 331
diff changeset
14 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
15 button.c button.h button.mb \
02e457d374f5 Clean generated code in examples/dynamic/.
Thinker K.F. Li <thinker@branda.to>
parents: 331
diff changeset
16 scene.c scene.h scene.mb
201
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
17
247
d9a78c859660 Seperate the frameowrk codes from the main.c.
wycc
parents: 246
diff changeset
18
296
2e97e8082d83 * Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents: 290
diff changeset
19 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
20 hello_LDFLAGS = @pangocairo_LIBS@
247
d9a78c859660 Seperate the frameowrk codes from the main.c.
wycc
parents: 246
diff changeset
21 hello_LDADD = $(top_builddir)/src/libmbfly.la
d9a78c859660 Seperate the frameowrk codes from the main.c.
wycc
parents: 246
diff changeset
22
201
31933f9ee70e Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff changeset
23
296
2e97e8082d83 * Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents: 290
diff changeset
24 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
25 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
26 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
27
331
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
28 button.so: button.o
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
29 $(CC) $(CFLAGS) -I ../../include -shared -o $@ $<
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
30
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
31 button.o: button.c button.h
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
32
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
33 button.c: button.mb
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
34 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
35
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
36 button.h: button.mb
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
37 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
38
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
39 button.mb: button.svg
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
40 $(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
41
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
42 mytext.so: mytext.o
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
43 $(CC) $(CFLAGS) -I ../../include -shared -o $@ $<
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
44
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
45 mytext.o: mytext.c mytext.h
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
46
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
47 mytext.c: mytext.mb
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
48 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
49
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
50 mytext.h: mytext.mb
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
51 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
52
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
53 mytext.mb: mytext.svg
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
54 $(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
55
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
56 scene.so: scene.o
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
57 $(CC) $(CFLAGS) -I ../../include -shared -o $@ $<
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
58
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
59 scene.o: scene.c scene.h
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
60
2a8bf3efbc67 Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents: 296
diff changeset
61 scene.c: scene.mb
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