annotate examples/svg2code_ex/Makefile.am @ 180:ee31a9301a7c

Fix the compilation error in build dir.
author sylee@eeepc
date Sun, 02 Nov 2008 12:11:59 +0800
parents 06a90c35ba67
children c7e5b8779bb5
rev   line source
178
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
1 noinst_PROGRAMS = ex1
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
2 EXTRA_DIST = svg2code_ex.svg
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
3
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
4 ex1_SOURCES = main.c
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
5 nodist_ex1_SOURCES = svg2code_ex.c svg2code_ex.h
180
ee31a9301a7c Fix the compilation error in build dir.
sylee@eeepc
parents: 179
diff changeset
6 ex1_CPPFLAGS = @cairo_CFLAGS@ -I$(top_srcdir)
178
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
7 ex1_LDFLAGS = @cairo_LIBS@
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
8 ex1_LDADD = $(top_builddir)/src/libmbfly.la
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
9 BUILT_SOURCES = svg2code_ex.c svg2code_ex.h svg2code_ex.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
10 CLEANFILES = svg2code_ex.c svg2code_ex.h svg2code_ex.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
11
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
12 svg2code_ex.mb: $(srcdir)/svg2code_ex.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 svg2code_ex.h: svg2code_ex.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 svg2code_ex.c: svg2code_ex.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
19 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@