.deps
Makefile
Makefile.in
+.dirstamp
# build leftovers
*~
ACLOCAL_AMFLAGS = -I autostuff
-AM_CPPFLAGS = -I$(top_srcdir)
-
-SUBDIRS = contrib hardware input output tests
+AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
lib_LTLIBRARIES = libsigrok.la
+# Backend files
libsigrok_la_SOURCES = \
backend.c \
device.c \
error.c \
std.c
-libsigrok_la_LIBADD = \
- $(LIBOBJS) \
- hardware/libsigrokhardware.la \
- input/libsigrokinput.la \
- output/libsigrokoutput.la
+# Input formats
+libsigrok_la_SOURCES += \
+ input/binary.c \
+ input/chronovu_la8.c \
+ input/csv.c \
+ input/input.c \
+ input/vcd.c \
+ input/wav.c
+
+# Output formats
+libsigrok_la_SOURCES += \
+ output/binary.c \
+ output/vcd.c \
+ output/ols.c \
+ output/gnuplot.c \
+ output/chronovu_la8.c \
+ output/csv.c \
+ output/analog.c \
+ output/output.c \
+ output/text/text.c \
+ output/text/text.h \
+ output/text/bits.c \
+ output/text/hex.c \
+ output/text/ascii.c
+
+# Hardware (common files)
+libsigrok_la_SOURCES += \
+ hardware/common/scpi.c \
+ hardware/common/scpi_tcp.c \
+ hardware/common/scpi_usbtmc.c
+if NEED_RPC
+libsigrok_la_SOURCES += \
+ hardware/common/scpi_vxi.c \
+ hardware/common/vxi_clnt.c \
+ hardware/common/vxi_xdr.c
+endif
+if NEED_SERIAL
+libsigrok_la_SOURCES += \
+ hardware/common/serial.c \
+ hardware/common/scpi_serial.c
+endif
+if NEED_USB
+libsigrok_la_SOURCES += \
+ hardware/common/ezusb.c \
+ hardware/common/usb.c \
+ hardware/common/scpi_usbtmc_libusb.c
+endif
+if NEED_VISA
+libsigrok_la_SOURCES += \
+ hardware/common/scpi_visa.c
+endif
+
+# Hardware (DMM parsers)
+libsigrok_la_SOURCES += \
+ hardware/common/dmm/es519xx.c \
+ hardware/common/dmm/fs9721.c \
+ hardware/common/dmm/fs9922.c \
+ hardware/common/dmm/m2110.c \
+ hardware/common/dmm/metex14.c \
+ hardware/common/dmm/rs9lcd.c
+
+# Hardware drivers
+if HW_AGILENT_DMM
+libsigrok_la_SOURCES += \
+ hardware/agilent-dmm/api.c \
+ hardware/agilent-dmm/agilent-dmm.h \
+ hardware/agilent-dmm/sched.c
+endif
+if HW_ALSA
+libsigrok_la_SOURCES += \
+ hardware/alsa/protocol.h \
+ hardware/alsa/protocol.c \
+ hardware/alsa/api.c
+endif
+if HW_APPA_55II
+libsigrok_la_SOURCES += \
+ hardware/appa-55ii/protocol.h \
+ hardware/appa-55ii/protocol.c \
+ hardware/appa-55ii/api.c
+endif
+if HW_ASIX_SIGMA
+libsigrok_la_SOURCES += \
+ hardware/asix-sigma/asix-sigma.h \
+ hardware/asix-sigma/asix-sigma.c
+endif
+if HW_ATTEN_PPS3XXX
+libsigrok_la_SOURCES += \
+ hardware/atten-pps3xxx/protocol.h \
+ hardware/atten-pps3xxx/protocol.c \
+ hardware/atten-pps3xxx/api.c
+endif
+if HW_BRYMEN_BM86X
+libsigrok_la_SOURCES += \
+ hardware/brymen-bm86x/protocol.h \
+ hardware/brymen-bm86x/protocol.c \
+ hardware/brymen-bm86x/api.c
+endif
+if HW_BRYMEN_DMM
+libsigrok_la_SOURCES += \
+ hardware/brymen-dmm/parser.c \
+ hardware/brymen-dmm/protocol.h \
+ hardware/brymen-dmm/protocol.c \
+ hardware/brymen-dmm/api.c
+endif
+if HW_CEM_DT_885X
+libsigrok_la_SOURCES += \
+ hardware/cem-dt-885x/protocol.h \
+ hardware/cem-dt-885x/protocol.c \
+ hardware/cem-dt-885x/api.c
+endif
+if HW_CENTER_3XX
+libsigrok_la_SOURCES += \
+ hardware/center-3xx/protocol.h \
+ hardware/center-3xx/protocol.c \
+ hardware/center-3xx/api.c
+endif
+if HW_CHRONOVU_LA8
+libsigrok_la_SOURCES += \
+ hardware/chronovu-la8/protocol.h \
+ hardware/chronovu-la8/protocol.c \
+ hardware/chronovu-la8/api.c
+endif
+if HW_COLEAD_SLM
+libsigrok_la_SOURCES += \
+ hardware/colead-slm/protocol.h \
+ hardware/colead-slm/protocol.c \
+ hardware/colead-slm/api.c
+endif
+if HW_CONRAD_DIGI_35_CPU
+libsigrok_la_SOURCES += \
+ hardware/conrad-digi-35-cpu/protocol.h \
+ hardware/conrad-digi-35-cpu/protocol.c \
+ hardware/conrad-digi-35-cpu/api.c
+endif
+if HW_DEMO
+libsigrok_la_SOURCES += \
+ hardware/demo/demo.c
+endif
+if HW_FLUKE_DMM
+libsigrok_la_SOURCES += \
+ hardware/fluke-dmm/fluke-dmm.h \
+ hardware/fluke-dmm/fluke.c \
+ hardware/fluke-dmm/api.c
+endif
+if HW_FX2LAFW
+libsigrok_la_SOURCES += \
+ hardware/fx2lafw/protocol.h \
+ hardware/fx2lafw/protocol.c \
+ hardware/fx2lafw/api.c
+endif
+if HW_GMC_MH_1X_2X
+libsigrok_la_SOURCES += \
+ hardware/gmc-mh-1x-2x/protocol.h \
+ hardware/gmc-mh-1x-2x/protocol.c \
+ hardware/gmc-mh-1x-2x/api.c
+endif
+if HW_HAMEG_HMO
+libsigrok_la_SOURCES += \
+ hardware/hameg-hmo/protocol.h \
+ hardware/hameg-hmo/protocol.c \
+ hardware/hameg-hmo/api.c
+endif
+if HW_HANTEK_DSO
+libsigrok_la_SOURCES += \
+ hardware/hantek-dso/dso.h \
+ hardware/hantek-dso/dso.c \
+ hardware/hantek-dso/api.c
+endif
+if HW_IKALOGIC_SCANALOGIC2
+libsigrok_la_SOURCES += \
+ hardware/ikalogic-scanalogic2/protocol.h \
+ hardware/ikalogic-scanalogic2/protocol.c \
+ hardware/ikalogic-scanalogic2/api.c
+endif
+if HW_IKALOGIC_SCANAPLUS
+libsigrok_la_SOURCES += \
+ hardware/ikalogic-scanaplus/protocol.h \
+ hardware/ikalogic-scanaplus/protocol.c \
+ hardware/ikalogic-scanaplus/api.c
+endif
+if HW_KECHENG_KC_330B
+libsigrok_la_SOURCES += \
+ hardware/kecheng-kc-330b/protocol.h \
+ hardware/kecheng-kc-330b/protocol.c \
+ hardware/kecheng-kc-330b/api.c
+endif
+if HW_LASCAR_EL_USB
+libsigrok_la_SOURCES += \
+ hardware/lascar-el-usb/protocol.h \
+ hardware/lascar-el-usb/protocol.c \
+ hardware/lascar-el-usb/api.c
+endif
+if HW_LINK_MSO19
+libsigrok_la_SOURCES += \
+ hardware/link-mso19/protocol.h \
+ hardware/link-mso19/protocol.c \
+ hardware/link-mso19/api.c
+endif
+if HW_MIC_985XX
+libsigrok_la_SOURCES += \
+ hardware/mic-985xx/protocol.h \
+ hardware/mic-985xx/protocol.c \
+ hardware/mic-985xx/api.c
+endif
+if HW_NORMA_DMM
+libsigrok_la_SOURCES += \
+ hardware/norma-dmm/protocol.h \
+ hardware/norma-dmm/protocol.c \
+ hardware/norma-dmm/api.c
+endif
+if HW_OLS
+libsigrok_la_SOURCES += \
+ hardware/openbench-logic-sniffer/protocol.h \
+ hardware/openbench-logic-sniffer/protocol.c \
+ hardware/openbench-logic-sniffer/api.c
+endif
+if HW_RIGOL_DS
+libsigrok_la_SOURCES += \
+ hardware/rigol-ds/protocol.h \
+ hardware/rigol-ds/protocol.c \
+ hardware/rigol-ds/api.c
+endif
+if HW_SALEAE_LOGIC16
+libsigrok_la_SOURCES += \
+ hardware/saleae-logic16/protocol.h \
+ hardware/saleae-logic16/protocol.c \
+ hardware/saleae-logic16/api.c
+endif
+if HW_SERIAL_DMM
+libsigrok_la_SOURCES += \
+ hardware/serial-dmm/protocol.h \
+ hardware/serial-dmm/protocol.c \
+ hardware/serial-dmm/api.c
+endif
+if HW_SYSCLK_LWLA
+libsigrok_la_SOURCES += \
+ hardware/sysclk-lwla/lwla.h \
+ hardware/sysclk-lwla/lwla.c \
+ hardware/sysclk-lwla/protocol.h \
+ hardware/sysclk-lwla/protocol.c \
+ hardware/sysclk-lwla/api.c
+endif
+if HW_TELEINFO
+libsigrok_la_SOURCES += \
+ hardware/teleinfo/protocol.h \
+ hardware/teleinfo/protocol.c \
+ hardware/teleinfo/api.c
+endif
+if HW_TONDAJ_SL_814
+libsigrok_la_SOURCES += \
+ hardware/tondaj-sl-814/protocol.h \
+ hardware/tondaj-sl-814/protocol.c \
+ hardware/tondaj-sl-814/api.c
+endif
+if HW_UNI_T_DMM
+libsigrok_la_SOURCES += \
+ hardware/uni-t-dmm/protocol.h \
+ hardware/uni-t-dmm/protocol.c \
+ hardware/uni-t-dmm/api.c
+endif
+if HW_UNI_T_UT32X
+libsigrok_la_SOURCES += \
+ hardware/uni-t-ut32x/protocol.h \
+ hardware/uni-t-ut32x/protocol.c \
+ hardware/uni-t-ut32x/api.c
+endif
+if HW_VICTOR_DMM
+libsigrok_la_SOURCES += \
+ hardware/victor-dmm/protocol.h \
+ hardware/victor-dmm/protocol.c \
+ hardware/victor-dmm/api.c
+endif
+if HW_ZEROPLUS_LOGIC_CUBE
+libsigrok_la_SOURCES += \
+ hardware/zeroplus-logic-cube/analyzer.c \
+ hardware/zeroplus-logic-cube/analyzer.h \
+ hardware/zeroplus-logic-cube/gl_usb.h \
+ hardware/zeroplus-logic-cube/gl_usb.c \
+ hardware/zeroplus-logic-cube/protocol.h \
+ hardware/zeroplus-logic-cube/protocol.c \
+ hardware/zeroplus-logic-cube/api.c
+endif
+
+libsigrok_la_LIBADD = $(LIBOBJS)
libsigrok_la_LDFLAGS = $(SR_LIB_LDFLAGS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libsigrok.pc
-EXTRA_DIST = Doxyfile HACKING README.devices
+EXTRA_DIST = \
+ Doxyfile \
+ HACKING \
+ README.devices \
+ contrib/gnuplot_chronovu_la8.gpi \
+ contrib/gnuplot_rigol_ds1xx2.gpi \
+ contrib/gnuplot_usbeesx.gpi \
+ contrib/gnuplot_usbeedx8.gpi \
+ contrib/gnuplot_usbeedx16.gpi \
+ contrib/sigrok-logo-notext.png \
+ contrib/z60_libsigrok.rules
+
+if HAVE_CHECK
+
+TESTS = tests/check_main
+
+check_PROGRAMS = ${TESTS}
+
+tests_check_main_SOURCES = \
+ libsigrok.h \
+ tests/lib.c \
+ tests/lib.h \
+ tests/check_main.c \
+ tests/check_core.c \
+ tests/check_input_all.c \
+ tests/check_input_binary.c \
+ tests/check_output_all.c \
+ tests/check_strutil.c \
+ tests/check_version.c \
+ tests/check_driver_all.c
+
+tests_check_main_CFLAGS = @check_CFLAGS@
+
+tests_check_main_LDADD = $(top_builddir)/libsigrok.la @check_LIBS@
+
+endif
MAINTAINERCLEANFILES = ChangeLog
AC_CONFIG_AUX_DIR([autostuff])
# We require at least automake 1.11 (needed for 'silent rules').
-AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news color-tests])
+AM_INIT_AUTOMAKE([1.11 -Wall -Werror subdir-objects check-news color-tests])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_SUBST(SR_PACKAGE_VERSION_MICRO)
AC_SUBST(SR_PACKAGE_VERSION)
-AC_CONFIG_FILES([Makefile version.h hardware/Makefile
- hardware/agilent-dmm/Makefile
- hardware/alsa/Makefile
- hardware/appa-55ii/Makefile
- hardware/asix-sigma/Makefile
- hardware/atten-pps3xxx/Makefile
- hardware/brymen-bm86x/Makefile
- hardware/brymen-dmm/Makefile
- hardware/cem-dt-885x/Makefile
- hardware/center-3xx/Makefile
- hardware/chronovu-la8/Makefile
- hardware/colead-slm/Makefile
- hardware/common/Makefile
- hardware/conrad-digi-35-cpu/Makefile
- hardware/gmc-mh-1x-2x/Makefile
- hardware/hameg-hmo/Makefile
- hardware/ikalogic-scanalogic2/Makefile
- hardware/ikalogic-scanaplus/Makefile
- hardware/kecheng-kc-330b/Makefile
- hardware/lascar-el-usb/Makefile
- hardware/mic-985xx/Makefile
- hardware/rigol-ds/Makefile
- hardware/saleae-logic16/Makefile
- hardware/sysclk-lwla/Makefile
- hardware/teleinfo/Makefile
- hardware/tondaj-sl-814/Makefile
- hardware/victor-dmm/Makefile
- hardware/common/dmm/Makefile
- hardware/demo/Makefile
- hardware/fluke-dmm/Makefile
- hardware/fx2lafw/Makefile
- hardware/hantek-dso/Makefile
- hardware/link-mso19/Makefile
- hardware/norma-dmm/Makefile
- hardware/openbench-logic-sniffer/Makefile
- hardware/serial-dmm/Makefile
- hardware/uni-t-dmm/Makefile
- hardware/uni-t-ut32x/Makefile
- hardware/zeroplus-logic-cube/Makefile
- input/Makefile
- output/Makefile
- output/text/Makefile
- libsigrok.pc
- contrib/Makefile
- tests/Makefile
- ])
+AC_CONFIG_FILES([Makefile version.h libsigrok.pc])
AC_OUTPUT
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2010 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-EXTRA_DIST = gnuplot_chronovu_la8.gpi \
- gnuplot_rigol_ds1xx2.gpi \
- gnuplot_usbeesx.gpi \
- gnuplot_usbeedx8.gpi \
- gnuplot_usbeedx16.gpi \
- sigrok-logo-notext.png \
- z60_libsigrok.rules
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-## Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-SUBDIRS = \
- agilent-dmm \
- alsa \
- appa-55ii \
- asix-sigma \
- atten-pps3xxx \
- brymen-bm86x \
- brymen-dmm \
- cem-dt-885x \
- center-3xx \
- chronovu-la8 \
- colead-slm \
- common \
- conrad-digi-35-cpu \
- demo \
- fluke-dmm \
- fx2lafw \
- gmc-mh-1x-2x \
- hameg-hmo \
- hantek-dso \
- ikalogic-scanalogic2 \
- ikalogic-scanaplus \
- kecheng-kc-330b \
- lascar-el-usb \
- link-mso19 \
- mic-985xx \
- norma-dmm \
- openbench-logic-sniffer \
- rigol-ds \
- saleae-logic16 \
- serial-dmm \
- sysclk-lwla \
- teleinfo \
- tondaj-sl-814 \
- uni-t-dmm \
- uni-t-ut32x \
- victor-dmm \
- zeroplus-logic-cube
-
-noinst_LTLIBRARIES = libsigrokhardware.la
-
-libsigrokhardware_la_SOURCES =
-
-libsigrokhardware_la_LIBADD = \
- common/libsigrok_hw_common.la
-
-if HW_AGILENT_DMM
-libsigrokhardware_la_LIBADD += agilent-dmm/libsigrok_hw_agilent_dmm.la
-endif
-
-if HW_ALSA
-libsigrokhardware_la_LIBADD += alsa/libsigrok_hw_alsa.la
-endif
-
-if HW_APPA_55II
-libsigrokhardware_la_LIBADD += appa-55ii/libsigrok_hw_appa_55ii.la
-endif
-
-if HW_ASIX_SIGMA
-libsigrokhardware_la_LIBADD += asix-sigma/libsigrok_hw_asix_sigma.la
-endif
-
-if HW_ATTEN_PPS3XXX
-libsigrokhardware_la_LIBADD += atten-pps3xxx/libsigrok_hw_atten_pps3xxx.la
-endif
-
-if HW_BRYMEN_BM86X
-libsigrokhardware_la_LIBADD += brymen-bm86x/libsigrok_hw_brymen_bm86x.la
-endif
-
-if HW_BRYMEN_DMM
-libsigrokhardware_la_LIBADD += brymen-dmm/libsigrok_hw_brymen_dmm.la
-endif
-
-if HW_CEM_DT_885X
-libsigrokhardware_la_LIBADD += cem-dt-885x/libsigrok_hw_cem_dt_885x.la
-endif
-
-if HW_CENTER_3XX
-libsigrokhardware_la_LIBADD += center-3xx/libsigrok_hw_center_3xx.la
-endif
-
-if HW_CHRONOVU_LA8
-libsigrokhardware_la_LIBADD += chronovu-la8/libsigrok_hw_chronovu_la8.la
-endif
-
-if HW_COLEAD_SLM
-libsigrokhardware_la_LIBADD += colead-slm/libsigrok_hw_colead_slm.la
-endif
-
-if HW_CONRAD_DIGI_35_CPU
-libsigrokhardware_la_LIBADD += conrad-digi-35-cpu/libsigrok_hw_conrad_digi_35_cpu.la
-endif
-
-if HW_DEMO
-libsigrokhardware_la_LIBADD += demo/libsigrok_hw_demo.la
-endif
-
-if HW_FLUKE_DMM
-libsigrokhardware_la_LIBADD += fluke-dmm/libsigrok_hw_fluke_dmm.la
-endif
-
-if HW_FX2LAFW
-libsigrokhardware_la_LIBADD += fx2lafw/libsigrok_hw_fx2lafw.la
-endif
-
-if HW_GMC_MH_1X_2X
-libsigrokhardware_la_LIBADD += gmc-mh-1x-2x/libsigrok_hw_gmc_mh_1x_2x.la
-endif
-
-if HW_HAMEG_HMO
-libsigrokhardware_la_LIBADD += hameg-hmo/libsigrok_hw_hameg_hmo.la
-endif
-
-if HW_HANTEK_DSO
-libsigrokhardware_la_LIBADD += hantek-dso/libsigrok_hw_hantek_dso.la
-endif
-
-if HW_IKALOGIC_SCANALOGIC2
-libsigrokhardware_la_LIBADD += ikalogic-scanalogic2/libsigrok_hw_ikalogic_scanalogic2.la
-endif
-
-if HW_IKALOGIC_SCANAPLUS
-libsigrokhardware_la_LIBADD += ikalogic-scanaplus/libsigrok_hw_ikalogic_scanaplus.la
-endif
-
-if HW_KECHENG_KC_330B
-libsigrokhardware_la_LIBADD += kecheng-kc-330b/libsigrok_hw_kecheng_kc_330b.la
-endif
-
-if HW_LASCAR_EL_USB
-libsigrokhardware_la_LIBADD += lascar-el-usb/libsigrok_hw_lascar_el_usb.la
-endif
-
-if HW_LINK_MSO19
-libsigrokhardware_la_LIBADD += link-mso19/libsigrok_hw_link_mso_19.la
-endif
-
-if HW_MIC_985XX
-libsigrokhardware_la_LIBADD += mic-985xx/libsigrok_hw_mic_985xx.la
-endif
-
-if HW_NORMA_DMM
-libsigrokhardware_la_LIBADD += norma-dmm/libsigrok_hw_norma_dmm.la
-endif
-
-if HW_OLS
-libsigrokhardware_la_LIBADD += openbench-logic-sniffer/libsigrok_hw_ols.la
-endif
-
-if HW_RIGOL_DS
-libsigrokhardware_la_LIBADD += rigol-ds/libsigrok_hw_rigol_ds.la
-endif
-
-if HW_SALEAE_LOGIC16
-libsigrokhardware_la_LIBADD += saleae-logic16/libsigrok_hw_saleae_logic16.la
-endif
-
-if HW_SERIAL_DMM
-libsigrokhardware_la_LIBADD += serial-dmm/libsigrok_hw_serial_dmm.la
-endif
-
-if HW_SYSCLK_LWLA
-libsigrokhardware_la_LIBADD += sysclk-lwla/libsigrok_hw_sysclk_lwla.la
-endif
-
-if HW_TELEINFO
-libsigrokhardware_la_LIBADD += teleinfo/libsigrok_hw_teleinfo.la
-endif
-
-if HW_TONDAJ_SL_814
-libsigrokhardware_la_LIBADD += tondaj-sl-814/libsigrok_hw_tondaj_sl_814.la
-endif
-
-if HW_UNI_T_DMM
-libsigrokhardware_la_LIBADD += uni-t-dmm/libsigrok_hw_uni_t_dmm.la
-endif
-
-if HW_UNI_T_UT32X
-libsigrokhardware_la_LIBADD += uni-t-ut32x/libsigrok_hw_uni_t_ut32x.la
-endif
-
-if HW_VICTOR_DMM
-libsigrokhardware_la_LIBADD += victor-dmm/libsigrok_hw_victor_dmm.la
-endif
-
-if HW_ZEROPLUS_LOGIC_CUBE
-libsigrokhardware_la_LIBADD += zeroplus-logic-cube/libsigrok_hw_zeroplus.la
-endif
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_AGILENT_DMM
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_agilent_dmm.la
-
-libsigrok_hw_agilent_dmm_la_SOURCES = \
- api.c \
- agilent-dmm.h \
- sched.c
-
-libsigrok_hw_agilent_dmm_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_ALSA
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_alsa.la
-
-libsigrok_hw_alsa_la_SOURCES = \
- protocol.h \
- protocol.c \
- api.c
-
-libsigrok_hw_alsa_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Aurelien Jacobs <aurel@gnuage.org>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_APPA_55II
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_appa_55ii.la
-
-libsigrok_hw_appa_55ii_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_appa_55ii_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_ASIX_SIGMA
-
-AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_asix_sigma.la
-
-libsigrok_hw_asix_sigma_la_SOURCES = \
- asix-sigma.c \
- asix-sigma.h
-
-libsigrok_hw_asix_sigma_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2014 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_ATTEN_PPS3XXX
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_atten_pps3xxx.la
-
-libsigrok_hw_atten_pps3xxx_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_atten_pps3xxx_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2014 Aurelien Jacobs <aurel@gnuage.org>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_BRYMEN_BM86X
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_brymen_bm86x.la
-
-libsigrok_hw_brymen_bm86x_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_brymen_bm86x_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_BRYMEN_DMM
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_brymen_dmm.la
-
-libsigrok_hw_brymen_dmm_la_SOURCES = \
- api.c \
- parser.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_brymen_dmm_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_CEM_DT_885X
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_cem_dt_885x.la
-
-libsigrok_hw_cem_dt_885x_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_cem_dt_885x_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-if HW_CENTER_3XX
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_center_3xx.la
-
-libsigrok_hw_center_3xx_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_center_3xx_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-if HW_CHRONOVU_LA8
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_chronovu_la8.la
-
-libsigrok_hw_chronovu_la8_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_chronovu_la8_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_COLEAD_SLM
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_colead_slm.la
-
-libsigrok_hw_colead_slm_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_colead_slm_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-SUBDIRS = dmm
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_common.la
-
-libsigrok_hw_common_la_SOURCES = scpi.c scpi_tcp.c scpi_usbtmc.c
-
-if NEED_RPC
-libsigrok_hw_common_la_SOURCES += scpi_vxi.c vxi_clnt.c vxi_xdr.c
-endif
-
-if NEED_SERIAL
-libsigrok_hw_common_la_SOURCES += serial.c scpi_serial.c
-endif
-
-if NEED_USB
-libsigrok_hw_common_la_SOURCES += ezusb.c usb.c scpi_usbtmc_libusb.c
-endif
-
-if NEED_VISA
-libsigrok_hw_common_la_SOURCES += scpi_visa.c
-endif
-
-libsigrok_hw_common_la_LIBADD = dmm/libsigrok_hw_common_dmm.la
-
-libsigrok_hw_common_la_CFLAGS = \
- -I$(top_srcdir)
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_common_dmm.la
-
-libsigrok_hw_common_dmm_la_SOURCES = \
- es519xx.c \
- fs9721.c \
- fs9922.c \
- m2110.c \
- metex14.c \
- rs9lcd.c
-
-libsigrok_hw_common_dmm_la_CFLAGS = \
- -I$(top_srcdir)
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2014 Matthias Heidbrink <m-sigrok@heidbrink.biz>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_CONRAD_DIGI_35_CPU
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_conrad_digi_35_cpu.la
-
-libsigrok_hw_conrad_digi_35_cpu_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_conrad_digi_35_cpu_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_DEMO
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_demo.la
-
-libsigrok_hw_demo_la_SOURCES = \
- demo.c
-
-libsigrok_hw_demo_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_FLUKE_DMM
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_fluke_dmm.la
-
-libsigrok_hw_fluke_dmm_la_SOURCES = \
- api.c \
- fluke.c \
- fluke-dmm.h
-
-libsigrok_hw_fluke_dmm_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_FX2LAFW
-
-AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_fx2lafw.la
-
-libsigrok_hw_fx2lafw_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_fx2lafw_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Matthias Heidbrink <m-sigrok@heidbrink.biz>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_GMC_MH_1X_2X
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_gmc_mh_1x_2x.la
-
-libsigrok_hw_gmc_mh_1x_2x_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_gmc_mh_1x_2x_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 poljar (Damir Jelić) <poljarinho@gmail.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_HAMEG_HMO
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_hameg_hmo.la
-
-libsigrok_hw_hameg_hmo_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_hameg_hmo_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_HANTEK_DSO
-
-AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_hantek_dso.la
-
-libsigrok_hw_hantek_dso_la_SOURCES = \
- api.c \
- dso.c \
- dso.h
-
-libsigrok_hw_hantek_dso_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Marc Schink <sigrok-dev@marcschink.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_IKALOGIC_SCANALOGIC2
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_ikalogic_scanalogic2.la
-
-libsigrok_hw_ikalogic_scanalogic2_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_ikalogic_scanalogic2_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-if HW_IKALOGIC_SCANAPLUS
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_ikalogic_scanaplus.la
-
-libsigrok_hw_ikalogic_scanaplus_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_ikalogic_scanaplus_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_KECHENG_KC_330B
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_kecheng_kc_330b.la
-
-libsigrok_hw_kecheng_kc_330b_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_kecheng_kc_330b_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_LASCAR_EL_USB
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_lascar_el_usb.la
-
-libsigrok_hw_lascar_el_usb_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_lascar_el_usb_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_LINK_MSO19
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_link_mso_19.la
-
-libsigrok_hw_link_mso_19_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_link_mso_19_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_MIC_985XX
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_mic_985xx.la
-
-libsigrok_hw_mic_985xx_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_mic_985xx_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Matthias Heidbrink <m-sigrok@heidbrink.biz>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_NORMA_DMM
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_norma_dmm.la
-
-libsigrok_hw_norma_dmm_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_norma_dmm_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_OLS
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_ols.la
-
-libsigrok_hw_ols_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_ols_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Martin Ling <martin-git@earth.li>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_RIGOL_DS
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_rigol_ds.la
-
-libsigrok_hw_rigol_ds_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_rigol_ds_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Marcus Comstedt <marcus@mc.pp.se>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_SALEAE_LOGIC16
-
-AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_saleae_logic16.la
-
-libsigrok_hw_saleae_logic16_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_saleae_logic16_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_SERIAL_DMM
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_serial_dmm.la
-
-libsigrok_hw_serial_dmm_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_serial_dmm_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2014 Daniel Elstner <daniel.kitta@gmail.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_SYSCLK_LWLA
-
-AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_sysclk_lwla.la
-
-libsigrok_hw_sysclk_lwla_la_SOURCES = \
- api.c \
- lwla.c \
- lwla.h \
- protocol.c \
- protocol.h
-
-libsigrok_hw_sysclk_lwla_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Aurelien Jacobs <aurel@gnuage.org>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_TELEINFO
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_teleinfo.la
-
-libsigrok_hw_teleinfo_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_teleinfo_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-if HW_TONDAJ_SL_814
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_tondaj_sl_814.la
-
-libsigrok_hw_tondaj_sl_814_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_tondaj_sl_814_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-if HW_UNI_T_DMM
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_uni_t_dmm.la
-
-libsigrok_hw_uni_t_dmm_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_uni_t_dmm_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_UNI_T_UT32X
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_uni_t_ut32x.la
-
-libsigrok_hw_uni_t_ut32x_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_uni_t_ut32x_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_VICTOR_DMM
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_victor_dmm.la
-
-libsigrok_hw_victor_dmm_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h
-
-libsigrok_hw_victor_dmm_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-if HW_ZEROPLUS_LOGIC_CUBE
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrok_hw_zeroplus.la
-
-libsigrok_hw_zeroplus_la_SOURCES = \
- api.c \
- protocol.c \
- protocol.h \
- analyzer.c \
- analyzer.h \
- gl_usb.c \
- gl_usb.h
-
-libsigrok_hw_zeroplus_la_CFLAGS = \
- -I$(top_srcdir)
-
-endif
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-## Copyright (C) 2013 Bert Vermeulen <bert@biot.com>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrokinput.la
-
-libsigrokinput_la_SOURCES = \
- binary.c \
- chronovu_la8.c \
- csv.c \
- input.c \
- vcd.c \
- wav.c
-
-libsigrokinput_la_CFLAGS = \
- -I$(top_srcdir)
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program. If not, see <http://www.gnu.org/licenses/>.
-##
-
-SUBDIRS = text
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrokoutput.la
-
-libsigrokoutput_la_SOURCES = \
- binary.c \
- vcd.c \
- ols.c \
- gnuplot.c \
- chronovu_la8.c \
- csv.c \
- analog.c \
- output.c
-
-libsigrokoutput_la_CFLAGS = \
- -I$(top_srcdir)
-
-libsigrokoutput_la_LIBADD = \
- text/libsigrokoutputtext.la
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-# Local lib, this is NOT meant to be installed!
-noinst_LTLIBRARIES = libsigrokoutputtext.la
-
-libsigrokoutputtext_la_SOURCES = \
- text.c \
- text.h \
- bits.c \
- hex.c \
- ascii.c
-
-libsigrokoutputtext_la_CFLAGS = \
- -I$(top_srcdir)
-
+++ /dev/null
-##
-## This file is part of the libsigrok project.
-##
-## Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de>
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-if HAVE_CHECK
-
-TESTS = check_main
-
-check_PROGRAMS = ${TESTS}
-
-check_main_SOURCES = \
- $(top_builddir)/libsigrok.h \
- lib.c \
- lib.h \
- check_main.c \
- check_core.c \
- check_input_all.c \
- check_input_binary.c \
- check_output_all.c \
- check_strutil.c \
- check_version.c \
- check_driver_all.c
-
-check_main_CFLAGS = @check_CFLAGS@
-
-check_main_LDADD = $(top_builddir)/libsigrok.la @check_LIBS@
-
-endif