Mercurial > MadButterfly
annotate examples/drag/Makefile.am @ 768:13669b28826d
Fix issue of memory leaking for coord objects.
When coord.cc try to release memory of coords of a subtree, a typo
make the code always free root coord of the subtree. It causes a
leaking.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sun, 29 Aug 2010 17:20:13 +0800 |
parents | a90fd749af82 |
children | 757bb247a072 |
rev | line source |
---|---|
199 | 1 include $(top_srcdir)/config.mk |
2 | |
3 noinst_PROGRAMS = ex1 | |
4 EXTRA_DIST = menu.svg | |
5 | |
6 ex1_SOURCES = main.c | |
7 nodist_ex1_SOURCES = menu.c menu.h | |
278
a90fd749af82
Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents:
199
diff
changeset
|
8 ex1_CPPFLAGS = @pangocairo_CFLAGS@ -I$(top_srcdir) |
a90fd749af82
Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents:
199
diff
changeset
|
9 ex1_LDFLAGS = @pangocairo_LIBS@ |
199 | 10 ex1_LDADD = $(top_builddir)/src/libmbfly.la |
11 BUILT_SOURCES = menu.c menu.h menu.mb | |
12 CLEANFILES = menu.c menu.h menu.mb | |
13 | |
14 menu.mb: $(srcdir)/menu.svg | |
15 $(top_srcdir)/tools/svg2code.py $? $@ | |
16 | |
17 menu.h: menu.mb | |
18 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ | |
19 | |
20 menu.c: menu.mb | |
21 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |