annotate examples/calculator/Makefile.am @ 1467:6927debad4ee

Fix issue and a simple testcase for FSM
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 18 Apr 2011 11:47:52 +0800
parents 7b4e80ab671a
children
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
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
3 noinst_PROGRAMS = calc
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
4 EXTRA_DIST = calculator_scr.svg
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
5
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
6 calc_SOURCES = main.c
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
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
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
10 calc_LDADD = $(top_builddir)/src/libmbfly.la
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
11 BUILT_SOURCES = calculator_scr.c calculator_scr.h calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
12 CLEANFILES = calculator_scr.c calculator_scr.h calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
13
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
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
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
16
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
17 calculator_scr.h: calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
18 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
19
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
20 calculator_scr.c: calculator_scr.mb
d0646a6df46f Autoolize examples.
sylee@eeepc
parents:
diff changeset
21 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@