annotate examples/calculator/Makefile.am @ 178:d0646a6df46f

Autoolize examples.
author sylee@eeepc
date Sun, 02 Nov 2008 02:37:18 +0800
parents
children 06a90c35ba67
rev   line source
178
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
1 noinst_PROGRAMS = calc
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
2 EXTRA_DIST = calculator_scr.svg
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
3
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
4 calc_SOURCES = main.c
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
5 nodist_calc_SOURCES = calculator_scr.c calculator_scr.h
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
6 calc_CPPFLAGS = @cairo_CFLAGS@ -I$(srcdir)
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
7 calc_LDFLAGS = @cairo_LIBS@
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
8 calc_LDADD = $(top_builddir)/src/libmbfly.la
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
9 BUILT_SOURCES = calculator_scr.c calculator_scr.h calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
10 CLEANFILES = calculator_scr.c calculator_scr.h calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
11
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
12 calculator_scr.mb: $(srcdir)/calculator_scr.svg
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
13 $(top_srcdir)/tools/svg2code.py $? $@
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
14
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
15 calculator_scr.h: calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
16 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
17
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
18 calculator_scr.c: calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
19 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@