comparison src/Makefile.am @ 1067:7b4e80ab671a openvg

merge from default branch
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 01 Dec 2010 12:25:56 +0800
parents e50c4e111698 4c7f0ec97ad9
children aed05ad5102d
comparison
equal deleted inserted replaced
630:bd18951b51d5 1067:7b4e80ab671a
1 # -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*-
2 # vim: sw=4:ts=8:sts=4
1 include $(top_srcdir)/config.mk 3 include $(top_srcdir)/config.mk
2 4
3 lib_LTLIBRARIES = libmbfly.la 5 lib_LTLIBRARIES = libmbfly.la
4 6
5 noinst_PROGRAMS = 7 noinst_PROGRAMS =
20 22
21 libmbfly_la_SOURCES= animate.c chgcolor.c coord.c event.c geo.c \ 23 libmbfly_la_SOURCES= animate.c chgcolor.c coord.c event.c geo.c \
22 observer.c paint.c redraw_man.c rotate.c shape_path.c \ 24 observer.c paint.c redraw_man.c rotate.c shape_path.c \
23 shape_rect.c shift.c subtree_free.c timer.c \ 25 shape_rect.c shift.c subtree_free.c timer.c \
24 timertool.c tools.c visibility.c prop.c sprite.c \ 26 timertool.c tools.c visibility.c prop.c sprite.c \
25 mouse.c shape_image.c img_ldr.c $(MBAF_SOURCES) 27 mouse.c shape_image.c $(MBAF_SOURCES)
26 libmbfly_la_CPPFLAGS = @imlib2_CFLAGS@ 28 libmbfly_la_CPPFLAGS = @imlib2_CFLAGS@
27 libmbfly_la_LDFLAGS = @imlib2_LIBS@ 29 libmbfly_la_LDFLAGS = @imlib2_LIBS@
28 30
29 if SH_TEXT 31 if SH_TEXT
30 libmbfly_la_SOURCES += shape_text.c 32 libmbfly_la_SOURCES += shape_text.c
32 34
33 if SH_STEXT 35 if SH_STEXT
34 libmbfly_la_SOURCES += shape_stext.c 36 libmbfly_la_SOURCES += shape_stext.c
35 endif 37 endif
36 38
37 if X_SUPP 39 if X_BACKEND
38 libmbfly_la_SOURCES += X_supp.c 40 libmbfly_la_SOURCES += X_supp.c
39 endif 41 endif
42
43 if DFB_BACKEND
44 libmbfly_la_SOURCES += dfb_supp.c
45 endif
46
47 if CAIRO_IMG_LOADER
48 libmbfly_la_SOURCES += img_ldr.c
49 endif
50
51 if IMLIB2_IMG_LOADER
52 libmbfly_la_SOURCES += img_ldr_imlib2.c
53 endif
54
55 libmbfly_la_LDFLAGS =
40 56
41 if CAIRO_GRAPH_ENGINE 57 if CAIRO_GRAPH_ENGINE
42 libmbfly_la_SOURCES += graph_engine_cairo.c 58 libmbfly_la_SOURCES += graph_engine_cairo.c
43 59
44 libmbfly_la_CPPFLAGS += @cairo_CFLAGS@ @pangocairo_CFLAGS@ 60 libmbfly_la_CPPFLAGS += @cairo_CFLAGS@ @pangocairo_CFLAGS@
45 libmbfly_la_LDFLAGS += @cairo_LIBS@ @pangocairo_LIBS@ 61 libmbfly_la_LDFLAGS += @cairo_LIBS@ @pangocairo_LIBS@
46 endif 62 endif
47 63
64 if XSHM
65 libmbfly_la_LDFLAGS += -lXext
66 endif
67
48 if SKIA_GRAPH_ENGINE 68 if SKIA_GRAPH_ENGINE
49 libmbfly_la_SOURCES += graph_engine_skia.cpp 69 libmbfly_la_SOURCES += graph_engine_skia.cpp
70 endif
71
72 if DFB_GRAPH_ENGINE
73 libmbfly_la_SOURCES += graph_engine_dfb.c
50 endif 74 endif
51 75
52 if OPENVG_GRAPH_ENGINE 76 if OPENVG_GRAPH_ENGINE
53 libmbfly_la_SOURCES += graph_engine_openvg.c 77 libmbfly_la_SOURCES += graph_engine_openvg.c
54 libmbfly_la_LDFLAGS += -lOpenVG -lEGL 78 libmbfly_la_LDFLAGS += -lOpenVG -lEGL