comparison examples/dynamic/Makefile.am @ 247:d9a78c859660

Seperate the frameowrk codes from the main.c. Write a simpler MBAF demo hello program.
author wycc
date Thu, 01 Jan 2009 08:32:03 +0800
parents 4df1b766bbf5
children 96ca1357ebc4 5006e4abdda5
comparison
equal deleted inserted replaced
246:4df1b766bbf5 247:d9a78c859660
1 include $(top_srcdir)/config.mk 1 include $(top_srcdir)/config.mk
2 2
3 noinst_PROGRAMS = dynamic button.so scene.so 3 noinst_PROGRAMS = dynamic hello button.so scene.so
4 EXTRA_DIST = menu.svg button.svg 4 EXTRA_DIST = menu.svg button.svg
5 5
6 dynamic_SOURCES = main.c 6 dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h
7 nodist_dynamic_SOURCES = menu.c menu.h menu.mb 7 nodist_dynamic_SOURCES = menu.c menu.h menu.mb
8 CPPFLAGS = @cairo_CFLAGS@ $(INCLUDES) 8 CPPFLAGS = @cairo_CFLAGS@ $(INCLUDES)
9 dynamic_LDFLAGS = @cairo_LIBS@ 9 dynamic_LDFLAGS = @cairo_LIBS@
10 dynamic_LDADD = $(top_builddir)/src/libmbfly.la 10 dynamic_LDADD = $(top_builddir)/src/libmbfly.la
11 BUILT_SOURCES = menu.c menu.h menu.mb button.c button.h button.mb 11 BUILT_SOURCES = menu.c menu.h menu.mb button.c button.h button.mb
12 CLEANFILES = menu.c menu.h menu.mb button.c button.h button.mb 12 CLEANFILES = menu.c menu.h menu.mb button.c button.h button.mb
13
14
15 hello_SOURCES = hello.c mbapp.c mbapp.h
16 hello_LDFLAGS = @cairo_LIBS@
17 hello_LDADD = $(top_builddir)/src/libmbfly.la
13 18
14 menu.mb: $(srcdir)/menu.svg 19 menu.mb: $(srcdir)/menu.svg
15 $(top_srcdir)/tools/svg2code.py $? $@ 20 $(top_srcdir)/tools/svg2code.py $? $@
16 21
17 menu.h: menu.mb 22 menu.h: menu.mb