annotate examples/calculator/Makefile.am @ 335:01038b8d8f05

Set the progm to be NULL so that we won't call mb_progm_abort when we call it at the next time. This will fix the crash issue of the dynamic. However, the dynamic is still crash sometimes if we click the button quickly. It looks like it crashes in the refresh. We need to future figure out the issue.
author wycc
date Sat, 07 Mar 2009 14:24:55 +0800
parents a90fd749af82
children 331467b8e778
rev   line source
185
c7e5b8779bb5 Move header files into include/mb/ subdirectory and remove symlink 'mb'.
Thinker K.F. Li <thinker@branda.to>
parents: 180
diff changeset
1 include $(top_srcdir)/config.mk
c7e5b8779bb5 Move header files into include/mb/ subdirectory and remove symlink 'mb'.
Thinker K.F. Li <thinker@branda.to>
parents: 180
diff changeset
2
178
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
3 noinst_PROGRAMS = calc
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
4 EXTRA_DIST = calculator_scr.svg
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
5
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
6 calc_SOURCES = main.c
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
7 nodist_calc_SOURCES = calculator_scr.c calculator_scr.h
278
a90fd749af82 Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents: 231
diff changeset
8 calc_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: 231
diff changeset
9 calc_LDFLAGS = @pangocairo_LIBS@
178
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
10 calc_LDADD = $(top_builddir)/src/libmbfly.la
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
11 BUILT_SOURCES = calculator_scr.c calculator_scr.h calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
12 CLEANFILES = calculator_scr.c calculator_scr.h calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
13
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
14 calculator_scr.mb: $(srcdir)/calculator_scr.svg
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
15 $(top_srcdir)/tools/svg2code.py $? $@
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
16
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
17 calculator_scr.h: calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
18 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
19
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
20 calculator_scr.c: calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
21 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@