Mercurial > MadButterfly
annotate examples/menu/Makefile.am @ 1395:a768d74e5f49
Fix the svg:use. For a svg:use, it is a group which include the content it reference. It means that we can not tween it to its origin object directly. Instead, we need to ungroup it and then use the result matrix to generate the tweened transformation matrix. Therefore, we need to concate its matrix to the referenced object.
Ad center object when the bbox-x is not available.
author | wycc |
---|---|
date | Sat, 02 Apr 2011 05:36:36 +0800 |
parents | 674717c2c3ee |
children |
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 |
398 | 5 noinst_LTLIBRARIES = list.la browser.la |
6 list_la_SOURCES = list.c | |
7 list_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared | |
8 browser_la_SOURCES = browser.c | |
9 browser_la_LDFLAGS = -module -avoid-version -rpath /nowhere -shared | |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
10 |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
11 list.mb: $(srcdir)/list.svg |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
12 $(top_srcdir)/tools/svg2code.py $< $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
13 |
398 | 14 list.c: list.mb list.h |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
15 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
16 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
17 list.h: list.mb |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
18 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
19 |
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
20 browser.h: browser.mb |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
21 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
22 |
398 | 23 browser.c: browser.mb browser.h |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
24 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |
398 | 25 |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
26 browser.mb: $(srcdir)/browser.svg |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
27 $(top_srcdir)/tools/svg2code.py $< $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
28 |
398 | 29 noinst_PROGRAMS = menu filebrowser |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
30 EXTRA_DIST = |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
31 |
368 | 32 menu_SOURCES = main.c |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
33 nodist_menu_SOURCES = |
344 | 34 CFLAGS = @pangocairo_CFLAGS@ -g |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
35 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
|
36 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
|
37 menu_LDADD = $(top_builddir)/src/libmbfly.la |
356
3e84458968ec
Move mb_img_data_t out from argument list of rdman_shape_image_new().
Thinker K.F. Li <thinker@branda.to>
parents:
344
diff
changeset
|
38 CLEANFILES = menu.mb menu.c menu.h \ |
3e84458968ec
Move mb_img_data_t out from argument list of rdman_shape_image_new().
Thinker K.F. Li <thinker@branda.to>
parents:
344
diff
changeset
|
39 list.mb list.c list.h \ |
3e84458968ec
Move mb_img_data_t out from argument list of rdman_shape_image_new().
Thinker K.F. Li <thinker@branda.to>
parents:
344
diff
changeset
|
40 browser.mb browser.c browser.h |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
41 |
368 | 42 filebrowser_SOURCES = filebrowser.c |
308 | 43 filebrowser_CFLAGS = @pangocairo_CFLAGS@ |
44 filebrowser_LDFLAGS = @pangocairo_LIBS@ | |
45 filebrowser_LDADD = $(top_builddir)/src/libmbfly.la |