comparison 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
comparison
equal deleted inserted replaced
277:5006e4abdda5 278:a90fd749af82
1 include $(top_srcdir)/config.mk 1 include $(top_srcdir)/config.mk
2 2
3 SUFFIXES=.svg .mbso 3 SUFFIXES=.svg .so
4 4
5 %.so:%.svg 5 %.so:%.svg
6 $(top_srcdir)/tools/svg2code.py $< $<.mb 6 $(top_srcdir)/tools/svg2code.py $< $<.mb
7 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) 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) 8 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h)
9 make $(<:.svg=.o) 9 make $(<:.svg=.o)
10 gcc -shared -o $@ $(<:.svg=.o) 10 gcc -shared -o $@ $(<:.svg=.o)
11 11
12 noinst_PROGRAMS = dynamic hello list button.so scene.so 12 noinst_PROGRAMS = dynamic hello list
13 EXTRA_DIST = menu.svg button.svg 13 EXTRA_DIST = menu.svg button.svg
14 14
15 dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h 15 dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h
16 nodist_dynamic_SOURCES = 16 nodist_dynamic_SOURCES =
17 CPPFLAGS = @cairo_CFLAGS@ $(INCLUDES) 17 CPPFLAGS = @pangocairo_CFLAGS@ $(INCLUDES)
18 dynamic_LDFLAGS = @cairo_LIBS@ 18 dynamic_LDFLAGS = @pangocairo_LIBS@
19 dynamic_LDADD = $(top_builddir)/src/libmbfly.la 19 dynamic_LDADD = $(top_builddir)/src/libmbfly.la
20 BUILT_SOURCES = menu.c menu.h menu.mb button.c button.h button.mb 20 CLEANFILES = menu.c menu.h menu.mb button.c button.o button.mb button.so
21 CLEANFILES = menu.c menu.h menu.mb button.c button.h button.mb
22 21
23 22
24 hello_SOURCES = hello.c mbapp.c mbapp.h 23 hello_SOURCES = hello.c mbapp.c mbapp.h
25 hello_LDFLAGS = @cairo_LIBS@ 24 hello_LDFLAGS = @pangocairo_LIBS@
26 hello_LDADD = $(top_builddir)/src/libmbfly.la 25 hello_LDADD = $(top_builddir)/src/libmbfly.la
27 26
28 list_SOURCES = list.c mbapp.c mbapp.h 27 list_SOURCES = list.c mbapp.c mbapp.h
29 list_LDFLAGS = @cairo_LIBS@ 28 list_LDFLAGS = @pangocairo_LIBS@
30 list_LDADD = $(top_builddir)/src/libmbfly.la 29 list_LDADD = $(top_builddir)/src/libmbfly.la
31 30
32 31