view src/Makefile.am @ 1160:1a699dc00fa3

Fix the issue of not removing node in old scene when switching scenes. - When a timeline is playing and crossing two scenes (tween block), nodes, for the old scene, in duplicate group must be removed. But, it is not. - It is fixed by checking if nodes, in the duplicate group, are also in the key frame next to the new scene. All nodes that is not in next key frame are remove.
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 28 Dec 2010 13:35:34 +0800
parents eca737d33a18
children 6a71b3c43c67
line wrap: on
line source

# -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*-
# vim: sw=4:ts=8:sts=4
include $(top_srcdir)/config.mk

lib_LTLIBRARIES = libmbfly.la

noinst_PROGRAMS =

if SH_TEXT
noinst_PROGRAMS += X_main
endif

if TESTCASE
noinst_PROGRAMS += testcase
endif

if MBAF
MBAF_SOURCES=mbaf/mbapp.c mbaf/mbbutton.c mbaf/mbobject.c mbaf/animated_menu.c
else
MBAF_SOURCES=
endif

libmbfly_la_SOURCES= animate.c chgcolor.c coord.c event.c geo.c	\
	observer.c paint.c redraw_man.c rotate.c shape_path.c		\
	shape_rect.c shift.c subtree_free.c timer.c 			\
	timertool.c tools.c visibility.c prop.c sprite.c	\
	mouse.c shape_image.c precomputed.c $(MBAF_SOURCES)

libmbfly_la_CPPFLAGS =
libmbfly_la_LDFLAGS =

if SH_TEXT
libmbfly_la_SOURCES += shape_text.c
endif

if SH_STEXT
libmbfly_la_SOURCES += shape_stext.c
endif

if X_BACKEND
libmbfly_la_SOURCES += X_supp.c
endif

if DFB_BACKEND
libmbfly_la_SOURCES += dfb_supp.c
endif

if CONSOLE_BACKEND
libmbfly_la_SOURCES += cons_supp.c
endif

if CAIRO_IMG_LOADER
libmbfly_la_SOURCES += img_ldr.c
endif

if IMLIB2_IMG_LOADER
libmbfly_la_SOURCES += img_ldr_imlib2.c

libmbfly_la_CPPFLAGS += @imlib2_CFLAGS@
libmbfly_la_LDFLAGS += @imlib2_LIBS@
endif

if DUMMY_IMG_LOADER
libmbfly_la_SOURCES += img_ldr_dummy.c
endif

if CAIRO_GRAPH_ENGINE
libmbfly_la_SOURCES += graph_engine_cairo.c

libmbfly_la_CPPFLAGS += @cairo_CFLAGS@ @pangocairo_CFLAGS@
libmbfly_la_LDFLAGS += @cairo_LIBS@ @pangocairo_LIBS@
endif

if XSHM
libmbfly_la_LDFLAGS += -lXext
endif

if SKIA_GRAPH_ENGINE
libmbfly_la_SOURCES += graph_engine_skia.cpp
endif

if DFB_GRAPH_ENGINE
libmbfly_la_SOURCES += graph_engine_dfb.c
endif

if OPENVG_GRAPH_ENGINE
libmbfly_la_SOURCES += graph_engine_openvg.c
libmbfly_la_LDFLAGS += -lOpenVG
endif

X_main_SOURCES = X_main.c
X_main_LDADD = $(top_builddir)/src/libmbfly.la
X_main_CPPFLAGS = @pangocairo_CFLAGS@ -I$(top_builddir)/include
X_main_LDFLAGS = @pangocairo_LIBS@

testcase_SOURCES = testcase.c $(libmbfly_la_SOURCES)
testcase_CFLAGS = -I$(top_builddir)/include \
		-DUNITTEST -g @cairo_CFLAGS@ \
		@pangocairo_CFLAGS@
testcase_LDFLAGS = -lcunit -L/usr/local/lib/ @pangocairo_LIBS@

EXTRA_PROGRAMS = testcase

precomputed.c precomputed.h: $(top_srcdir)/tools/gen_precomputed_tabs.py
	$(PYTHON_PATH) $(top_srcdir)/tools/gen_precomputed_tabs.py \
		precomputed.c precomputed.h