mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
nodejs: build module after generating bindings
Change-Id: I2170cffef8a14578a61aa81f1ac62928f3fd3662
This commit is contained in:
@ -1,10 +1,18 @@
|
||||
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)
|
||||
|
Reference in New Issue
Block a user