Mercurial > MadButterfly
annotate examples/dynamic/Makefile.am @ 285:248a40d51473
Check in test program for sh_text_set_text for debugging. It is not working yet.
author | wycc |
---|---|
date | Sat, 31 Jan 2009 16:52:28 +0800 |
parents | 7d106e4ef66d |
children | 5c066380a84e |
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 |
277 | 3 SUFFIXES=.svg .mbso |
4 | |
5 %.so:%.svg | |
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) | |
9 make $(<:.svg=.o) | |
10 gcc -shared -o $@ $(<:.svg=.o) | |
11 | |
285
248a40d51473
Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents:
283
diff
changeset
|
12 noinst_PROGRAMS = dynamic hello text |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
13 EXTRA_DIST = menu.svg button.svg |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
14 |
247 | 15 dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h |
277 | 16 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
|
17 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
|
18 dynamic_LDFLAGS = @pangocairo_LIBS@ |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
19 dynamic_LDADD = $(top_builddir)/src/libmbfly.la |
282 | 20 BUILT_SOURCES = |
207
fd3e311e7e5d
Remove files that would be generated automatically.
Thinker K.F. Li <thinker@branda.to>
parents:
201
diff
changeset
|
21 CLEANFILES = menu.c menu.h menu.mb button.c button.h button.mb |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
22 |
247 | 23 |
24 hello_SOURCES = hello.c mbapp.c mbapp.h | |
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
|
25 hello_LDFLAGS = @pangocairo_LIBS@ |
247 | 26 hello_LDADD = $(top_builddir)/src/libmbfly.la |
27 | |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
28 |
285
248a40d51473
Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents:
283
diff
changeset
|
29 text_SOURCES = text.c mbapp.c mbapp.h |
248a40d51473
Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents:
283
diff
changeset
|
30 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
|
31 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
|
32 |