annotate src/Makefile.am @ 408:7f7855df2af0

Make unittest built by automake and autoconf. ./configure --enable-testcase to build testcase.
author Thinker K.F. Li <thinker@branda.to>
date Tue, 07 Jul 2009 22:46:19 +0800
parents 44b8223f307c
children 1a923ea699c1
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
408
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
5 noinst_PROGRAMS = X_main $(TESTCASE)
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
6
368
080aca2b7c47 Move the animated menu to the MBAF layer
wycc
parents: 303
diff changeset
7 MBAF_SOURCES=mbaf/mbapp.c mbaf/mbbutton.c mbaf/mbobject.c mbaf/animated_menu.c
194
45d9a1e2764d Add mb_subtree_free animate action and fix bugs.
Thinker K.F. Li <thinker@branda.to>
parents: 185
diff changeset
8 libmbfly_la_SOURCES = animate.c chgcolor.c coord.c event.c geo.c \
45d9a1e2764d Add mb_subtree_free animate action and fix bugs.
Thinker K.F. Li <thinker@branda.to>
parents: 185
diff changeset
9 observer.c paint.c redraw_man.c rotate.c shape_path.c \
45d9a1e2764d Add mb_subtree_free animate action and fix bugs.
Thinker K.F. Li <thinker@branda.to>
parents: 185
diff changeset
10 shape_rect.c shape_text.c shift.c subtree_free.c timer.c \
231
2637519e2bd7 Move mouse event handler and interpreter to src/mouse.c.
Thinker K.F. Li <thinker@branda.to>
parents: 227
diff changeset
11 timertool.c tools.c visibility.c X_supp.c prop.c sprite.c \
294
2ca0773cd48d * Add MBAF files
wycc
parents: 280
diff changeset
12 mouse.c shape_image.c img_ldr.c $(MBAF_SOURCES)
280
c8b6ca46950b Add merged result
wycc
parents: 278 257
diff changeset
13
375
44b8223f307c Rename MIN/MAX to MB_MIN/MB_MAX.
Thinker K.F. Li <thinker@branda.to>
parents: 368
diff changeset
14 libmbfly_la_CPPFLAGS = @cairo_CFLAGS@ @pangocairo_CFLAGS@
44b8223f307c Rename MIN/MAX to MB_MIN/MB_MAX.
Thinker K.F. Li <thinker@branda.to>
parents: 368
diff changeset
15 libmbfly_la_LDFLAGS = @cairo_LIBS@ @pangocairo_LIBS@
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
16
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
17 X_main_SOURCES = X_main.c
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
18 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
19 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
20 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
21
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
22 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
23 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
24 -DUNITTEST -g @cairo_CFLAGS@ \
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
25 @pangocairo_CFLAGS@
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
26 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
27
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 375
diff changeset
28 EXTRA_PROGRAMS = testcase