diff nodejs/Makefile.am @ 546:249bcbf07eb0 Android_Skia

Reuse and adapt X_supp.c by implmeneting X_supp_njs.c
author Thinker K.F. Li <thinker@branda.to>
date Sat, 05 Jun 2010 22:24:04 +0800
parents 16f4f8305c8f
children 371690a166df
line wrap: on
line diff
--- a/nodejs/Makefile.am	Sat Jun 05 22:23:57 2010 +0800
+++ b/nodejs/Makefile.am	Sat Jun 05 22:24:04 2010 +0800
@@ -1,13 +1,18 @@
 
 mbfly_node_SRCS = hello.cc
+mbfly_node_CFLAGS= -I$(abs_top_srcdir)/include -I$(prefix)/include \
+	@pangocairo_CFLAGS@ $(CFLAGS)
 
 all: mbfly.node
 clean: clean-mbfly-node
 
 mbfly.node: wscript $(mbfly_node_SRCS)
 	cd $(srcdir); \
-	WAFLOCK=$(abs_builddir)/.lock-wscript $(NODE_WAF) \
-		configure build --blddir=$(abs_builddir)
+	CFLAGS="$(mbfly_node_CFLAGS)" \
+		WAFLOCK=$(abs_builddir)/.lock-wscript \
+		$(NODE_WAF) configure build --blddir=$(abs_builddir)
 
 clean-mbfly-node:
-	$(NODE_WAF) clean
+	cd $(srcdir); \
+	WAFLOCK=$(abs_builddir)/.lock-wscript \
+		$(NODE_WAF) clean