annotate examples/calculator/Makefile.am @ 234:889cdc5f23c5

When a scene is selected to0 edit, we copy all of its elements out of the scene so that inkscape can edit it directly. All elements add or delete by the inkspcae will be put back when we switch the scene. The svg2code.py must recognize this structure.
author wycc
date Wed, 24 Dec 2008 23:43:39 +0800
parents 2637519e2bd7
children a90fd749af82
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
231
2637519e2bd7 Move mouse event handler and interpreter to src/mouse.c.
Thinker K.F. Li <thinker@branda.to>
parents: 185
diff changeset
8 calc_CPPFLAGS = @cairo_CFLAGS@ $(INCLUDES)
178
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
9 calc_LDFLAGS = @cairo_LIBS@
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 $< > $@