build: Silence language bindings building.
This commit is contained in:
parent
6223feeb8e
commit
f2a189f0a7
26
Makefile.am
26
Makefile.am
|
@ -400,7 +400,7 @@ library_include_HEADERS += \
|
||||||
pkgconfig_DATA += bindings/cxx/libsigrokxx.pc
|
pkgconfig_DATA += bindings/cxx/libsigrokxx.pc
|
||||||
|
|
||||||
bindings/cxx/libsigrok.xml: include/libsigrok/libsigrok.h
|
bindings/cxx/libsigrok.xml: include/libsigrok/libsigrok.h
|
||||||
gccxml $(CFLAGS) -DGLIB_DISABLE_DEPRECATION_WARNINGS $< -fxml=$@
|
$(AM_V_GEN)gccxml $(CFLAGS) -DGLIB_DISABLE_DEPRECATION_WARNINGS $< -fxml=$@
|
||||||
|
|
||||||
bindings/cxx/enums.cpp: bindings/cxx/enums.timestamp
|
bindings/cxx/enums.cpp: bindings/cxx/enums.timestamp
|
||||||
|
|
||||||
|
@ -408,8 +408,8 @@ bindings/cxx/include/libsigrok/enums.hpp: bindings/cxx/enums.timestamp
|
||||||
|
|
||||||
bindings/cxx/enums.timestamp: bindings/cxx/enums.py bindings/cxx/libsigrok.xml \
|
bindings/cxx/enums.timestamp: bindings/cxx/enums.py bindings/cxx/libsigrok.xml \
|
||||||
bindings/cxx/ConfigKey_methods.cpp bindings/cxx/QuantityFlag_methods.cpp
|
bindings/cxx/ConfigKey_methods.cpp bindings/cxx/QuantityFlag_methods.cpp
|
||||||
python $<
|
$(AM_V_GEN)python $<
|
||||||
touch $@
|
$(AM_V_at)touch $@
|
||||||
|
|
||||||
bindings/cxx/classes.lo: bindings/cxx/classes.cpp bindings/cxx/enums.cpp \
|
bindings/cxx/classes.lo: bindings/cxx/classes.cpp bindings/cxx/enums.cpp \
|
||||||
$(library_include_HEADERS)
|
$(library_include_HEADERS)
|
||||||
|
@ -432,16 +432,16 @@ python-build: $(PDIR)/timestamp
|
||||||
|
|
||||||
$(PDIR)/timestamp: bindings/cxx/libsigrokxx.la $(PDIR)/sigrok/core/classes.i \
|
$(PDIR)/timestamp: bindings/cxx/libsigrokxx.la $(PDIR)/sigrok/core/classes.i \
|
||||||
$(library_include_HEADERS)
|
$(library_include_HEADERS)
|
||||||
cd $(PDIR) && python setup.py clean --all
|
$(AM_V_at)cd $(PDIR) && python setup.py --quiet clean --all
|
||||||
cd $(PDIR) && python setup.py build
|
$(AM_V_GEN)cd $(PDIR) && python setup.py --quiet build
|
||||||
touch $(PDIR)/timestamp
|
$(AM_V_at)touch $(PDIR)/timestamp
|
||||||
|
|
||||||
python-install:
|
python-install:
|
||||||
cd $(PDIR) && python setup.py install --prefix $(prefix)
|
cd $(PDIR) && python setup.py --quiet install --prefix $(prefix)
|
||||||
|
|
||||||
python-clean:
|
python-clean:
|
||||||
cd $(PDIR) && python setup.py clean --all
|
$(AM_V_at)cd $(PDIR) && python setup.py --quiet clean --all
|
||||||
rm -f $(PDIR)/timestamp
|
$(AM_V_at)rm -f $(PDIR)/timestamp
|
||||||
|
|
||||||
BUILD_EXTRA += python-build
|
BUILD_EXTRA += python-build
|
||||||
INSTALL_EXTRA += python-install
|
INSTALL_EXTRA += python-install
|
||||||
|
@ -461,16 +461,16 @@ JJAR = $(JDIR)/sigrok-core.jar
|
||||||
java-build: $(JJAR) $(JLIB)
|
java-build: $(JJAR) $(JLIB)
|
||||||
|
|
||||||
$(JSRC): $(JINT) bindings/swig/classes.i $(library_include_HEADERS)
|
$(JSRC): $(JINT) bindings/swig/classes.i $(library_include_HEADERS)
|
||||||
swig -c++ -java -package org.sigrok.core.classes \
|
$(AM_V_GEN)swig -c++ -java -package org.sigrok.core.classes \
|
||||||
-Iinclude -Ibindings/cxx/include \
|
-Iinclude -Ibindings/cxx/include \
|
||||||
-outdir $(JDIR)/$(JPKG) $(JINT)
|
-outdir $(JDIR)/$(JPKG) $(JINT)
|
||||||
|
|
||||||
$(JJAR): $(JSRC) $(JDIR)/$(JPKG)/*.java
|
$(JJAR): $(JSRC) $(JDIR)/$(JPKG)/*.java
|
||||||
$(JAVAC) -sourcepath $(JDIR) $(JDIR)/$(JPKG)/*.java
|
$(AM_V_GEN)$(JAVAC) -sourcepath $(JDIR) $(JDIR)/$(JPKG)/*.java
|
||||||
jar cf $(JJAR) -C $(JDIR) $(JPKG)
|
$(AM_V_at)jar cf $(JJAR) -C $(JDIR) $(JPKG)
|
||||||
|
|
||||||
$(JLIB): $(JSRC) bindings/cxx/libsigrokxx.la $(library_include_HEADERS)
|
$(JLIB): $(JSRC) bindings/cxx/libsigrokxx.la $(library_include_HEADERS)
|
||||||
$(CXX) $(CXXFLAGS) -L.libs -Lbindings/cxx/.libs \
|
$(AM_V_GEN)$(CXX) $(CXXFLAGS) -L.libs -Lbindings/cxx/.libs \
|
||||||
-fno-strict-aliasing -fPIC -shared \
|
-fno-strict-aliasing -fPIC -shared \
|
||||||
$(JDIR)/$(JPKG)/classes_wrap.cxx -lsigrokxx \
|
$(JDIR)/$(JPKG)/classes_wrap.cxx -lsigrokxx \
|
||||||
-o $(JLIB)
|
-o $(JLIB)
|
||||||
|
|
Loading…
Reference in New Issue