annotate examples/svg2code_ex/Makefile.am @ 261:11017576328c

Add PNG file for svg2code_ex.
author Thinker K.F. Li <thinker@branda.to>
date Fri, 23 Jan 2009 23:05:29 +0800
parents c7e5b8779bb5
children 755bbf274259 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 = ex1
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
4 EXTRA_DIST = svg2code_ex.svg
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
5
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
6 ex1_SOURCES = main.c
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
7 nodist_ex1_SOURCES = svg2code_ex.c svg2code_ex.h
180
ee31a9301a7c Fix the compilation error in build dir.
sylee@eeepc
parents: 179
diff changeset
8 ex1_CPPFLAGS = @cairo_CFLAGS@ -I$(top_srcdir)
178
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
9 ex1_LDFLAGS = @cairo_LIBS@
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
10 ex1_LDADD = $(top_builddir)/src/libmbfly.la
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
11 BUILT_SOURCES = svg2code_ex.c svg2code_ex.h svg2code_ex.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
12 CLEANFILES = svg2code_ex.c svg2code_ex.h svg2code_ex.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
13
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
14 svg2code_ex.mb: $(srcdir)/svg2code_ex.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 svg2code_ex.h: svg2code_ex.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 svg2code_ex.c: svg2code_ex.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
21 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@