comparison src/Makefile.am @ 1129:eca737d33a18

Improve performance of function to compute center of an arc. It is improved by using integer instead of floating point when computing. Some complicate computations are replaced by pre-computed table.
author Thinker K.F. Li <thinker@codemud.net>
date Sat, 18 Dec 2010 15:41:45 +0800
parents fa5f71d4aa04
children 6a71b3c43c67
comparison
equal deleted inserted replaced
1128:b65ac686a7c5 1129:eca737d33a18
22 22
23 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 \
24 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 \
25 shape_rect.c shift.c subtree_free.c timer.c \ 25 shape_rect.c shift.c subtree_free.c timer.c \
26 timertool.c tools.c visibility.c prop.c sprite.c \ 26 timertool.c tools.c visibility.c prop.c sprite.c \
27 mouse.c shape_image.c $(MBAF_SOURCES) 27 mouse.c shape_image.c precomputed.c $(MBAF_SOURCES)
28 28
29 libmbfly_la_CPPFLAGS = 29 libmbfly_la_CPPFLAGS =
30 libmbfly_la_LDFLAGS = 30 libmbfly_la_LDFLAGS =
31 31
32 if SH_TEXT 32 if SH_TEXT
98 -DUNITTEST -g @cairo_CFLAGS@ \ 98 -DUNITTEST -g @cairo_CFLAGS@ \
99 @pangocairo_CFLAGS@ 99 @pangocairo_CFLAGS@
100 testcase_LDFLAGS = -lcunit -L/usr/local/lib/ @pangocairo_LIBS@ 100 testcase_LDFLAGS = -lcunit -L/usr/local/lib/ @pangocairo_LIBS@
101 101
102 EXTRA_PROGRAMS = testcase 102 EXTRA_PROGRAMS = testcase
103
104 precomputed.c precomputed.h: $(top_srcdir)/tools/gen_precomputed_tabs.py
105 $(PYTHON_PATH) $(top_srcdir)/tools/gen_precomputed_tabs.py \
106 precomputed.c precomputed.h