Mercurial > MadButterfly
annotate examples/drag/Makefile.am @ 1139:a2b068594412
Use pybind with new DOM API (at PYNode).
- MBScene.document is a PYDocument instead of PYSPDocument.
- MBScene.root is a PYNode isntead of PYSPItem.
- getNext() was replaced by next().
- attribute() was replaced by getAttribute().
- getID() was removed, use setAttribute() instead.
- MBScene.dom was removed, use MBScene.document.root() instead.
- MBScene.nodeToItem was removed, use PYNode.spitem instead.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 22 Dec 2010 13:27:37 +0800 |
parents | 6d4b8c4051ff |
children |
rev | line source |
---|---|
199 | 1 include $(top_srcdir)/config.mk |
2 | |
3 noinst_PROGRAMS = ex1 | |
4 EXTRA_DIST = menu.svg | |
5 | |
6 ex1_SOURCES = main.c | |
7 nodist_ex1_SOURCES = menu.c menu.h | |
927
6d4b8c4051ff
Depend on cairo or pangocairo according enabling of sh_text
Thinker K.F. Li <thinker@codemud.net>
parents:
926
diff
changeset
|
8 ex1_CPPFLAGS = $(APPCFLAGS) -I$(top_srcdir) |
6d4b8c4051ff
Depend on cairo or pangocairo according enabling of sh_text
Thinker K.F. Li <thinker@codemud.net>
parents:
926
diff
changeset
|
9 ex1_LDFLAGS = $(APPLDFLAGS) |
199 | 10 ex1_LDADD = $(top_builddir)/src/libmbfly.la |
11 BUILT_SOURCES = menu.c menu.h menu.mb | |
12 CLEANFILES = menu.c menu.h menu.mb | |
13 | |
14 menu.mb: $(srcdir)/menu.svg | |
15 $(top_srcdir)/tools/svg2code.py $? $@ | |
16 | |
17 menu.h: menu.mb | |
18 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ | |
19 | |
20 menu.c: menu.mb | |
21 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |