Mercurial > MadButterfly
changeset 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 | e4138c12fa8c |
children | e50c4e111698 |
files | configure.ac examples/calculator/Makefile.am src/Makefile.am src/graph_engine_openvg.c |
diffstat | 4 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Fri Jul 16 16:39:53 2010 +0800 +++ b/configure.ac Fri Jul 16 18:03:52 2010 +0800 @@ -125,7 +125,7 @@ # Define AM and AC variable for X_supp AM_CONDITIONAL([X_SUPP], - [test x$X_supp = xtrue -a x$cairo = xtrue]) + [test x$X_supp = xtrue -a \( x$cairo = xtrue -o x$openvg = xtrue \)]) [if [ x"${X_supp}" = xtrue -a \( x"${cairo}" = xtrue -o x"${openvg}" = xtrue \) ]; then] AC_DEFINE([X_SUPP]) [fi]
--- a/examples/calculator/Makefile.am Fri Jul 16 16:39:53 2010 +0800 +++ b/examples/calculator/Makefile.am Fri Jul 16 18:03:52 2010 +0800 @@ -11,6 +11,10 @@ BUILT_SOURCES = calculator_scr.c calculator_scr.h calculator_scr.mb CLEANFILES = calculator_scr.c calculator_scr.h calculator_scr.mb +if OPENVG_GRAPH_ENGINE +calc_LDFLAGS += -lOpenVG -lEGL +endif + calculator_scr.mb: $(srcdir)/calculator_scr.svg $(top_srcdir)/tools/svg2code.py -s $? $@