Mercurial > MadButterfly
annotate nodejs/Makefile.am @ 728:a843f147c995
Add Y coordiante in the linear animation.
author | wycc |
---|---|
date | Tue, 17 Aug 2010 08:31:24 +0800 |
parents | 7e64e0f70cb6 |
children | dfa8b69e4423 |
rev | line source |
---|---|
544
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
1 |
575
97159102f886
Function of query font face in Javascript
Thinker K.F. Li <thinker@branda.to>
parents:
567
diff
changeset
|
2 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
|
3 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
|
4 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
|
5 -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
|
6 -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
|
7 @pangocairo_CFLAGS@ $(CFLAGS) |
694
7e64e0f70cb6
Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents:
693
diff
changeset
|
8 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
|
9 |
7e64e0f70cb6
Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents:
693
diff
changeset
|
10 if XSHM |
7e64e0f70cb6
Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents:
693
diff
changeset
|
11 mbfly_node_LDFLAGS += -lXext |
7e64e0f70cb6
Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents:
693
diff
changeset
|
12 endif |
544
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
13 |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
14 all: mbfly.node |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
15 clean: clean-mbfly-node |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
16 |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
17 mbfly.node: wscript $(mbfly_node_SRCS) |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
18 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
|
19 CFLAGS="$(mbfly_node_CFLAGS)" \ |
557
0ca8437a91fa
Implement Indexed Property interceptors
Thinker K.F. Li <thinker@branda.to>
parents:
556
diff
changeset
|
20 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
|
21 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
|
22 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
|
23 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
|
24 $(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
|
25 --blddir=$(abs_builddir)/objs |
544
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
26 |
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
27 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
|
28 cd $(srcdir); \ |
642
4f7b4ff31c0c
Fix the issue that can not clean nodejs addon
Thinker K.F. Li <thinker@branda.to>
parents:
577
diff
changeset
|
29 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
|
30 $(NODE_WAF) clean |