Mercurial > MadButterfly
annotate examples/calculator/Makefile.am @ 627:97bf0ff7a038 openvg
linked with libEGL and libOpenVG
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 16 Jul 2010 18:03:52 +0800 |
parents | 331467b8e778 |
children | 7b4e80ab671a |
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 | 3 noinst_PROGRAMS = calc |
4 EXTRA_DIST = calculator_scr.svg | |
5 | |
6 calc_SOURCES = main.c | |
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 | 10 calc_LDADD = $(top_builddir)/src/libmbfly.la |
11 BUILT_SOURCES = calculator_scr.c calculator_scr.h calculator_scr.mb | |
12 CLEANFILES = calculator_scr.c calculator_scr.h calculator_scr.mb | |
13 | |
627
97bf0ff7a038
linked with libEGL and libOpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
432
diff
changeset
|
14 if OPENVG_GRAPH_ENGINE |
97bf0ff7a038
linked with libEGL and libOpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
432
diff
changeset
|
15 calc_LDFLAGS += -lOpenVG -lEGL |
97bf0ff7a038
linked with libEGL and libOpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
432
diff
changeset
|
16 endif |
97bf0ff7a038
linked with libEGL and libOpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
432
diff
changeset
|
17 |
178 | 18 calculator_scr.mb: $(srcdir)/calculator_scr.svg |
432
331467b8e778
Make calcuator uses stext instead of text.
Thinker K.F. Li <thinker@branda.to>
parents:
278
diff
changeset
|
19 $(top_srcdir)/tools/svg2code.py -s $? $@ |
178 | 20 |
21 calculator_scr.h: calculator_scr.mb | |
22 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ | |
23 | |
24 calculator_scr.c: calculator_scr.mb | |
25 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |