# HG changeset patch # User Thinker K.F. Li # Date 1293726130 -28800 # Node ID 6a71b3c43c67b41019835786891f0abafa81be50 # Parent 178b126edd2cdc25209c655a43c75f067bb615f0 Fix issue of fault to build for ubunutu. - make build shape_path.c before generate precomputed.h while shape_path.c need it. - It is fixed by moving both precomputed.c & precomputed.h to BUILT_SROUCES. - see http://www.gnu.org/software/automake/manual/\ automake.html#Built-Sources-Example diff -r 178b126edd2c -r 6a71b3c43c67 src/Makefile.am --- a/src/Makefile.am Thu Dec 30 11:50:02 2010 +0800 +++ b/src/Makefile.am Fri Dec 31 00:22:10 2010 +0800 @@ -24,7 +24,10 @@ 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) + mouse.c shape_image.c $(MBAF_SOURCES) + +BUILT_SOURCES = precomputed.c precomputed.h +CLEANFILES = precomputed.c precomputed.h libmbfly_la_CPPFLAGS = libmbfly_la_LDFLAGS =