Mercurial > MadButterfly
annotate examples/dynamic/Makefile.am @ 795:46a4cd4d382b
Remove dependent on system time to gain frame rate
Date.now() would read system time. It is ineffeciency in for some
implementation. To gain frame rate, we should rely on accuration of
setInterval().
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 31 Aug 2010 10:04:15 +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 | 3 #SUFFIXES=.svg .mbso |
277 | 4 |
398 | 5 noinst_PROGRAMS = dynamic hello text |
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 | 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 | 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 | 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 | 23 hello_LDADD = $(top_builddir)/src/libmbfly.la |
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 | 30 |
31 button_la_SOURCES = button.c | |
32 button_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared | |
33 | |
331
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
34 |
398 | 35 mytext_la_SOURCES = mytext.c |
36 mytext_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared | |
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 | 40 scene_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared |
41 | |
42 | |
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 | 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 | 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 |