Mercurial > MadButterfly
annotate examples/dynamic/Makefile.am @ 398:674717c2c3ee
Use libtool to build .so modules.
author | john.cylee@gmail.com |
---|---|
date | Fri, 12 Jun 2009 11:23:59 +0800 |
parents | 02e457d374f5 |
children | 31b6633e3538 |
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 \ |
398 | 17 scene.c scene.h scene.mbn |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
18 |
247 | 19 |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
290
diff
changeset
|
20 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
|
21 hello_LDFLAGS = @pangocairo_LIBS@ |
247 | 22 hello_LDADD = $(top_builddir)/src/libmbfly.la |
23 | |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
24 |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
290
diff
changeset
|
25 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
|
26 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
|
27 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
|
28 |
398 | 29 |
30 button_la_SOURCES = button.c | |
31 button_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared | |
32 | |
331
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
33 |
398 | 34 mytext_la_SOURCES = mytext.c |
35 mytext_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared | |
36 | |
331
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
37 |
398 | 38 scene_la_SOURCES = mytext.c |
39 scene_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared | |
40 | |
41 | |
42 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
|
43 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
|
44 |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
45 button.h: button.mb |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
46 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
|
47 |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
48 button.mb: button.svg |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
49 $(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
|
50 |
398 | 51 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
|
52 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
|
53 |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
54 mytext.h: mytext.mb |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
55 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
|
56 |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
57 mytext.mb: mytext.svg |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
58 $(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
|
59 |
398 | 60 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
|
61 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
|
62 |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
63 scene.h: scene.mb |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
64 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
|
65 |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
66 scene.mb: scene.svg |
2a8bf3efbc67
Change makefile to support building in other directory.
Thinker K.F. Li <thinker@branda.to>
parents:
296
diff
changeset
|
67 $(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
|
68 |