annotate src/Makefile.am @ 601:8863d23cea4b openvg

Load images with Imlib2. Image loader, now, use Imlib2 to load images into ARGB 32bits pixels. It can load png, jpg, bmp, tiff, ...., etc.
author Thinker K.F. Li <thinker@branda.to>
date Fri, 02 Jul 2010 11:59:17 +0800
parents 71df2896877c
children 97bf0ff7a038
rev   line source
185
c7e5b8779bb5 Move header files into include/mb/ subdirectory and remove symlink 'mb'.
Thinker K.F. Li <thinker@branda.to>
parents: 178
diff changeset
1 include $(top_srcdir)/config.mk
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
2
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
3 lib_LTLIBRARIES = libmbfly.la
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
4
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
5 noinst_PROGRAMS =
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
6
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
7 if SH_TEXT
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
8 noinst_PROGRAMS += X_main
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
9 endif
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
10
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
11 if TESTCASE
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
12 noinst_PROGRAMS += testcase
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
13 endif
408
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
14
476
ac886e629f90 Conditinal compile MBAF
Thinker K.F. Li <thinker@branda.to>
parents: 468
diff changeset
15 if X_SUPP
368
080aca2b7c47 Move the animated menu to the MBAF layer
wycc
parents: 303
diff changeset
16 MBAF_SOURCES=mbaf/mbapp.c mbaf/mbbutton.c mbaf/mbobject.c mbaf/animated_menu.c
476
ac886e629f90 Conditinal compile MBAF
Thinker K.F. Li <thinker@branda.to>
parents: 468
diff changeset
17 else
ac886e629f90 Conditinal compile MBAF
Thinker K.F. Li <thinker@branda.to>
parents: 468
diff changeset
18 MBAF_SOURCES=
ac886e629f90 Conditinal compile MBAF
Thinker K.F. Li <thinker@branda.to>
parents: 468
diff changeset
19 endif
ac886e629f90 Conditinal compile MBAF
Thinker K.F. Li <thinker@branda.to>
parents: 468
diff changeset
20
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
21 libmbfly_la_SOURCES= animate.c chgcolor.c coord.c event.c geo.c \
194
45d9a1e2764d Add mb_subtree_free animate action and fix bugs.
Thinker K.F. Li <thinker@branda.to>
parents: 185
diff changeset
22 observer.c paint.c redraw_man.c rotate.c shape_path.c \
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
23 shape_rect.c shift.c subtree_free.c timer.c \
464
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 435
diff changeset
24 timertool.c tools.c visibility.c prop.c sprite.c \
294
2ca0773cd48d * Add MBAF files
wycc
parents: 280
diff changeset
25 mouse.c shape_image.c img_ldr.c $(MBAF_SOURCES)
601
8863d23cea4b Load images with Imlib2.
Thinker K.F. Li <thinker@branda.to>
parents: 591
diff changeset
26 libmbfly_la_CPPFLAGS = @imlib2_CFLAGS@
8863d23cea4b Load images with Imlib2.
Thinker K.F. Li <thinker@branda.to>
parents: 591
diff changeset
27 libmbfly_la_LDFLAGS = @imlib2_LIBS@
280
c8b6ca46950b Add merged result
wycc
parents: 278 257
diff changeset
28
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
29 if SH_TEXT
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
30 libmbfly_la_SOURCES += shape_text.c
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
31 endif
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
32
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
33 if SH_STEXT
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
34 libmbfly_la_SOURCES += shape_stext.c
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
35 endif
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 410
diff changeset
36
464
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 435
diff changeset
37 if X_SUPP
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 435
diff changeset
38 libmbfly_la_SOURCES += X_supp.c
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 435
diff changeset
39 endif
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 435
diff changeset
40
466
cd6f57b9b104 Add graph_engine_skia.c
Thinker K.F. Li <thinker@branda.to>
parents: 465
diff changeset
41 if CAIRO_GRAPH_ENGINE
465
d8181696b689 Move functions into graphic engine layers.
Thinker K.F. Li <thinker@branda.to>
parents: 464
diff changeset
42 libmbfly_la_SOURCES += graph_engine_cairo.c
d8181696b689 Move functions into graphic engine layers.
Thinker K.F. Li <thinker@branda.to>
parents: 464
diff changeset
43
601
8863d23cea4b Load images with Imlib2.
Thinker K.F. Li <thinker@branda.to>
parents: 591
diff changeset
44 libmbfly_la_CPPFLAGS += @cairo_CFLAGS@ @pangocairo_CFLAGS@
8863d23cea4b Load images with Imlib2.
Thinker K.F. Li <thinker@branda.to>
parents: 591
diff changeset
45 libmbfly_la_LDFLAGS += @cairo_LIBS@ @pangocairo_LIBS@
465
d8181696b689 Move functions into graphic engine layers.
Thinker K.F. Li <thinker@branda.to>
parents: 464
diff changeset
46 endif
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
47
466
cd6f57b9b104 Add graph_engine_skia.c
Thinker K.F. Li <thinker@branda.to>
parents: 465
diff changeset
48 if SKIA_GRAPH_ENGINE
468
ae784a86ba82 C++ instead of C to bridge to Skia
Thinker K.F. Li <thinker@branda.to>
parents: 466
diff changeset
49 libmbfly_la_SOURCES += graph_engine_skia.cpp
466
cd6f57b9b104 Add graph_engine_skia.c
Thinker K.F. Li <thinker@branda.to>
parents: 465
diff changeset
50 endif
cd6f57b9b104 Add graph_engine_skia.c
Thinker K.F. Li <thinker@branda.to>
parents: 465
diff changeset
51
591
71df2896877c build graph_engine_openvg.c in makefile
Thinker K.F. Li <thinker@branda.to>
parents: 476
diff changeset
52 if OPENVG_GRAPH_ENGINE
71df2896877c build graph_engine_openvg.c in makefile
Thinker K.F. Li <thinker@branda.to>
parents: 476
diff changeset
53 libmbfly_la_SOURCES += graph_engine_openvg.c
71df2896877c build graph_engine_openvg.c in makefile
Thinker K.F. Li <thinker@branda.to>
parents: 476
diff changeset
54 endif
71df2896877c build graph_engine_openvg.c in makefile
Thinker K.F. Li <thinker@branda.to>
parents: 476
diff changeset
55
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
56 X_main_SOURCES = X_main.c
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
57 X_main_LDADD = $(top_builddir)/src/libmbfly.la
408
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
58 X_main_CPPFLAGS = @pangocairo_CFLAGS@ -I$(top_builddir)/include
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
59 X_main_LDFLAGS = @pangocairo_LIBS@
408
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
60
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
61 testcase_SOURCES = testcase.c $(libmbfly_la_SOURCES)
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
62 testcase_CFLAGS = -I$(top_builddir)/include \
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
63 -DUNITTEST -g @cairo_CFLAGS@ \
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
64 @pangocairo_CFLAGS@
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
65 testcase_LDFLAGS = -lcunit -L/usr/local/lib/ @pangocairo_LIBS@
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
66
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
67 EXTRA_PROGRAMS = testcase