Mercurial > MadButterfly
annotate nodejs/Makefile.am @ 936:a9abcdac0ae5
Fix issue of moving lightbar of testsvg.js.
The lightbar does not move as expectation. It caused by compute
trasnforming matrix that transform saved points from the space when
saving points to current space. The transform matrix should not
include matric of the owner of saved points.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Fri, 12 Nov 2010 16:53:03 +0800 |
parents | 586e50f82c1f |
children | 60e7e666a573 |
rev | line source |
---|---|
822
586e50f82c1f
Unify coding style tag for emacs and vim.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents:
813
diff
changeset
|
1 # -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*- |
586e50f82c1f
Unify coding style tag for emacs and vim.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents:
813
diff
changeset
|
2 # vim: sw=4:ts=8:sts=4 |
544
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
3 |
575
97159102f886
Function of query font face in Javascript
Thinker K.F. Li <thinker@branda.to>
parents:
567
diff
changeset
|
4 mbfly_node_SRCS = mbfly_njs.cc X_supp_njs.c coord.cc shapes.cc paints.cc \ |
97159102f886
Function of query font face in Javascript
Thinker K.F. Li <thinker@branda.to>
parents:
567
diff
changeset
|
5 font.cc |
556
c9d23f7279a4
The first testcase that nodejs code can show a MadButterfly window.
Thinker K.F. Li <thinker@branda.to>
parents:
547
diff
changeset
|
6 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
|
7 -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
|
8 -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
|
9 @pangocairo_CFLAGS@ $(CFLAGS) |
694
7e64e0f70cb6
Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents:
693
diff
changeset
|
10 mbfly_node_LDFLAGS = -L$(abs_top_builddir)/src/.libs @pangocairo_LIBS@ |
7e64e0f70cb6
Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents:
693
diff
changeset
|
11 |
7e64e0f70cb6
Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents:
693
diff
changeset
|
12 if XSHM |
7e64e0f70cb6
Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents:
693
diff
changeset
|
13 mbfly_node_LDFLAGS += -lXext |
7e64e0f70cb6
Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents:
693
diff
changeset
|
14 endif |
544
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
15 |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
16 all: mbfly.node |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
17 clean: clean-mbfly-node |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
18 |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
19 mbfly.node: wscript $(mbfly_node_SRCS) |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
20 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
|
21 CFLAGS="$(mbfly_node_CFLAGS)" \ |
557
0ca8437a91fa
Implement Indexed Property interceptors
Thinker K.F. Li <thinker@branda.to>
parents:
556
diff
changeset
|
22 CXXFLAGS="$(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
|
23 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
|
24 TOP_BUILDDIR="$(abs_top_builddir)" \ |
577
d561b2415711
move built nodejs plugin to objs/ subdirectory
Thinker K.F. Li <thinker@branda.to>
parents:
575
diff
changeset
|
25 WAFLOCK=$(abs_builddir)/objs/.lock-wscript \ |
651
aa52883534fc
Code generated by generator can be built
Thinker K.F. Li <thinker@branda.to>
parents:
642
diff
changeset
|
26 $(NODE_WAF) configure build --srcdir=$(abs_srcdir) \ |
aa52883534fc
Code generated by generator can be built
Thinker K.F. Li <thinker@branda.to>
parents:
642
diff
changeset
|
27 --blddir=$(abs_builddir)/objs |
544
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
28 |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
29 clean-mbfly-node: |
813
dfa8b69e4423
Ignore error when cleaning nodejs module
Thinker K.F. Li <thinker@codemud.net>
parents:
694
diff
changeset
|
30 -cd $(srcdir); \ |
642
4f7b4ff31c0c
Fix the issue that can not clean nodejs addon
Thinker K.F. Li <thinker@branda.to>
parents:
577
diff
changeset
|
31 WAFLOCK=$(abs_builddir)/objs/.lock-wscript \ |
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
|
32 $(NODE_WAF) clean |