Commit 3a42e9d8 authored by Adrien Béraud's avatar Adrien Béraud

nodejs: build module after generating bindings

Change-Id: I2170cffef8a14578a61aa81f1ac62928f3fd3662
parent b8366ceb
include $(top_srcdir)/globals.mk
BUILT_SOURCES= \
ring_wrapper.cpp
BUILT_SOURCES= \
ring_wrapper.cpp \
build/Makefile \
build/Release/obj.target/dring.node
ring_wrapper.cpp: jni_interface.i configurationmanager.i managerimpl.i
$(SWIG) -v -c++ -javascript -node -o ring_wrapper.cpp jni_interface.i
build/Makefile: ring_wrapper.cpp binding.gyp
node-gyp configure
build/Release/obj.target/dring.node: build/Makefile ring_wrapper.cpp
node-gyp build
CLEANFILES= \
$(BUILT_SOURCES)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment