]> sigrok.org Git - libsigrok.git/blame_incremental - hardware/common/Makefile.am
scpi_usbtmc_libusb.c: Fix two error checks.
[libsigrok.git] / hardware / common / Makefile.am
... / ...
CommitLineData
1##
2## This file is part of the libsigrok project.
3##
4## Copyright (C) 2011 Uwe Hermann <uwe@hermann-uwe.de>
5##
6## This program is free software: you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation, either version 3 of the License, or
9## (at your option) any later version.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License
17## along with this program. If not, see <http://www.gnu.org/licenses/>.
18##
19
20SUBDIRS = dmm
21
22# Local lib, this is NOT meant to be installed!
23noinst_LTLIBRARIES = libsigrok_hw_common.la
24
25libsigrok_hw_common_la_SOURCES = scpi.c scpi_tcp.c scpi_usbtmc.c
26
27if NEED_RPC
28libsigrok_hw_common_la_SOURCES += scpi_vxi.c vxi_clnt.c vxi_xdr.c
29endif
30
31if NEED_SERIAL
32libsigrok_hw_common_la_SOURCES += serial.c scpi_serial.c
33endif
34
35if NEED_USB
36libsigrok_hw_common_la_SOURCES += ezusb.c usb.c scpi_usbtmc_libusb.c
37endif
38
39if NEED_VISA
40libsigrok_hw_common_la_SOURCES += scpi_visa.c
41endif
42
43libsigrok_hw_common_la_LIBADD = dmm/libsigrok_hw_common_dmm.la
44
45libsigrok_hw_common_la_CFLAGS = \
46 -I$(top_srcdir)
47