Mercurial > MadButterfly
annotate examples/menu/Makefile.am @ 314:6c350fc92ae3
Cache rednering result is now workable.
- Know issues
- For unknow issue, CAIRO_OPERATOR_CLEAR will not be limited by clipping.
Image will be cleaned in a strange way. Maybe, it is a bug of Cairo.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 05 Mar 2009 00:54:42 +0800 |
parents | 9e1d72eca57b |
children | 535731374dfb |
rev | line source |
---|---|
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
1 include $(top_srcdir)/config.mk |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
2 |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
3 #SUFFIXES=.svg .so |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
4 |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
5 list.so:list.svg |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
6 $(top_srcdir)/tools/svg2code.py $< $<.mb |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
7 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
8 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
9 $(MAKE) $(<:.svg=.o) |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
10 $(CC) -shared -o $@ $(<:.svg=.o) |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
11 |
308 | 12 browser.so:browser.svg |
13 $(top_srcdir)/tools/svg2code.py $< $<.mb | |
14 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) | |
15 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) | |
16 $(MAKE) $(<:.svg=.o) | |
17 $(CC) -shared -o $@ $(<:.svg=.o) | |
18 | |
19 noinst_PROGRAMS = menu filebrowser list.so browser.so | |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
20 EXTRA_DIST = |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
21 |
308 | 22 menu_SOURCES = main.c animated_menu.c animated_menu.h |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
23 nodist_dynamic_SOURCES = |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
24 CFLAGS = @pangocairo_CFLAGS@ |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
25 menu_CFLAGS = @pangocairo_CFLAGS@ |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
26 menu_LDFLAGS = @pangocairo_LIBS@ |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
27 menu_LDADD = $(top_builddir)/src/libmbfly.la |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
28 CLEANFILES = menu.mb menu.c menu.h |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
29 |
308 | 30 filebrowser_SOURCES = filebrowser.c animated_menu.c animated_menu.h |
31 filebrowser_CFLAGS = @pangocairo_CFLAGS@ | |
32 filebrowser_LDFLAGS = @pangocairo_LIBS@ | |
33 filebrowser_LDADD = $(top_builddir)/src/libmbfly.la |