Mercurial > MadButterfly
annotate examples/menu/Makefile.am @ 344:ab7f3c00fd05
Implement PMNG viewer
author | wycc |
---|---|
date | Sun, 08 Mar 2009 11:46:09 +0800 |
parents | 85951268ee0f |
children | 3e84458968ec |
rev | line source |
---|---|
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
1 include $(top_srcdir)/config.mk |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
2 |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
3 #SUFFIXES=.svg .so |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
4 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
5 list.so: list.o |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
6 $(CC) $(CFLAGS) -I ../../include -shared -o $@ $< |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
7 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
8 list.o: list.h |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
9 |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
10 list.mb: $(srcdir)/list.svg |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
11 $(top_srcdir)/tools/svg2code.py $< $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
12 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
13 list.c: list.mb |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
14 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
15 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
16 list.h: list.mb |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
17 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
18 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
19 browser.so: browser.o |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
20 $(CC) $(CFLAGS) -I../../include -I ../../include -shared -o $@ $< |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
21 |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
22 browser.o: browser.h |
308 | 23 |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
24 browser.h: browser.mb |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
25 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
26 |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
27 browser.c: browser.mb |
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
28 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
29 browser.mb: $(srcdir)/browser.svg |
326
85951268ee0f
Fix bug in makefile for examples/menu
Thinker K.F. Li <thinker@branda.to>
parents:
320
diff
changeset
|
30 $(top_srcdir)/tools/svg2code.py $< $@ |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
31 |
308 | 32 noinst_PROGRAMS = menu filebrowser list.so browser.so |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
33 EXTRA_DIST = |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
34 |
308 | 35 menu_SOURCES = main.c animated_menu.c animated_menu.h |
316
535731374dfb
More elegant dependency
Thinker K.F. Li <thinker@branda.to>
parents:
308
diff
changeset
|
36 nodist_menu_SOURCES = |
344 | 37 CFLAGS = @pangocairo_CFLAGS@ -g |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
38 menu_CFLAGS = @pangocairo_CFLAGS@ |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
39 menu_LDFLAGS = @pangocairo_LIBS@ |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
40 menu_LDADD = $(top_builddir)/src/libmbfly.la |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
41 CLEANFILES = menu.mb menu.c menu.h |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
diff
changeset
|
42 |
308 | 43 filebrowser_SOURCES = filebrowser.c animated_menu.c animated_menu.h |
44 filebrowser_CFLAGS = @pangocairo_CFLAGS@ | |
45 filebrowser_LDFLAGS = @pangocairo_LIBS@ | |
46 filebrowser_LDADD = $(top_builddir)/src/libmbfly.la |