comparison examples/menu/Makefile.am @ 308:9e1d72eca57b

Seperate mb_animated_menu from the demo program
author wycc
date Sun, 22 Feb 2009 11:52:56 +0800
parents 2e97e8082d83
children 535731374dfb
comparison
equal deleted inserted replaced
307:b6891068109f 308:9e1d72eca57b
7 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) 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) 8 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h)
9 $(MAKE) $(<:.svg=.o) 9 $(MAKE) $(<:.svg=.o)
10 $(CC) -shared -o $@ $(<:.svg=.o) 10 $(CC) -shared -o $@ $(<:.svg=.o)
11 11
12 noinst_PROGRAMS = menu 12 browser.so:browser.svg
13 $(top_srcdir)/tools/svg2code.py $< $<.mb
14 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c)
15 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h)
16 $(MAKE) $(<:.svg=.o)
17 $(CC) -shared -o $@ $(<:.svg=.o)
18
19 noinst_PROGRAMS = menu filebrowser list.so browser.so
13 EXTRA_DIST = 20 EXTRA_DIST =
14 21
15 menu_SOURCES = main.c 22 menu_SOURCES = main.c animated_menu.c animated_menu.h
16 nodist_dynamic_SOURCES = 23 nodist_dynamic_SOURCES =
17 CFLAGS = @pangocairo_CFLAGS@ 24 CFLAGS = @pangocairo_CFLAGS@
18 menu_CFLAGS = @pangocairo_CFLAGS@ 25 menu_CFLAGS = @pangocairo_CFLAGS@
19 menu_LDFLAGS = @pangocairo_LIBS@ 26 menu_LDFLAGS = @pangocairo_LIBS@
20 menu_LDADD = $(top_builddir)/src/libmbfly.la 27 menu_LDADD = $(top_builddir)/src/libmbfly.la
21 CLEANFILES = menu.mb menu.c menu.h 28 CLEANFILES = menu.mb menu.c menu.h
22 29
30 filebrowser_SOURCES = filebrowser.c animated_menu.c animated_menu.h
31 filebrowser_CFLAGS = @pangocairo_CFLAGS@
32 filebrowser_LDFLAGS = @pangocairo_LIBS@
33 filebrowser_LDADD = $(top_builddir)/src/libmbfly.la