Mercurial > MadButterfly
annotate src/Makefile.am @ 175:67e13d694230
Fix bug of src/Makefile.am & examples accept PREFIX variable.
- src/Makefile.am install header files into $(prefix)/include/mb instead of
$(prefix)/include original.
- examples find headers, M4 macro files, and tools with PREFIX varaible.
- default value of PREFIX is /usr/local.
- user can change PREFIX with paramter of make command, for example
'make PREFIX=../../build/dest', if MadButterfly was installed there.
- Users can install MadButterfly in their specified directory, for example,
'./configure --prefix=${PWD}/dest', the binary will installed in dest/.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 31 Oct 2008 15:15:44 +0800 |
parents | 7ca25f18902f |
children | d0646a6df46f |
rev | line source |
---|---|
175
67e13d694230
Fix bug of src/Makefile.am & examples accept PREFIX variable.
Thinker K.F. Li <thinker@branda.to>
parents:
169
diff
changeset
|
1 includedir = $(prefix)/include/mb |
169 | 2 include_HEADERS = animate.h mb.h mb_timer.h mb_types.h observer.h paint.h redraw_man.h shapes.h tools.h X_supp.h |
3 | |
4 lib_LTLIBRARIES = libmbfly.la | |
5 | |
6 bin_PROGRAMS = X_main | |
7 | |
8 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 shape_text.c shift.c timer.c timertool.c tools.c visibility.c X_supp.c | |
9 libmbfly_la_CPPFLAGS = @cairo_CFLAGS@ | |
10 libmbfly_la_LDFLAGS = @cairo_LIBS@ | |
11 | |
12 X_main_SOURCES = X_main.c | |
13 X_main_LDADD = $(top_builddir)/src/libmbfly.la | |
14 X_main_CPPFLAGS = @cairo_CFLAGS@ -I$(top_builddir)/src | |
15 X_main_LDFLAGS = @cairo_LIBS@ |