Mercurial > MadButterfly
annotate examples/menu/Makefile.am @ 368:080aca2b7c47
Move the animated menu to the MBAF layer
author | wycc |
---|---|
date | Mon, 16 Mar 2009 08:45:54 +0800 |
parents | 3e84458968ec |
children | 674717c2c3ee |
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 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
5 list.so: list.o |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
6 $(CC) $(CFLAGS) -I ../../include -shared -o $@ $< |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
7 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
8 list.o: list.h |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
9 |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
10 list.mb: $(srcdir)/list.svg |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
11 $(top_srcdir)/tools/svg2code.py $< $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
12 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
13 list.c: list.mb |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
14 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
|
15 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
16 list.h: list.mb |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
17 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
|
18 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
19 browser.so: browser.o |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
20 $(CC) $(CFLAGS) -I../../include -I ../../include -shared -o $@ $< |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
21 |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
22 browser.o: browser.h |
308 | 23 |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
24 browser.h: browser.mb |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
25 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
|
26 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
27 browser.c: browser.mb |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
28 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
|
29 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
|
30 $(top_srcdir)/tools/svg2code.py $< $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
31 |
308 | 32 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
|
33 EXTRA_DIST = |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
34 |
368 | 35 menu_SOURCES = main.c |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
36 nodist_menu_SOURCES = |
344 | 37 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
|
38 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
|
39 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
|
40 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
|
41 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
|
42 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
|
43 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
|
44 |
368 | 45 filebrowser_SOURCES = filebrowser.c |
308 | 46 filebrowser_CFLAGS = @pangocairo_CFLAGS@ |
47 filebrowser_LDFLAGS = @pangocairo_LIBS@ | |
48 filebrowser_LDADD = $(top_builddir)/src/libmbfly.la |