Build: Set local include directories in Makefile.am

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.
This commit is contained in:
Daniel Elstner 2015-08-13 01:18:51 +02:00
parent 3cd4b38174
commit c1aae90038
138 changed files with 144 additions and 141 deletions

View File

@ -20,7 +20,10 @@
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)

View 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])

View 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
}

View 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 */

View 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 */

View 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 */

View File

@ -24,7 +24,7 @@
*/
#include <math.h>
#include "libsigrok.h"
#include <libsigrok/libsigrok.h>
#include "libsigrok-internal.h"
#define LOG_PREFIX "brymen-bm25x"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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 */

View 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

View 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"

View File

@ -19,7 +19,7 @@
#include <glib.h>
#include "config.h"
#include "libsigrok.h"
#include <libsigrok/libsigrok.h>
#ifndef HAVE_LIBSERIALPORT

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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)

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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);

View 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

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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;

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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

View 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"

View 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);

View 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"

View 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 */

View 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"

View 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"

View 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"

View 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 */

View 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"

View 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"

Some files were not shown because too many files have changed in this diff Show More