annotate nodejs/Makefile.am @ 556:c9d23f7279a4 Android_Skia

The first testcase that nodejs code can show a MadButterfly window. This testcase call MadButterfly from Javascript with nodejs framework. The testcase show a MadButterfly window in X.
author Thinker K.F. Li <thinker@branda.to>
date Sun, 06 Jun 2010 19:13:21 +0800
parents 371690a166df
children 0ca8437a91fa
rev   line source
544
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
1
547
371690a166df Remove hello.c and initial plugin at mbfly_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents: 546
diff changeset
2 mbfly_node_SRCS = mbfly_njs.cc X_supp_njs.c
556
c9d23f7279a4 The first testcase that nodejs code can show a MadButterfly window.
Thinker K.F. Li <thinker@branda.to>
parents: 547
diff changeset
3 mbfly_node_CFLAGS= -I$(abs_top_builddir)/include \
c9d23f7279a4 The first testcase that nodejs code can show a MadButterfly window.
Thinker K.F. Li <thinker@branda.to>
parents: 547
diff changeset
4 -I$(abs_top_srcdir)/include \
c9d23f7279a4 The first testcase that nodejs code can show a MadButterfly window.
Thinker K.F. Li <thinker@branda.to>
parents: 547
diff changeset
5 -I$(prefix)/include \
546
249bcbf07eb0 Reuse and adapt X_supp.c by implmeneting X_supp_njs.c
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
6 @pangocairo_CFLAGS@ $(CFLAGS)
556
c9d23f7279a4 The first testcase that nodejs code can show a MadButterfly window.
Thinker K.F. Li <thinker@branda.to>
parents: 547
diff changeset
7 mbfly_node_LDFLAGS = -L$(abs_top_builddir)/src/.libs @pangocairo_LIBS@
544
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
8
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
9 all: mbfly.node
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
10 clean: clean-mbfly-node
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
11
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
12 mbfly.node: wscript $(mbfly_node_SRCS)
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
13 cd $(srcdir); \
546
249bcbf07eb0 Reuse and adapt X_supp.c by implmeneting X_supp_njs.c
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
14 CFLAGS="$(mbfly_node_CFLAGS)" \
556
c9d23f7279a4 The first testcase that nodejs code can show a MadButterfly window.
Thinker K.F. Li <thinker@branda.to>
parents: 547
diff changeset
15 LDFLAGS="$(mbfly_node_LDFLAGS)" \
c9d23f7279a4 The first testcase that nodejs code can show a MadButterfly window.
Thinker K.F. Li <thinker@branda.to>
parents: 547
diff changeset
16 TOP_BUILDDIR="$(abs_top_builddir)" \
546
249bcbf07eb0 Reuse and adapt X_supp.c by implmeneting X_supp_njs.c
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
17 WAFLOCK=$(abs_builddir)/.lock-wscript \
249bcbf07eb0 Reuse and adapt X_supp.c by implmeneting X_supp_njs.c
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
18 $(NODE_WAF) configure build --blddir=$(abs_builddir)
544
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
19
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
20 clean-mbfly-node:
546
249bcbf07eb0 Reuse and adapt X_supp.c by implmeneting X_supp_njs.c
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
21 cd $(srcdir); \
249bcbf07eb0 Reuse and adapt X_supp.c by implmeneting X_supp_njs.c
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
22 WAFLOCK=$(abs_builddir)/.lock-wscript \
249bcbf07eb0 Reuse and adapt X_supp.c by implmeneting X_supp_njs.c
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
23 $(NODE_WAF) clean