]> sigrok.org Git - libsigrok.git/blame - hardware/common/Makefile.am
scpi_usbtmc_libusb.c: Fix two error checks.
[libsigrok.git] / hardware / common / Makefile.am
CommitLineData
340f6e7a 1##
50985c20 2## This file is part of the libsigrok project.
340f6e7a
UH
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
79081ec8
UH
20SUBDIRS = dmm
21
340f6e7a 22# Local lib, this is NOT meant to be installed!
2a052cc4 23noinst_LTLIBRARIES = libsigrok_hw_common.la
340f6e7a 24
a44a804b 25libsigrok_hw_common_la_SOURCES = scpi.c scpi_tcp.c scpi_usbtmc.c
c4f2dfd0 26
d5876cfb
AJ
27if NEED_RPC
28libsigrok_hw_common_la_SOURCES += scpi_vxi.c vxi_clnt.c vxi_xdr.c
29endif
30
c4f2dfd0 31if NEED_SERIAL
a44a804b 32libsigrok_hw_common_la_SOURCES += serial.c scpi_serial.c
c4f2dfd0 33endif
af812219 34
3fd1d0ee 35if NEED_USB
20ed3cee 36libsigrok_hw_common_la_SOURCES += ezusb.c usb.c scpi_usbtmc_libusb.c
94c26b08
JH
37endif
38
1fb2312f
ML
39if NEED_VISA
40libsigrok_hw_common_la_SOURCES += scpi_visa.c
41endif
42
2a052cc4 43libsigrok_hw_common_la_LIBADD = dmm/libsigrok_hw_common_dmm.la
79081ec8 44
2a052cc4 45libsigrok_hw_common_la_CFLAGS = \
db8ae7b9 46 -I$(top_srcdir)
340f6e7a 47