comparison examples/menu/Makefile.am @ 296:2e97e8082d83

* Fix the symbol definition code which does not assume the id is the same as the mbname. * Add appleTV style list demo. We need to add animation latter. It is staic for now.
author wycc
date Sun, 01 Feb 2009 16:28:28 +0800
parents
children 9e1d72eca57b
comparison
equal deleted inserted replaced
295:2469f8d23658 296:2e97e8082d83
1 include $(top_srcdir)/config.mk
2
3 #SUFFIXES=.svg .so
4
5 list.so:list.svg
6 $(top_srcdir)/tools/svg2code.py $< $<.mb
7 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c)
8 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h)
9 $(MAKE) $(<:.svg=.o)
10 $(CC) -shared -o $@ $(<:.svg=.o)
11
12 noinst_PROGRAMS = menu
13 EXTRA_DIST =
14
15 menu_SOURCES = main.c
16 nodist_dynamic_SOURCES =
17 CFLAGS = @pangocairo_CFLAGS@
18 menu_CFLAGS = @pangocairo_CFLAGS@
19 menu_LDFLAGS = @pangocairo_LIBS@
20 menu_LDADD = $(top_builddir)/src/libmbfly.la
21 CLEANFILES = menu.mb menu.c menu.h
22