Mercurial > MadButterfly
annotate examples/dynamic/Makefile.am @ 321:44cc65e7e234
Use relative path in the SVG file
Fix the filebrowser issue
author | wycc |
---|---|
date | Thu, 05 Mar 2009 08:31:57 +0800 |
parents | 2e97e8082d83 |
children | 2a8bf3efbc67 |
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 |
287 | 5 button.so:button.svg |
277 | 6 $(top_srcdir)/tools/svg2code.py $< $<.mb |
7 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) | |
8 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) | |
290
f65c4589549f
Replace make with $(MAKE) in examples/dynamic/Makefile.am.
Thinker K.F. Li <thinker@branda.to>
parents:
287
diff
changeset
|
9 $(MAKE) $(<:.svg=.o) |
287 | 10 $(CC) -shared -o $@ $(<:.svg=.o) |
277 | 11 |
287 | 12 mytext.so:mytext.svg |
13 $(top_srcdir)/tools/svg2code.py $< $<.mb | |
14 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) | |
15 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) | |
290
f65c4589549f
Replace make with $(MAKE) in examples/dynamic/Makefile.am.
Thinker K.F. Li <thinker@branda.to>
parents:
287
diff
changeset
|
16 $(MAKE) $(<:.svg=.o) |
287 | 17 $(CC) -shared -o $@ $(<:.svg=.o) |
18 scene.so:scene.svg | |
19 $(top_srcdir)/tools/svg2code.py $< $<.mb | |
20 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) | |
21 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) | |
290
f65c4589549f
Replace make with $(MAKE) in examples/dynamic/Makefile.am.
Thinker K.F. Li <thinker@branda.to>
parents:
287
diff
changeset
|
22 $(MAKE) $(<:.svg=.o) |
287 | 23 $(CC) -shared -o $@ $(<:.svg=.o) |
24 | |
25 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
|
26 EXTRA_DIST = menu.svg button.svg |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
27 |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
290
diff
changeset
|
28 dynamic_SOURCES = main.c |
277 | 29 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
|
30 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
|
31 dynamic_LDFLAGS = @pangocairo_LIBS@ |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
32 dynamic_LDADD = $(top_builddir)/src/libmbfly.la |
282 | 33 BUILT_SOURCES = |
287 | 34 CLEANFILES = menu.c menu.h menu.mb button.mb |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
35 |
247 | 36 |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
290
diff
changeset
|
37 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
|
38 hello_LDFLAGS = @pangocairo_LIBS@ |
247 | 39 hello_LDADD = $(top_builddir)/src/libmbfly.la |
40 | |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
41 |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
290
diff
changeset
|
42 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
|
43 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
|
44 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
|
45 |