Mercurial > MadButterfly
annotate examples/dynamic/Makefile.am @ 278:a90fd749af82 mbtext
Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
author | wycc |
---|---|
date | Sat, 31 Jan 2009 09:41:04 +0800 |
parents | 5006e4abdda5 |
children | c8b6ca46950b |
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 |
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
|
3 SUFFIXES=.svg .so |
277 | 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 | |
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
|
12 noinst_PROGRAMS = dynamic hello list |
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 |
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 CLEANFILES = menu.c menu.h menu.mb button.c button.o button.mb button.so |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
21 |
247 | 22 |
23 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
|
24 hello_LDFLAGS = @pangocairo_LIBS@ |
247 | 25 hello_LDADD = $(top_builddir)/src/libmbfly.la |
26 | |
277 | 27 list_SOURCES = list.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
|
28 list_LDFLAGS = @pangocairo_LIBS@ |
277 | 29 list_LDADD = $(top_builddir)/src/libmbfly.la |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
30 |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
31 |