Mercurial > MadButterfly
annotate examples/calculator/Makefile.am @ 1005:714169f33f13 refine_backend_if
Fix X_init_connection() to match modification of mb_backend_t
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Nov 2010 00:42:30 +0800 |
parents | 6d4b8c4051ff |
children | 7b4e80ab671a |
rev | line source |
---|---|
185
c7e5b8779bb5
Move header files into include/mb/ subdirectory and remove symlink 'mb'.
Thinker K.F. Li <thinker@branda.to>
parents:
180
diff
changeset
|
1 include $(top_srcdir)/config.mk |
c7e5b8779bb5
Move header files into include/mb/ subdirectory and remove symlink 'mb'.
Thinker K.F. Li <thinker@branda.to>
parents:
180
diff
changeset
|
2 |
178 | 3 noinst_PROGRAMS = calc |
4 EXTRA_DIST = calculator_scr.svg | |
5 | |
6 calc_SOURCES = main.c | |
7 nodist_calc_SOURCES = calculator_scr.c calculator_scr.h | |
927
6d4b8c4051ff
Depend on cairo or pangocairo according enabling of sh_text
Thinker K.F. Li <thinker@codemud.net>
parents:
921
diff
changeset
|
8 calc_CPPFLAGS = $(APPCFLAGS) $(INCLUDES) |
6d4b8c4051ff
Depend on cairo or pangocairo according enabling of sh_text
Thinker K.F. Li <thinker@codemud.net>
parents:
921
diff
changeset
|
9 calc_LDFLAGS = $(APPLDFLAGS) |
178 | 10 calc_LDADD = $(top_builddir)/src/libmbfly.la |
11 BUILT_SOURCES = calculator_scr.c calculator_scr.h calculator_scr.mb | |
12 CLEANFILES = calculator_scr.c calculator_scr.h calculator_scr.mb | |
13 | |
14 calculator_scr.mb: $(srcdir)/calculator_scr.svg | |
432
331467b8e778
Make calcuator uses stext instead of text.
Thinker K.F. Li <thinker@branda.to>
parents:
278
diff
changeset
|
15 $(top_srcdir)/tools/svg2code.py -s $? $@ |
178 | 16 |
17 calculator_scr.h: calculator_scr.mb | |
18 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ | |
19 | |
20 calculator_scr.c: calculator_scr.mb | |
21 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |