X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=8095ff2cd4d6352a9b3b6c76a34f21f4e398ffad;hb=8233ff53ae7c6e120af4784bc61a036882d5c234;hp=14336ed31890678e1794045cfef18c74903c38a8;hpb=a1bb33afbde769156ad4bef7a60579da64aebbb7;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index 14336ed3..8095ff2c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,47 +1,50 @@ -## +## ## This file is part of the sigrok project. -## +## ## Copyright (C) 2010 Bert Vermeulen -## +## ## 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 . -## +## -AM_CPPFLAGS = -I $(top_srcdir)/libsigrok \ - -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"' +AM_CPPFLAGS = -I $(top_srcdir)/libsigrok -lib_LTLIBRARIES = libbackend.la +SUBDIRS = hardware input output firmware -libbackend_la_SOURCES = \ +lib_LTLIBRARIES = libsigrok.la + +libsigrok_la_SOURCES = \ backend.c \ datastore.c \ device.c \ session.c \ + session_file.c \ + session_driver.c \ hwplugin.c \ filter.c \ - hardware/common/ezusb.c \ - hardware/common/serial.c \ - hardware/openbench-logic-sniffer/ols.c \ - hardware/saleae-logic/saleae-logic.c \ - hardware/zeroplus-logic-cube/analyzer.c \ - hardware/zeroplus-logic-cube/analyzer.h \ - hardware/zeroplus-logic-cube/gl_usb.c \ - hardware/zeroplus-logic-cube/gl_usb.h \ - hardware/zeroplus-logic-cube/zeroplus.c \ - output/output_text.c \ - output/output.c - -libbackend_la_LIBADD = $(LIBOBJS) - -include_HEADERS = sigrok.h + strutil.c + +libsigrok_la_LIBADD = \ + $(LIBOBJS) \ + hardware/libsigrokhardware.la \ + input/libsigrokinput.la \ + output/libsigrokoutput.la + +libsigrok_la_LDFLAGS = $(SIGROK_LT_LDFLAGS) + +include_HEADERS = sigrok.h sigrok-proto.h +noinst_HEADERS = sigrok-internal.h + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libsigrok.pc