]> sigrok.org Git - libsigrok.git/commitdiff
Build: Set local include directories in Makefile.am
authorDaniel Elstner <redacted>
Wed, 12 Aug 2015 23:18:51 +0000 (01:18 +0200)
committerDaniel Elstner <redacted>
Sun, 16 Aug 2015 16:28:12 +0000 (18:28 +0200)
Move the include flags for files in the source tree from
configure.ac to Makefile.am where they belong.  Also use
AM_CPPFLAGS instead of CFLAGS/CXXFLAGS to make sure the
files in the build/source tree are always picked up first.

Also, remove the include/libsigrok sub-directory from the
search path, thereby making the <libsigrok/> prefix mandatory
when building libsigrok itself.  This matches the convention
already imposed on users of the library.

138 files changed:
Makefile.am
configure.ac
include/libsigrok/libsigrok.h
src/analog.c
src/backend.c
src/device.c
src/dmm/bm25x.c
src/dmm/es519xx.c
src/dmm/fs9721.c
src/dmm/fs9922.c
src/dmm/m2110.c
src/dmm/metex14.c
src/dmm/rs9lcd.c
src/dmm/ut372.c
src/dmm/ut71x.c
src/dmm/vc870.c
src/drivers.c
src/error.c
src/ezusb.c
src/fallback.c
src/hardware/agilent-dmm/api.c
src/hardware/agilent-dmm/sched.c
src/hardware/appa-55ii/protocol.h
src/hardware/asix-sigma/asix-sigma.c
src/hardware/atten-pps3xxx/protocol.h
src/hardware/baylibre-acme/gpio.c
src/hardware/baylibre-acme/protocol.h
src/hardware/beaglelogic/protocol.h
src/hardware/brymen-bm86x/protocol.h
src/hardware/brymen-dmm/protocol.h
src/hardware/cem-dt-885x/protocol.h
src/hardware/center-3xx/protocol.h
src/hardware/chronovu-la/protocol.h
src/hardware/colead-slm/api.c
src/hardware/colead-slm/protocol.c
src/hardware/colead-slm/protocol.h
src/hardware/conrad-digi-35-cpu/protocol.h
src/hardware/demo/demo.c
src/hardware/deree-de5000/api.c
src/hardware/fluke-dmm/api.c
src/hardware/fluke-dmm/fluke.c
src/hardware/fx2lafw/protocol.h
src/hardware/gmc-mh-1x-2x/protocol.h
src/hardware/hameg-hmo/protocol.h
src/hardware/hantek-dso/api.c
src/hardware/hantek-dso/dso.c
src/hardware/ikalogic-scanalogic2/protocol.h
src/hardware/ikalogic-scanaplus/protocol.h
src/hardware/kecheng-kc-330b/protocol.h
src/hardware/lascar-el-usb/api.c
src/hardware/lascar-el-usb/protocol.c
src/hardware/lascar-el-usb/protocol.h
src/hardware/link-mso19/protocol.h
src/hardware/manson-hcs-3xxx/protocol.h
src/hardware/maynuo-m97/protocol.h
src/hardware/mic-985xx/protocol.h
src/hardware/motech-lps-30x/protocol.h
src/hardware/norma-dmm/protocol.h
src/hardware/openbench-logic-sniffer/protocol.h
src/hardware/pipistrello-ols/protocol.h
src/hardware/rigol-ds/api.c
src/hardware/rigol-ds/protocol.c
src/hardware/rigol-ds/protocol.h
src/hardware/saleae-logic16/api.c
src/hardware/saleae-logic16/protocol.c
src/hardware/saleae-logic16/protocol.h
src/hardware/scpi-pps/protocol.h
src/hardware/serial-dmm/api.c
src/hardware/serial-dmm/protocol.c
src/hardware/sysclk-lwla/api.c
src/hardware/sysclk-lwla/lwla.c
src/hardware/sysclk-lwla/lwla.h
src/hardware/sysclk-lwla/protocol.h
src/hardware/teleinfo/api.c
src/hardware/teleinfo/protocol.h
src/hardware/testo/protocol.h
src/hardware/tondaj-sl-814/api.c
src/hardware/tondaj-sl-814/protocol.c
src/hardware/tondaj-sl-814/protocol.h
src/hardware/uni-t-dmm/api.c
src/hardware/uni-t-dmm/protocol.c
src/hardware/uni-t-dmm/protocol.h
src/hardware/uni-t-ut32x/protocol.h
src/hardware/victor-dmm/api.c
src/hardware/victor-dmm/protocol.c
src/hardware/victor-dmm/protocol.h
src/hardware/yokogawa-dlm/protocol.h
src/hardware/yokogawa-dlm/protocol_wrappers.h
src/hardware/zeroplus-logic-cube/analyzer.c
src/hardware/zeroplus-logic-cube/analyzer.h
src/hardware/zeroplus-logic-cube/gl_usb.c
src/hardware/zeroplus-logic-cube/gl_usb.h
src/hardware/zeroplus-logic-cube/protocol.h
src/hwdriver.c
src/input/binary.c
src/input/chronovu_la8.c
src/input/csv.c
src/input/input.c
src/input/vcd.c
src/input/wav.c
src/lcr/es51919.c
src/log.c
src/modbus/modbus.c
src/modbus/modbus_serial_rtu.c
src/output/analog.c
src/output/ascii.c
src/output/binary.c
src/output/bits.c
src/output/chronovu_la8.c
src/output/csv.c
src/output/gnuplot.c
src/output/hex.c
src/output/ols.c
src/output/output.c
src/output/srzip.c
src/output/vcd.c
src/output/wav.c
src/scpi/scpi.c
src/scpi/scpi_libgpib.c
src/scpi/scpi_serial.c
src/scpi/scpi_tcp.c
src/scpi/scpi_usbtmc_libusb.c
src/scpi/scpi_visa.c
src/scpi/scpi_vxi.c
src/serial.c
src/session.c
src/session_driver.c
src/session_file.c
src/soft-trigger.c
src/std.c
src/strutil.c
src/transform/invert.c
src/transform/nop.c
src/transform/scale.c
src/transform/transform.c
src/trigger.c
src/usb.c
src/version.c

index 3e2388982bd03ab9e70d3529040dbf92ad975161..c0a228656e2f2a1c190ea2808e64d7465c125163 100644 (file)
 
 ACLOCAL_AMFLAGS = -I autostuff
 
-AM_CPPFLAGS = -I$(srcdir)/src -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
+local_includes = -Iinclude -I$(srcdir)/include -I$(srcdir)/src
+local_includes += -Ibindings/cxx/include -I${srcdir}/bindings/cxx/include -Ibindings/cxx
+
+AM_CPPFLAGS = $(local_includes) -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
 
 lib_LTLIBRARIES = libsigrok.la
 
@@ -585,7 +588,7 @@ $(JDOC): bindings/swig/doc.py $(CPPXMLDOC)
 $(JCXX): $(JSWG) $(JDOC) bindings/swig/classes.i $(library_include_HEADERS)
        $(AM_V_at)make java-clean
        $(AM_V_GEN)swig -c++ -java -package org.sigrok.core.classes \
-               -I$(srcdir)/include -I$(srcdir)/bindings/cxx/include -I$(srcdir) -I$(JCLS) -Ibindings/cxx/include -outdir $(JCLS) -o $@ $<
+               $(local_includes) -I$(JCLS) -I. -I$(srcdir) -outdir $(JCLS) -o $@ $<
 
 $(JJAR): $(JCXX)
        $(AM_V_GEN)$(JAVAC) -sourcepath $(JDIR) -d $(JDIR) $(JSRC)
index ff9c93958177b3580b8b326d7ead27b86261c456..45ee40cf00e0de0d5b0aa72e8359fcf7cadf0b97 100644 (file)
@@ -456,8 +456,8 @@ esac
 
 AC_SUBST(SR_PKGLIBS)
 
-CFLAGS="$CFLAGS -Iinclude/libsigrok -I${srcdir}/include/libsigrok $LIB_CFLAGS"
-CXXFLAGS="$CXXFLAGS -Iinclude/libsigrok -I${srcdir}/include -Ibindings/cxx -Ibindings/cxx/include/libsigrokcxx -I${srcdir}/bindings/cxx/include $LIB_CFLAGS"
+CFLAGS="$CFLAGS $LIB_CFLAGS"
+CXXFLAGS="$CXXFLAGS $LIB_CFLAGS"
 
 # Find Java compiler and JNI includes for Java bindings.
 AC_CHECK_PROG([HAVE_JAVAC], [javac], [yes], [no])
index 085ac06173b18f7bd83e513d8caf52d073fc4560..0e35957f05ee76a95868136e92ed6069c101f2db 100644 (file)
@@ -1099,8 +1099,8 @@ struct sr_serial_port {
        char *description;
 };
 
-#include "proto.h"
-#include "version.h"
+#include <libsigrok/proto.h>
+#include <libsigrok/version.h>
 
 #ifdef __cplusplus
 }
index 10c4c1c7ac25ff145dbab628d14135e2a33753a2..a0a48de9754115647f90c0ea844683aa5a5db719 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdint.h>
 #include <string.h>
 #include <ctype.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index 4889358a9d6fd9e06fbe6446f76df060e0f429cc..baf1f8d97fe4c037d2feaa45327c9acbf530483e 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <glib.h>
 #include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index 01f413486357d546817c05c7bffc27974c031d13..fe3e231616e67c13989be8340cb74dcddd7195ae 100644 (file)
@@ -20,7 +20,7 @@
 #include <stdio.h>
 #include <glib.h>
 #include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index 67c2d04f6940b626c9370e35aecb9cd90ef05b00..1e231a905dcd9a046971ee71e95401209bbe1107 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 #include <math.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "brymen-bm25x"
index 075587ce40fcc37fcde278f84ec7976ea5a94ee7..2385a2208fa181208f7cec0495c15fa28ea427b5 100644 (file)
@@ -29,7 +29,7 @@
 #include <ctype.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "es519xx"
index aa7746ef3be30d22c8d5f190784606ca11308a2e..6bc151a78b2d999c104f3527ec99def4a77f92af 100644 (file)
@@ -35,7 +35,7 @@
 #include <ctype.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "fs9721"
index caaa51c708d46b418245ff62a286afe292f3d675..698e1184dd602d4b69b7c3405433fb97f33e8064 100644 (file)
@@ -26,7 +26,7 @@
 #include <ctype.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "fs9922"
index 5863cef1e706e31d4923a51d02754f65c3c1cc32..8f094a5c8144196e243214118d24f60f0ccad50f 100644 (file)
@@ -28,7 +28,7 @@
 #include <string.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "m2110"
index e2d14ec34348992326c1d852983df56ff1b859f1..90278ffd21646e8eee5e4d833a58f10f2975a060 100644 (file)
@@ -35,7 +35,7 @@
 #include <ctype.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "metex14"
index 539c2335e265931e328dae71d6fc8c452848a85a..44080604789eb79b83aaf0b0da3e96935f188e45 100644 (file)
@@ -32,7 +32,7 @@
 #include <ctype.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "rs9lcd"
index 2de3da3436fbb60e25b6de6f39240642caeed1b1..d2fd8bc9e8b5643d8996a87d62737b17af868836 100644 (file)
@@ -25,7 +25,7 @@
 #include <stdlib.h>
 #include <stdint.h>
 #include <math.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "ut372"
index ce23dccd690b9f236461bd42bea5fcdb4263c451..d519ecc4f0ad1c4dffd094cf0236552678440a65 100644 (file)
@@ -28,7 +28,7 @@
 #include <ctype.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "ut71x"
index 0c1de7853668effebf5504a9d4acede6c6efba8f..8b7f191f85c4fd8b7faffefca31cdefd2d5b9ee3 100644 (file)
@@ -22,7 +22,7 @@
 #include <ctype.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "vc870"
index d37d55290c89545a08e24eb0c911062b5801bf76..15e1084269e254dd9e636b5ec4637b74fa041915 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index 0d43abf16b544780c40105f62e5d6b8e391a3aab..0280449ea61137f477faba993935450f13a2bae9 100644 (file)
@@ -18,7 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 
 /**
  * @file
index 9f40d3b72179e5fd1b2a81afb1c077babc3b986f..465dab0360f4c72f3e6b601ad43c264aaac0ed91 100644 (file)
@@ -27,7 +27,7 @@
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "ezusb"
index d66c4b8d2406b5dba2457a1542d84db6bf6a0343..677676994766cedd1a743984d682705b655f3254 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <glib.h>
 #include "config.h"
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 
 #ifndef HAVE_LIBSERIALPORT
 
index cefea4f29a47bbe03298122d1c31059224c76279..273c7f06c5290a8db26929398c811cc7fc75286a 100644 (file)
@@ -22,7 +22,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "agilent-dmm.h"
 
index 1fe962f575aa29682c8f810dc3f0cc602b9b907c..2db3b74877f6af8685a2b352f1ae3389054eb27b 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "agilent-dmm.h"
 
index fa3c247694a4c2b9b680b18e84c2fbc4c250fdca..4e8b1292ee862132cbaf9f1e31baf6d3c3d9ddf3 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "appa-55ii"
index 0a2ec990ac38d47467715d015b9cab1d3c09366d..eaade4bf8077ea9081c619867c1092fdfffba575 100644 (file)
@@ -28,7 +28,7 @@
 #include <ftdi.h>
 #include <string.h>
 #include <unistd.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "asix-sigma.h"
 
index 01983d3bdf2cbac3cd7984709902b47096971103..633c0a20d39835f7beb3be79b430ba92bc3b98a9 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "atten-pps3xxx"
index fb5d298c7e3b018f9730daedb4c3b0e08c277728..bb6c54d56fff3074fe1387cf645ba4da2e138ff2 100644 (file)
@@ -23,7 +23,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "gpio.h"
 
index a3f4452c12e1d67ae2ce07fdd55e904c133d1985..9410e114fa0ec5fd0f7644e00dc497fcb4d86e10 100644 (file)
@@ -23,7 +23,7 @@
 #include <stdint.h>
 #include <glib.h>
 #include <unistd.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "baylibre-acme"
index 90fad482e56b896c7f6d946f6e3f6703bbb1d133..75e74725f86c221902b05b6e17e4decf3af771a8 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "beaglelogic"
index 57af1552217dbdc79cff2d41f224991994f96bda..6e33e8bd80016eaa6f460d4edcfe29f69db6182a 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "brymen-bm86x"
index 7c9aaae6cd0710b8c3f3d41823eeb159243eeb5a..3a695b4471f65ddfda9e1b898a74d153dd0289f9 100644 (file)
@@ -25,7 +25,7 @@
 #include <stdlib.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "brymen-dmm"
index 1f0e191b0d1d9468940ec9e9ec27e9d343790a5f..69afacaefc32471a7d47880aeac7f661800284aa 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "cem-dt-885x"
index c920f32a3352e1e61edf1c4ded7be4318df07345..8ff5d2cc801c35fd521ad40dd512dd90a0af62d3 100644 (file)
@@ -26,7 +26,7 @@
 #include <ctype.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "center-3xx"
index c74feaa2c2cafd51b0e317eda5accad3440f60d3..be7e64a660be2b9636e6822b8da2271508742041 100644 (file)
@@ -25,7 +25,7 @@
 #include <ftdi.h>
 #include <stdint.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "la8/la16"
index fe697277c0c8df4003b352b1b0b6bcbbc7d31d2a..0e2c9198fe16165ad05b9fdb928a0702d7db8589 100644 (file)
@@ -22,7 +22,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 9a7c9fd0d1b6117652ad2fea8e7553e988bde2c2..f29d1bb95570c35764aaff411e6cebd8add92ea2 100644 (file)
@@ -20,7 +20,7 @@
 #include <stdlib.h>
 #include <glib.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 8942ac8558863a1dd5d94169c0a4c7836ded1f9c..4cc49974a2682e608591ee3299c69e91236d386c 100644 (file)
@@ -21,7 +21,7 @@
 #define LIBSIGROK_HARDWARE_COLEAD_SLM_PROTOCOL_H
 
 #include <stdint.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "colead-slm"
index 1c3885a4bf4f096b5f1af270e10951c19695a73d..340cc23bee01daa17b260a4976a3d55dc227515f 100644 (file)
@@ -29,7 +29,7 @@
 #include <stdint.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "conrad-digi-35-cpu"
index 920c1e4d6c93b33d79b0a1021d6e3d64373d8c98..bdf4185d5ca66168b612f1c8686293ad3630975e 100644 (file)
@@ -30,7 +30,7 @@
 #include <fcntl.h>
 #define pipe(fds) _pipe(fds, 4096, _O_BINARY)
 #endif
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "demo"
index 33e38881232b0be03c60039009492ecf6ed204eb..fdf0bc3ede1a7d89c1339ec3a03ac2f6df7917b2 100644 (file)
@@ -21,7 +21,7 @@
 #include <string.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 static void std_dev_attach(struct sr_dev_driver *di, struct sr_dev_inst *sdi)
index 9c6c8a9437e885a2ed999ea01a2f758dc29b8dc9..47f598f22d5ed5b6f3cb6e677aff91ec77c60f7d 100644 (file)
@@ -22,7 +22,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "fluke-dmm.h"
 
index 159a4f9f291d1761e72c72cccbc2375c9f759103..7604afa9a473a41d01497385a2bbb8340ec19f8f 100644 (file)
@@ -21,7 +21,7 @@
 #include <math.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "fluke-dmm.h"
 
index 6d7231154e7ef5a64e5892f5d0abecb7aac5eb4d..35a52fba84dec09f21670569716e2a1e094a8709 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <libusb.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "fx2lafw"
index b19cd431321ae9a7cdfec4bdd115d7d718e6c94b..b4869ad1f03f1d6bf3e3018fecd59740823f98f3 100644 (file)
@@ -27,7 +27,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "gmc-mh-1x-2x"
index 8235b1e733caf1524de6c5df96eb4c4d26692b2c..3747d62b0b36f6e02e1290d6f0f4583ad9143fd0 100644 (file)
@@ -23,7 +23,7 @@
 #include <glib.h>
 #include <stdint.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "hameg-hmo"
index 160dbb4d52e777069807db97b30719583499b63b..ba4918d5d5b8b94e195bdf0e3b1c2fb59963c464 100644 (file)
@@ -29,7 +29,7 @@
 #include <inttypes.h>
 #include <glib.h>
 #include <libusb.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "dso.h"
 
index 195201fe7302f3e05185cb42d5b583b8d1f25aca..27ef63c1e864b35385973c9750237bbaa3f62ef7 100644 (file)
@@ -22,7 +22,7 @@
 #include <string.h>
 #include <glib.h>
 #include <libusb.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "dso.h"
 
index cd7948212ec723fc884c13b2f33b1f4dffa94ee7..66a5cecf57919f0b2a6cbcf50d6d56624bc15805 100644 (file)
@@ -24,7 +24,7 @@
 #include <string.h>
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "ikalogic-scanalogic2"
index deb76b1595c46231e1db8717b175aaa72d4edca7..cdd684d0b1acecb3a976630dee49056042b95407 100644 (file)
@@ -25,7 +25,7 @@
 #include <string.h>
 #include <glib.h>
 #include <ftdi.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "ikalogic-scanaplus"
index ff3ce8b90d7f437da9fd85754f8015e3d6dff7ef..a718bdba0ee26162901bbcd82af5b1d138598627 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "kecheng-kc-330b"
index 40a4164943282cd90e076a0b3cf8865b1169a798..682366d0b367918001d8b1f1c7160d15d742d0a5 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <glib.h>
 #include <libusb.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 3dad7943ef78e816e865fee81291fff325885ebf..ba60fe3bc95fa82434e9d1dd353f9a20c96f140d 100644 (file)
@@ -22,7 +22,7 @@
 #include <string.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index a0f7f4fdb6e16749b28046001c8f7fd4507a6071..08197fb202be065a9d0f7303b8460f1b7cbfb40a 100644 (file)
@@ -21,7 +21,7 @@
 #define LIBSIGROK_HARDWARE_LASCAR_EL_USB_PROTOCOL_H
 
 #include <stdint.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "lascar-el-usb"
index 337814bf10e32965157a741f3cdda175d8b325bc..e32f39e9f9829ab7c76a3cd9fa41c61419d25cf5 100644 (file)
@@ -26,7 +26,7 @@
 #include <string.h>
 #include <glib.h>
 #include <libudev.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "link-mso19"
index 465cdd9d9315f38fe01332659ab2f895e044228d..c63f943d7645679f285440621df847f386994ddf 100644 (file)
@@ -31,7 +31,7 @@
 #include <string.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "manson-hcs-3xxx"
index 7cb1f632a1152d7297626063389c861e409bfd49..62c1d47c942d23a905b42526d62f94603a98c340 100644 (file)
@@ -21,7 +21,7 @@
 #define LIBSIGROK_HARDWARE_MAYNUO_M97_PROTOCOL_H
 
 #include <stdint.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "maynuo-m97"
index 10d95d0978a75d1eb126ca9c2f39020f6f835dd0..42a01daf6151166e25f849e7a1b5c97c69eb21da 100644 (file)
@@ -25,7 +25,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "mic-985xx"
index de700cf00d18c248fa4abc1638e241906b6e0a75..728c60059c60744d70281ba6ae598dd7ecf6cfc2 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 SR_PRIV int lps_process_status(struct sr_dev_inst *sdi, int stat);
index 80927150701b7d97f008ac00e035abae3993f73a..7c52b47ffec61a48b206f22c78feb2c8b0fce4fb 100644 (file)
@@ -25,7 +25,7 @@
 #include <ctype.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @file
index 6e5d61fe2af8d49dc9b97516f17a18ac0b052c4f..1e6cd69d8052bda5d5a83dc3624b4b00c0a9fc65 100644 (file)
@@ -23,7 +23,7 @@
 #include <stdint.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "ols"
index 4923835a3bcad14046aad5d35600575fb05c4d53..c2bd2ccb902ba5cb91f79bcbd8254b32b9dd78ba 100644 (file)
@@ -24,7 +24,7 @@
 #include <string.h>
 #include <glib.h>
 #include <ftdi.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "p-ols"
index 3febe605f8230d1e60d951ab23038a1015ecc397..8075a2e8ff8318d3a7b524765d144caae58850f5 100644 (file)
@@ -26,7 +26,7 @@
 #include <strings.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 7581472414590e3f227d52bdfaed25f1fc61a055..d9a53f547e67e598fb1a0c458828c509e8741798 100644 (file)
@@ -28,7 +28,7 @@
 #include <ctype.h>
 #include <time.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 6298185656663ec12f981ba08376b1a40cc03312..5e5f01ba3b4fc0a5575c156c393cf9a927cd91fd 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <stdint.h>
 #include <stdbool.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "rigol-ds"
index 7206c5825125ec2a79883920251d916e9ac27731..af421d3c96733ec83a5b0456e9c0e879171f085d 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 36a688da462c3254c0bf3861292469786f3bb794..532320d9216a10f132652e0d8b5c36a9d4c7bfba 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdio.h>
 #include <errno.h>
 #include <math.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 0cadd359517fc043f3fd9c4f35acd06b671de1be..9f834164c83d14bb3603a75f1815348b13f74e02 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "saleae-logic16"
index 4956e5d4cb0ff8cfe9f116abecf0e548a65db2a1..063fddc1b563fe7bda406e4ff91447a40647cf54 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "scpi-pps"
index c71dd0750b109d2c4e44023d6d5845af27e65525..25e7bb61a997c8809753adbe95d8204c484927d5 100644 (file)
@@ -24,7 +24,7 @@
 #include <fcntl.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 84b12cf0e003e0731624ca230b0688a0ece10db2..2e092533954250932a227008e75bc5e7b0d5ac2e 100644 (file)
@@ -22,7 +22,7 @@
 #include <math.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index f5a6d2f1dd1534523f7a57b0a92987e94d1130bc..dc15bb1811065b8ec1389304644cefa33aa07a5b 100644 (file)
@@ -21,7 +21,7 @@
 #include <libusb.h>
 #include <stdlib.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 4cc1b656ea46bb90b71e5e5d66755ab666efee94..d2f2a2579e5e41861ef053339736a8e2d672090c 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <errno.h>
 #include <glib/gstdio.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 #include "lwla.h"
index 8d72eda1dbaebe01faac9206fa07ad6a1bc6ad7a..d4abea3f7662915711a41bb9ed12f358084af923 100644 (file)
@@ -23,7 +23,7 @@
 #include <stdint.h>
 #include <libusb.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 
 struct sr_usb_dev_inst;
 
index d890775bf75dc4f8ce42c5d2a5061a417fc8c7b0..25f349d1757c4682b934ab53d2065a603895cd01 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "lwla.h"
 
index 26f3a41a2e101bdf26fb8a10a8ab4071b1843d1b..540143e3bf89488963ba7e08576dd63c82df14bd 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdlib.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 303305e7a66cf67480db0133630d051097ea3595..84a7546e2c2bfa4a03c3244a895f578df74765cf 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "teleinfo"
index 62607e2b60d152f307cc396b324ed7c160cb56fb..8621bc2cc1f2512595eb6838ad18700308da7598 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "testo"
index 83312249cfcdf56755c304d64b5fd1a8d8af73da..fceca24483d118e829dc660ebe490118a5e0b00d 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <fcntl.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index c3b065615de746b5b89b95624a0aef63ebc78187..97ab844ec3287f39bbcc20b8eddc2ea5783ec88f 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 027b66dfddce61b60cb3eaee7f58dc2217bbb4ee..77c6ca08fec8d24246bde7b32700fba3784275ce 100644 (file)
@@ -22,7 +22,7 @@
 #define LIBSIGROK_HARDWARE_TONDAJ_SL_814_PROTOCOL_H
 
 #include <stdint.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "tondaj-sl-814"
index 6f3ad6a2b86db5e7a3999ce19e1ce75c8a8baddd..a21663fca5f1d3f0f5f7f71a0bd3b7f90ba3460d 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 7047ca862c3ed4d87d03ed1f265fe15b48e51a47..f30b1d9ba033901ab2408a3f5c59271af10e3859 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 3e063664839a89fdab8ad2454b3f3b744640bff4..02810b727af5239b1517524b8dce3dc4ea0128af 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdint.h>
 #include <glib.h>
 #include <libusb.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "uni-t-dmm"
index 1a1cf1f5baa7612e331ffb1e446492e30b126d25..4010e179fc535414ea0ad5bc867709cdd52497f3 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "uni-t-ut32x"
index e82302618693c76f09de61eb89e847c9063785c8..3970a838bdea51915410ae597cf7fd5c40e8b07d 100644 (file)
@@ -21,7 +21,7 @@
 #include <libusb.h>
 #include <stdlib.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 6f72d9470f1ee0b843599f77720382153f6eec5b..2e9392db6786a6f97e1edc2de2195230a1c1f63a 100644 (file)
@@ -20,7 +20,7 @@
 #include <glib.h>
 #include <string.h>
 #include <math.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 8f12680314e0a1fe75aa0236eb4177b4a7687f7c..38fd5241a10aee3443f602ea4a07a5b0fa607ce3 100644 (file)
@@ -21,7 +21,7 @@
 #define LIBSIGROK_HARDWARE_VICTOR_DMM_PROTOCOL_H
 
 #include <stdint.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "victor-dmm"
index 24c8e2787ef64cd1691249cbe64b690ba40e1ee3..80def3f9de550d752f54dc7371f0525ae9e13190 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol_wrappers.h"
 
index a88ef200f8695702bae3e0f4a3a750a76bd54816..47ae40ecf89114c23bc26a157b066d4663dea28d 100644 (file)
@@ -23,7 +23,7 @@
 #include <glib.h>
 #include <stdint.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 9453bd0b17599168e7d21ff9cb8f5776f941a0e5..6af8cfc7a9842f78763207efe0f3f2d67a6a5671 100644 (file)
@@ -30,7 +30,7 @@
  */
 
 #include <assert.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "analyzer.h"
 #include "gl_usb.h"
index 9f872598b839cdb22b8672ed18501f54c1c9cfa2..41a1eed84dcf7a190eae9ab63f8f2d6cd10b306f 100644 (file)
@@ -33,7 +33,7 @@
 #define LIBSIGROK_HARDWARE_ZEROPLUS_LOGIC_CUBE_ANALYZER_H
 
 #include <libusb.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 
 #define STATUS_FLAG_NONE       0x00
 #define STATUS_FLAG_RESET      0x01
index 2443f455131308c99e039632419edc39ce953a43..812e4a765b5b71da44135c77a2d8641923a7823a 100644 (file)
@@ -31,7 +31,7 @@
 
 #include <stdio.h>
 #include <libusb.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "gl_usb.h"
 #include "protocol.h"
index c3a33fb34fb35d867fc14bdddb180472fe826d17..9eef7c9baa142e3531f0c31ee154ba58e30d6dc2 100644 (file)
@@ -33,7 +33,7 @@
 #define LIBSIGROK_HARDWARE_ZEROPLUS_LOGIC_CUBE_GL_USB_H
 
 #include <libusb.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 
 SR_PRIV int gl_read_bulk(libusb_device_handle *devh, void *buffer,
                         unsigned int size);
index c9db53f500a9ee2d27d8b20a5fd2affb9639b057..4d128bedf30d039262e6612caa3223befdb82498 100644 (file)
@@ -25,7 +25,7 @@
 #include <string.h>
 #include <glib.h>
 #include <libusb.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "analyzer.h"
 
index 74d75e6a1e5bdad58909aabb93e207b8f68d7f1e..3348b759562593746bce2792b8a282e49241e5ae 100644 (file)
@@ -24,7 +24,7 @@
 #include <string.h>
 #include <glib.h>
 #include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index d7080b0b22bf6c83df05abd26d471c272024c99b..23b9574f8de9400bca91ff39755ecd015020c64b 100644 (file)
@@ -23,7 +23,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/time.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "input/binary"
index e62d2c70a30f5eb39b9e48d3d6c75c1826f64179..97eac15040850d0fa4977b1c461a2c916471a7bf 100644 (file)
@@ -22,7 +22,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/stat.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "input/chronovu-la8"
index f4f11f25d18bd21287745620c3c61b93fce1cb3b..cc09045aa281919a88580e681149724c7519300f 100644 (file)
@@ -20,7 +20,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "input/csv"
index 4b36c887c45028db3c1a2b3030c8c94ebd58a3a7..8e51e3f96b7285d23611d77b8ac8d46083ce1593 100644 (file)
@@ -23,7 +23,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index ad0ba7f03d3c839d1b3ee40a862c07fc4ce6826b..0ca7705a08bd6afb441c7f51848aee0968105972 100644 (file)
@@ -61,7 +61,7 @@
 #include <glib.h>
 #include <stdio.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "input/vcd"
index 4f36e8c45126aac8791a55ddef31563bab0db2cc..f2d5db0dfcc21075293c3d9350573aff820410e8 100644 (file)
@@ -24,7 +24,7 @@
 #include <ctype.h>
 #include <string.h>
 #include <stdint.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "input/wav"
index 06d05d0ff22e2fec3357c16904fedf6bedf0d05c..0e8635f6d06556de841cf1f127927d572ce72983 100644 (file)
@@ -21,7 +21,7 @@
 #include <string.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "es51919"
index db16c30dabb00597d438307196a19a310b01104f..4750a5bef6a2c13a078e5a1783d956dd63113de6 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -20,7 +20,7 @@
 
 #include <stdarg.h>
 #include <stdio.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 /** @cond PRIVATE */
 #define NO_LOG_WRAPPERS
 /** @endcond */
index ee0183318740d5a2e850875c721327ddc0d79b00..e91f6f5e371042347536117c79d71952663af082 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <glib.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "modbus"
index d8cb046d797917510ba5c01f45c26b8a9732cbd3..b723020ba257064d492dd0d111d5b27102645656 100644 (file)
@@ -20,7 +20,7 @@
 #include <glib.h>
 #include <stdlib.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "modbus_serial"
index ff5e91f32f092eb60e67ff29e35d1ad90ca17a41..ed8e163e4984f7ec3b626cd29e38867f369c5ad5 100644 (file)
@@ -21,7 +21,7 @@
 #include <string.h>
 #include <math.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/analog"
index e50724169ea04a69224c1813c765dad79f4f8092..f45081f1e90aef1279f605233b50f84af5d66d1a 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/hex"
index 4037d9e909db5b446f2ec31c22e1d055ad62f309..196aa4751a3975f0d327692376d206708ae2b77d 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/binary"
index a26424d5968913a33ed86f8a6339c3a20f8c6b72..eb134b4e699b770bdc06116e80a15e43fbf9e540 100644 (file)
@@ -20,7 +20,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/bits"
index cfabf4cd99fa6f057f205e904562675636799020..acb499d3915cb68ccfc1806bd9b325515b49be6e 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/chronovu-la8"
index 5f0d647c3d5605be98cc1c883b85be2a29b377ef..36cf2e86931b6cb7cd1552eb42716f4191dec6e3 100644 (file)
@@ -22,7 +22,7 @@
 #include <string.h>
 #include <glib.h>
 #include "config.h" /* Needed for PACKAGE_STRING and others. */
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/csv"
index fc3c15ac7c04e554abb223a1a3b05212da3d77af..111dcadf26b6b4a4f8d2d14bb54d42616435bb67 100644 (file)
@@ -22,7 +22,7 @@
 #include <string.h>
 #include <glib.h>
 #include "config.h" /* Needed for PACKAGE_STRING and others. */
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/gnuplot"
index a499e354e6aa5daaa554125fa1cc2e1e2d65c6c3..52c33a10cf2727720f613928d9edee6474b22c42 100644 (file)
@@ -20,7 +20,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/hex"
index 1202a93ec74cac8ad37f1cdab3138ff859cf620d..55a8dec2650e5843b14fb8ba9444abfca8f32f0a 100644 (file)
@@ -28,7 +28,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/ols"
index d06002e3307ca687511352e657e6855cf05c4c90..0a9e7f880689bee89308cd9e30dd4e8b9075fce7 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index dd4933345062214b9a87ca5bac7cfefb1b437dd5..ae066cde228b4f66a240458cf0f803281b0e6db4 100644 (file)
@@ -24,7 +24,7 @@
 #include <glib.h>
 #include <glib/gstdio.h>
 #include <zip.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/srzip"
index 7403d575600862a7b180ec25dc3548997113ccdf..8dd503a273ea42649458284a0c22a8c3d177e221 100644 (file)
@@ -23,7 +23,7 @@
 #include <string.h>
 #include <glib.h>
 #include "config.h" /* Needed for PACKAGE and others. */
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/vcd"
index a16f45eaca320115bc576673d6317360843e7e3d..c23602354d969abc078e52f1cf39c0bf63fd4b61 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/wav"
index c3ef6ff74c4b9527f7080beca92f5cc8dcddabe6..baf6e79f5445fe6b6e7e342c6bc750f8a597a823 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <glib.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "scpi"
index cd098e8965ddaa531937bddf6e0192db187d7a99..62d99c0a371851135eec88c799225b42d164c9f1 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <gpib/ib.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "scpi_gpib"
index 68a684c2d40fd4758c34f5a6d4b93d29ef76a836..fae623ba646ad68170fd3257e4d6507cd0a14a93 100644 (file)
@@ -21,7 +21,7 @@
 #include <glib.h>
 #include <stdlib.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "scpi_serial"
index 7b3c9155d2026e99472365215f8cf9da1510312d..7e891dbc9ff75ed2c20f7137e21cd6179f2b64c9 100644 (file)
@@ -32,7 +32,7 @@
 #include <netdb.h>
 #endif
 #include <errno.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "scpi_tcp"
index c143e599936654802f34f43793764ed27428b354..351f815816876138df4c058042f9b04d031888c0 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "scpi_usbtmc"
index 34ac9455d09038e97f21570df16634d655f5ac0b..4b9056665b1579f0d5109a322b71534fd6ccf60b 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <visa.h>
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "scpi_visa"
index e7e48d62776e8974e94abccff8fd469729fd1b30..2526b487fbf932bf27b9f3377c4f4df142c77a21 100644 (file)
@@ -23,7 +23,7 @@
 #include <rpc/rpc.h>
 #include <string.h>
 #include "vxi.h"
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "scpi_vxi"
index 959413b650ffcdce338ec2c13082afeae924033c..d3cacba932c53aad89c4fdacdb782bce1c61f04f 100644 (file)
@@ -25,7 +25,7 @@
 #include <glib.h>
 #include <glib/gstdio.h>
 #include <libserialport.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index a3f6a86d3ef8226659f67f5fc222ed44726bf14c..2ab3f7eb83c0c68f48d6a36314864082f32062e5 100644 (file)
@@ -22,7 +22,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index 91c05404316620fbeae853ba983893922b2d160c..72011d2f3775243a1a7b48b7584a506f4fff5e0b 100644 (file)
@@ -23,7 +23,7 @@
 #include <unistd.h>
 #include <sys/time.h>
 #include <zip.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "virtual-session"
index 9a1e316e8fd0411158215d011d9ed91b8d7fc00d..e0c544bfc42e579f5f78bc5b150789fc55035e04 100644 (file)
@@ -27,7 +27,7 @@
 #include <glib.h>
 #include <glib/gstdio.h>
 #include "config.h" /* Needed for PACKAGE_VERSION and others. */
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index 9c3963d3acf651baa3f19f9076c23bb5fb070841..116e7b34f3086db0d82d9413c802aaceb58a0e89 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /* @cond PRIVATE */
index 5b97f66a857696f09998b30732ec6956f3649c5f..b9757381291236083ba6acfd8c75ad3d556b47c1 100644 (file)
--- a/src/std.c
+++ b/src/std.c
@@ -24,7 +24,7 @@
   */
 
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "std"
index ae2b7dd3cd55bb20398dc30584186b857c1522da..bb5913f392ca434aa15407f436f74746815201d0 100644 (file)
@@ -23,7 +23,7 @@
 #include <string.h>
 #include <strings.h>
 #include <errno.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index 9f4dcea87a58421f1ce87d0f4fa153f5aba189d8..5a64afac5d06324aa42af396cea0352a0c4095c7 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "transform/invert"
index 8de2f2d743019adc179a9aee11f71edca1e3998b..56251bd1caba5d33fbe7cf9462b3ff0d10b8d1d4 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "transform/nop"
index 6d3769b35c604cdb7ec4610309d6ba248e08c8f9..5b9c99c5bda19d1e9ad6356699e9d4e81299aee4 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "transform/scale"
index 9e585a09a2619cdb0f251c3955002b5582f68ef6..b518088bd8e625f438f1f32d02fd576209651494 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /** @cond PRIVATE */
index 974b431cd0b9e155c005333306b807e83d03fb3a..34474982b678de0bc5144a5553f7a0b51a3c65ed 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /* * @cond PRIVATE */
index b0ea618cd573019d4f6f4094e09a142f4eb97e04..7fe1eff6e5b0bdba7608127ecbd065d39dcd6bc5 100644 (file)
--- a/src/usb.c
+++ b/src/usb.c
@@ -23,7 +23,7 @@
 #include <memory.h>
 #include <glib.h>
 #include <libusb.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 /* SR_CONF_CONN takes one of these: */
index 3da0c17318e1895b18cde5c903644edf01676914..10bd726d0c1d6a38d81ec133fce060c56c732f01 100644 (file)
@@ -18,7 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 
 /**
  * @file