X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=26319566301960d243f5437c0fef1fc6569fe5f4;hb=0d14e30ba01fb8258a57cb894feff56990a9cd13;hp=3087649cdb93bb5e3fe3dfd12572481543d1418d;hpb=107639373df3d592961eb70111e6f4ccb36f74fa;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index 3087649c..26319566 100644 --- a/Makefile.am +++ b/Makefile.am @@ -91,6 +91,10 @@ if NEED_VISA libsigrok_la_SOURCES += \ src/scpi/scpi_visa.c endif +if NEED_GPIB +libsigrok_la_SOURCES += \ + src/scpi/scpi_libgpib.c +endif # Hardware (DMM chip parsers) libsigrok_la_SOURCES += \ @@ -282,6 +286,13 @@ libsigrok_la_SOURCES += \ src/hardware/saleae-logic16/protocol.c \ src/hardware/saleae-logic16/api.c endif +if HW_SCPI_PPS +libsigrok_la_SOURCES += \ + src/hardware/scpi-pps/protocol.h \ + src/hardware/scpi-pps/protocol.c \ + src/hardware/scpi-pps/profiles.c \ + src/hardware/scpi-pps/api.c +endif if HW_SERIAL_DMM libsigrok_la_SOURCES += \ src/hardware/serial-dmm/protocol.h \ @@ -523,7 +534,7 @@ $(JJAR): $(JCXX) $(AM_V_at)jar cf $(JJAR) -C $(JDIR) $(JPKG) $(JLIB): $(JCXX) bindings/cxx/libsigrokxx.la $(library_include_HEADERS) - $(AM_V_GEN)$(CXX) $(CXXFLAGS) -L.libs -Lbindings/cxx/.libs \ + $(AM_V_GEN)$(CXXCOMPILE) -L.libs -Lbindings/cxx/.libs \ -fno-strict-aliasing -fPIC -shared $(JCLS)/classes_wrap.cxx \ -lsigrokxx -o $(JLIB) @@ -534,13 +545,13 @@ java-install: $(INSTALL) $(JJAR) -t $(datadir)/java java-clean: - rm -f $(JCXX) - rm -f $(JCLS)/*.java - rm -f $(JCLS)/*.class - rm -f $(JINT)/*.class - rm -f $(JJAR) - rm -f $(JLIB) - rm -rf $(JDIR)/doxy/ + $(AM_V_at)rm -f $(JCXX) + $(AM_V_at)rm -f $(JCLS)/*.java + $(AM_V_at)rm -f $(JCLS)/*.class + $(AM_V_at)rm -f $(JINT)/*.class + $(AM_V_at)rm -f $(JJAR) + $(AM_V_at)rm -f $(JLIB) + $(AM_V_at)rm -rf $(JDIR)/doxy/ java-doc: $(AM_V_at)cd $(srcdir)/$(JDIR) && BUILDDIR=$(abs_builddir)/$(JDIR)/ doxygen Doxyfile 2>/dev/null