Mercurial > MadButterfly
view examples/dynamic/Makefile.am @ 287:5c066380a84e
* Fix tspan inside tspan parsing issue
* Fix the compilation issue for the dynamic. However, we need to find why the rules for so does not work.
author | wycc |
---|---|
date | Sat, 31 Jan 2009 17:24:00 +0800 |
parents | 248a40d51473 |
children | f65c4589549f |
line wrap: on
line source
include $(top_srcdir)/config.mk #SUFFIXES=.svg .mbso button.so:button.svg $(top_srcdir)/tools/svg2code.py $< $<.mb m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) make $(<:.svg=.o) $(CC) -shared -o $@ $(<:.svg=.o) mytext.so:mytext.svg $(top_srcdir)/tools/svg2code.py $< $<.mb m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) make $(<:.svg=.o) $(CC) -shared -o $@ $(<:.svg=.o) scene.so:scene.svg $(top_srcdir)/tools/svg2code.py $< $<.mb m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) make $(<:.svg=.o) $(CC) -shared -o $@ $(<:.svg=.o) noinst_PROGRAMS = dynamic hello text button.so mytext.so scene.so EXTRA_DIST = menu.svg button.svg dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h nodist_dynamic_SOURCES = CPPFLAGS = @pangocairo_CFLAGS@ $(INCLUDES) dynamic_LDFLAGS = @pangocairo_LIBS@ dynamic_LDADD = $(top_builddir)/src/libmbfly.la BUILT_SOURCES = CLEANFILES = menu.c menu.h menu.mb button.mb hello_SOURCES = hello.c mbapp.c mbapp.h hello_LDFLAGS = @pangocairo_LIBS@ hello_LDADD = $(top_builddir)/src/libmbfly.la text_SOURCES = text.c mbapp.c mbapp.h text_LDFLAGS = @pangocairo_LIBS@ text_LDADD = $(top_builddir)/src/libmbfly.la