annotate examples/menu/Makefile.am @ 356:3e84458968ec

Move mb_img_data_t out from argument list of rdman_shape_image_new(). - Application should specify content of sh_image_t by fill the shape with a paint_image_t.
author Thinker K.F. Li <thinker@branda.to>
date Mon, 09 Mar 2009 23:05:57 +0800
parents ab7f3c00fd05
children 080aca2b7c47
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
9e1d72eca57b Seperate mb_animated_menu from the demo program
wycc
parents: 296
diff changeset
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
9e1d72eca57b Seperate mb_animated_menu from the demo program
wycc
parents: 296
diff changeset
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
308
9e1d72eca57b Seperate mb_animated_menu from the demo program
wycc
parents: 296
diff changeset
35 menu_SOURCES = main.c animated_menu.c animated_menu.h
316
535731374dfb More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents: 308
diff changeset
36 nodist_menu_SOURCES =
344
ab7f3c00fd05 Implement PMNG viewer
wycc
parents: 326
diff changeset
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
308
9e1d72eca57b Seperate mb_animated_menu from the demo program
wycc
parents: 296
diff changeset
45 filebrowser_SOURCES = filebrowser.c animated_menu.c animated_menu.h
9e1d72eca57b Seperate mb_animated_menu from the demo program
wycc
parents: 296
diff changeset
46 filebrowser_CFLAGS = @pangocairo_CFLAGS@
9e1d72eca57b Seperate mb_animated_menu from the demo program
wycc
parents: 296
diff changeset
47 filebrowser_LDFLAGS = @pangocairo_LIBS@
9e1d72eca57b Seperate mb_animated_menu from the demo program
wycc
parents: 296
diff changeset
48 filebrowser_LDADD = $(top_builddir)/src/libmbfly.la