diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/menu/Makefile.am	Sun Feb 01 16:28:28 2009 +0800
@@ -0,0 +1,22 @@
+include $(top_srcdir)/config.mk
+
+#SUFFIXES=.svg .so
+
+list.so:list.svg
+	$(top_srcdir)/tools/svg2code.py $< $<.mb
+	m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c)
+	m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h)
+	$(MAKE) $(<:.svg=.o)
+	$(CC) -shared -o $@ $(<:.svg=.o)
+
+noinst_PROGRAMS = menu
+EXTRA_DIST = 
+
+menu_SOURCES = main.c
+nodist_dynamic_SOURCES = 
+CFLAGS = @pangocairo_CFLAGS@ 
+menu_CFLAGS = @pangocairo_CFLAGS@ 
+menu_LDFLAGS = @pangocairo_LIBS@ 
+menu_LDADD = $(top_builddir)/src/libmbfly.la
+CLEANFILES = menu.mb menu.c menu.h
+