2 ## This file is part of the sigrok project.
4 ## Copyright (C) 2010 Bert Vermeulen <bert@biot.com>
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.
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.
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/>.
20 AM_CPPFLAGS = -I $(top_srcdir)/libsigrok \
21 -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
23 lib_LTLIBRARIES = libsigrok.la
25 libsigrok_la_SOURCES = \
32 hardware/common/ezusb.c \
33 hardware/common/misc.c \
34 hardware/common/serial.c \
35 input/input_binary.c \
37 output/output_binary.c \
38 output/output_text.c \
40 output/output_gnuplot.c \
45 libsigrok_la_SOURCES += \
46 hardware/asix-sigma/asix-sigma.c \
47 hardware/asix-sigma/asix-sigma.h
50 hardware/asix-sigma/asix-sigma.c \
51 hardware/asix-sigma/asix-sigma.h
55 libsigrok_la_SOURCES += hardware/openbench-logic-sniffer/ols.c
57 EXTRA_DIST = hardware/openbench-logic-sniffer/ols.c
61 libsigrok_la_SOURCES += hardware/saleae-logic/saleae-logic.c
63 EXTRA_DIST = hardware/saleae-logic/saleae-logic.c
66 if LA_ZEROPLUS_LOGIC_CUBE
67 libsigrok_la_SOURCES += \
68 hardware/zeroplus-logic-cube/analyzer.c \
69 hardware/zeroplus-logic-cube/analyzer.h \
70 hardware/zeroplus-logic-cube/gl_usb.c \
71 hardware/zeroplus-logic-cube/gl_usb.h \
72 hardware/zeroplus-logic-cube/zeroplus.c
75 hardware/zeroplus-logic-cube/analyzer.c \
76 hardware/zeroplus-logic-cube/analyzer.h \
77 hardware/zeroplus-logic-cube/gl_usb.c \
78 hardware/zeroplus-logic-cube/gl_usb.h \
79 hardware/zeroplus-logic-cube/zeroplus.c
82 libsigrok_la_LIBADD = $(LIBOBJS)
84 include_HEADERS = sigrok.h
86 pkgconfigdir = $(libdir)/pkgconfig
87 pkgconfig_DATA = libsigrok.pc