annotate nodejs/Makefile.am @ 1072:cf82361fe5b9 openvg

Disable _fill_and_check() for collision detection
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 01 Dec 2010 19:59:58 +0800
parents cdd573c85ad8
children 74f36875980d
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
1057
60e7e666a573 Rename filenames in Makefile for nsj_mb_supp.[ch]
Thinker K.F. Li <thinker@codemud.net>
parents: 822
diff changeset
4 mbfly_node_SRCS = mbfly_njs.cc njs_mb_supp.c coord.cc shapes.cc paints.cc \
575
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 \
1069
cdd573c85ad8 Add imlib2 flags for nodejs plugin
Thinker K.F. Li <thinker@codemud.net>
parents: 1057
diff changeset
9 @imlib2_CFLAGS@ \
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
10 @pangocairo_CFLAGS@ $(CFLAGS)
1069
cdd573c85ad8 Add imlib2 flags for nodejs plugin
Thinker K.F. Li <thinker@codemud.net>
parents: 1057
diff changeset
11 mbfly_node_LDFLAGS = -L$(abs_top_builddir)/src/.libs @pangocairo_LIBS@ \
cdd573c85ad8 Add imlib2 flags for nodejs plugin
Thinker K.F. Li <thinker@codemud.net>
parents: 1057
diff changeset
12 @imlib2_LIBS@
694
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 693
diff changeset
13
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 693
diff changeset
14 if XSHM
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 693
diff changeset
15 mbfly_node_LDFLAGS += -lXext
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 693
diff changeset
16 endif
544
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
17
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
18 all: mbfly.node
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
19 clean: clean-mbfly-node
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
20
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
21 mbfly.node: wscript $(mbfly_node_SRCS)
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
22 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
23 CFLAGS="$(mbfly_node_CFLAGS)" \
557
0ca8437a91fa Implement Indexed Property interceptors
Thinker K.F. Li <thinker@branda.to>
parents: 556
diff changeset
24 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
25 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
26 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
27 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
28 $(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
29 --blddir=$(abs_builddir)/objs
544
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
30
16f4f8305c8f Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 543
diff changeset
31 clean-mbfly-node:
813
dfa8b69e4423 Ignore error when cleaning nodejs module
Thinker K.F. Li <thinker@codemud.net>
parents: 694
diff changeset
32 -cd $(srcdir); \
642
4f7b4ff31c0c Fix the issue that can not clean nodejs addon
Thinker K.F. Li <thinker@branda.to>
parents: 577
diff changeset
33 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
34 $(NODE_WAF) clean