Mercurial > MadButterfly
annotate examples/dynamic/Makefile.am @ 267:cac3f084a9b1
Fix bug in document
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 24 Jan 2009 15:23:42 +0800 |
parents | f24129d4f0f9 |
children | c8b6ca46950b |
rev | line source |
---|---|
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
1 include $(top_srcdir)/config.mk |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
2 |
247 | 3 noinst_PROGRAMS = dynamic hello button.so scene.so |
258
f24129d4f0f9
Files generated by tools should not part of EXTRA_DIST.
Thinker K.F. Li <thinker@branda.to>
parents:
256
diff
changeset
|
4 EXTRA_DIST = menu.svg button.svg scene.svg |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
5 |
247 | 6 dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h |
258
f24129d4f0f9
Files generated by tools should not part of EXTRA_DIST.
Thinker K.F. Li <thinker@branda.to>
parents:
256
diff
changeset
|
7 nodist_dynamic_SOURCES = \ |
f24129d4f0f9
Files generated by tools should not part of EXTRA_DIST.
Thinker K.F. Li <thinker@branda.to>
parents:
256
diff
changeset
|
8 menu.c menu.h menu.mb \ |
f24129d4f0f9
Files generated by tools should not part of EXTRA_DIST.
Thinker K.F. Li <thinker@branda.to>
parents:
256
diff
changeset
|
9 button.c button.h button.mb \ |
f24129d4f0f9
Files generated by tools should not part of EXTRA_DIST.
Thinker K.F. Li <thinker@branda.to>
parents:
256
diff
changeset
|
10 scene.c scene.h scene.mb |
231
2637519e2bd7
Move mouse event handler and interpreter to src/mouse.c.
Thinker K.F. Li <thinker@branda.to>
parents:
230
diff
changeset
|
11 CPPFLAGS = @cairo_CFLAGS@ $(INCLUDES) |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
12 dynamic_LDFLAGS = @cairo_LIBS@ |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
13 dynamic_LDADD = $(top_builddir)/src/libmbfly.la |
207
fd3e311e7e5d
Remove files that would be generated automatically.
Thinker K.F. Li <thinker@branda.to>
parents:
201
diff
changeset
|
14 BUILT_SOURCES = menu.c menu.h menu.mb button.c button.h button.mb |
fd3e311e7e5d
Remove files that would be generated automatically.
Thinker K.F. Li <thinker@branda.to>
parents:
201
diff
changeset
|
15 CLEANFILES = menu.c menu.h menu.mb button.c button.h button.mb |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
16 |
247 | 17 |
18 hello_SOURCES = hello.c mbapp.c mbapp.h | |
19 hello_LDFLAGS = @cairo_LIBS@ | |
20 hello_LDADD = $(top_builddir)/src/libmbfly.la | |
21 | |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
22 menu.mb: $(srcdir)/menu.svg |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
23 $(top_srcdir)/tools/svg2code.py $? $@ |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
24 |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
25 menu.h: menu.mb |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
26 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
27 |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
28 menu.c: menu.mb |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
29 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
30 |
255
96ca1357ebc4
Setup dependency between object file and header file in AM file.
Thinker K.F. Li <thinker@branda.to>
parents:
247
diff
changeset
|
31 button.so: button.o |
229 | 32 gcc -shared -o button.so button.o |
33 | |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
34 button.mb: $(srcdir)/button.svg |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
35 $(top_srcdir)/tools/svg2code.py $? $@ |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
36 |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
37 button.h: button.mb |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
38 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
39 |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
40 button.c: button.mb |
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
diff
changeset
|
41 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |
242
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
42 |
255
96ca1357ebc4
Setup dependency between object file and header file in AM file.
Thinker K.F. Li <thinker@branda.to>
parents:
247
diff
changeset
|
43 button.o: button.h |
96ca1357ebc4
Setup dependency between object file and header file in AM file.
Thinker K.F. Li <thinker@branda.to>
parents:
247
diff
changeset
|
44 |
96ca1357ebc4
Setup dependency between object file and header file in AM file.
Thinker K.F. Li <thinker@branda.to>
parents:
247
diff
changeset
|
45 scene.so: scene.o |
242
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
46 gcc -shared -o scene.so scene.o |
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
47 |
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
48 scene.mb: $(srcdir)/scene.svg |
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
49 $(top_srcdir)/tools/svg2code.py $? $@ |
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
50 |
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
51 scene.h: scene.mb |
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
52 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ |
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
53 |
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
54 scene.c: scene.mb |
d3fe0a0f3a8b
Implement MBApp API and modify the dynamic example to use this API.
wycc
parents:
231
diff
changeset
|
55 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |
255
96ca1357ebc4
Setup dependency between object file and header file in AM file.
Thinker K.F. Li <thinker@branda.to>
parents:
247
diff
changeset
|
56 |
96ca1357ebc4
Setup dependency between object file and header file in AM file.
Thinker K.F. Li <thinker@branda.to>
parents:
247
diff
changeset
|
57 scene.o: scene.h |