]> sigrok.org Git - libsigrok.git/blame - hardware/common/Makefile.am
configure.ac: libserialport is optional.
[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
c4f2dfd0
UH
25libsigrok_hw_common_la_SOURCES =
26
27if NEED_SERIAL
28libsigrok_hw_common_la_SOURCES += serial.c
29endif
af812219 30
3fd1d0ee 31if NEED_USB
2a052cc4 32libsigrok_hw_common_la_SOURCES += ezusb.c usb.c
94c26b08
JH
33endif
34
2a052cc4 35libsigrok_hw_common_la_LIBADD = dmm/libsigrok_hw_common_dmm.la
79081ec8 36
2a052cc4 37libsigrok_hw_common_la_CFLAGS = \
db8ae7b9 38 -I$(top_srcdir)
340f6e7a 39