Mercurial > MadButterfly
comparison src/Makefile.am @ 435:2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Since sh_text depends on pango, and we want a version of MadButterfly
without Pango (lite version), we make sh_text and sh_stext optional.
User can choice which one to enable.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 29 Jul 2009 20:22:36 +0800 |
parents | 1a923ea699c1 |
children | 271212f325b4 |
comparison
equal
deleted
inserted
replaced
434:b5c7670b524b | 435:2bdd4f5dd2ca |
---|---|
1 include $(top_srcdir)/config.mk | 1 include $(top_srcdir)/config.mk |
2 | 2 |
3 lib_LTLIBRARIES = libmbfly.la | 3 lib_LTLIBRARIES = libmbfly.la |
4 | 4 |
5 noinst_PROGRAMS = X_main $(TESTCASE) | 5 noinst_PROGRAMS = |
6 | |
7 if SH_TEXT | |
8 noinst_PROGRAMS += X_main | |
9 endif | |
10 | |
11 if TESTCASE | |
12 noinst_PROGRAMS += testcase | |
13 endif | |
6 | 14 |
7 MBAF_SOURCES=mbaf/mbapp.c mbaf/mbbutton.c mbaf/mbobject.c mbaf/animated_menu.c | 15 MBAF_SOURCES=mbaf/mbapp.c mbaf/mbbutton.c mbaf/mbobject.c mbaf/animated_menu.c |
8 libmbfly_la_SOURCES = animate.c chgcolor.c coord.c event.c geo.c \ | 16 libmbfly_la_SOURCES= animate.c chgcolor.c coord.c event.c geo.c \ |
9 observer.c paint.c redraw_man.c rotate.c shape_path.c \ | 17 observer.c paint.c redraw_man.c rotate.c shape_path.c \ |
10 shape_stext.c \ | 18 shape_rect.c shift.c subtree_free.c timer.c \ |
11 shape_rect.c shape_text.c shift.c subtree_free.c timer.c \ | |
12 timertool.c tools.c visibility.c X_supp.c prop.c sprite.c \ | 19 timertool.c tools.c visibility.c X_supp.c prop.c sprite.c \ |
13 mouse.c shape_image.c img_ldr.c $(MBAF_SOURCES) | 20 mouse.c shape_image.c img_ldr.c $(MBAF_SOURCES) |
21 | |
22 if SH_TEXT | |
23 libmbfly_la_SOURCES += shape_text.c | |
24 endif | |
25 | |
26 if SH_STEXT | |
27 libmbfly_la_SOURCES += shape_stext.c | |
28 endif | |
14 | 29 |
15 libmbfly_la_CPPFLAGS = @cairo_CFLAGS@ @pangocairo_CFLAGS@ | 30 libmbfly_la_CPPFLAGS = @cairo_CFLAGS@ @pangocairo_CFLAGS@ |
16 libmbfly_la_LDFLAGS = @cairo_LIBS@ @pangocairo_LIBS@ | 31 libmbfly_la_LDFLAGS = @cairo_LIBS@ @pangocairo_LIBS@ |
17 | 32 |
18 X_main_SOURCES = X_main.c | 33 X_main_SOURCES = X_main.c |