Mercurial > MadButterfly
comparison nodejs/Makefile.am @ 1067:7b4e80ab671a openvg
merge from default branch
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 01 Dec 2010 12:25:56 +0800 |
parents | 60e7e666a573 |
children | cdd573c85ad8 |
comparison
equal
deleted
inserted
replaced
630:bd18951b51d5 | 1067:7b4e80ab671a |
---|---|
1 # -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*- | |
2 # vim: sw=4:ts=8:sts=4 | |
1 | 3 |
2 mbfly_node_SRCS = mbfly_njs.cc X_supp_njs.c coord.cc shapes.cc paints.cc \ | 4 mbfly_node_SRCS = mbfly_njs.cc njs_mb_supp.c coord.cc shapes.cc paints.cc \ |
3 font.cc | 5 font.cc |
4 mbfly_node_CFLAGS= -I$(abs_top_builddir)/include \ | 6 mbfly_node_CFLAGS= -I$(abs_top_builddir)/include \ |
5 -I$(abs_top_srcdir)/include \ | 7 -I$(abs_top_srcdir)/include \ |
6 -I$(prefix)/include \ | 8 -I$(prefix)/include \ |
7 @pangocairo_CFLAGS@ $(CFLAGS) | 9 @pangocairo_CFLAGS@ $(CFLAGS) |
8 mbfly_node_LDFLAGS = -L$(abs_top_builddir)/src/.libs @pangocairo_LIBS@ | 10 mbfly_node_LDFLAGS = -L$(abs_top_builddir)/src/.libs @pangocairo_LIBS@ |
11 | |
12 if XSHM | |
13 mbfly_node_LDFLAGS += -lXext | |
14 endif | |
9 | 15 |
10 all: mbfly.node | 16 all: mbfly.node |
11 clean: clean-mbfly-node | 17 clean: clean-mbfly-node |
12 | 18 |
13 mbfly.node: wscript $(mbfly_node_SRCS) | 19 mbfly.node: wscript $(mbfly_node_SRCS) |
15 CFLAGS="$(mbfly_node_CFLAGS)" \ | 21 CFLAGS="$(mbfly_node_CFLAGS)" \ |
16 CXXFLAGS="$(mbfly_node_CFLAGS)" \ | 22 CXXFLAGS="$(mbfly_node_CFLAGS)" \ |
17 LDFLAGS="$(mbfly_node_LDFLAGS)" \ | 23 LDFLAGS="$(mbfly_node_LDFLAGS)" \ |
18 TOP_BUILDDIR="$(abs_top_builddir)" \ | 24 TOP_BUILDDIR="$(abs_top_builddir)" \ |
19 WAFLOCK=$(abs_builddir)/objs/.lock-wscript \ | 25 WAFLOCK=$(abs_builddir)/objs/.lock-wscript \ |
20 $(NODE_WAF) configure build --blddir=$(abs_builddir)/objs | 26 $(NODE_WAF) configure build --srcdir=$(abs_srcdir) \ |
27 --blddir=$(abs_builddir)/objs | |
21 | 28 |
22 clean-mbfly-node: | 29 clean-mbfly-node: |
23 cd $(srcdir); \ | 30 -cd $(srcdir); \ |
24 WAFLOCK=$(abs_builddir)/.lock-wscript \ | 31 WAFLOCK=$(abs_builddir)/objs/.lock-wscript \ |
25 $(NODE_WAF) clean | 32 $(NODE_WAF) clean |