2010-04-15 18:16:53 +00:00
|
|
|
##
|
2013-04-23 20:24:30 +00:00
|
|
|
## This file is part of the libsigrok project.
|
2010-04-15 18:16:53 +00:00
|
|
|
##
|
2012-02-13 13:31:51 +00:00
|
|
|
## Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
|
2012-10-15 06:17:32 +00:00
|
|
|
## Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
2010-04-15 18:16:53 +00:00
|
|
|
##
|
2010-04-02 18:18:27 +00:00
|
|
|
## 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.
|
2010-04-15 18:16:53 +00:00
|
|
|
##
|
2010-04-02 18:18:27 +00:00
|
|
|
## 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.
|
2010-04-15 18:16:53 +00:00
|
|
|
##
|
2010-04-02 18:18:27 +00:00
|
|
|
## You should have received a copy of the GNU General Public License
|
|
|
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2010-04-15 18:16:53 +00:00
|
|
|
##
|
2010-04-02 18:18:27 +00:00
|
|
|
|
2012-01-03 20:55:48 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I autostuff
|
2011-12-30 09:42:39 +00:00
|
|
|
|
2011-12-30 09:50:00 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)
|
2010-04-02 18:18:27 +00:00
|
|
|
|
2013-03-07 08:37:42 +00:00
|
|
|
SUBDIRS = contrib hardware input output tests
|
2011-01-08 02:32:25 +00:00
|
|
|
|
2011-04-03 21:18:46 +00:00
|
|
|
lib_LTLIBRARIES = libsigrok.la
|
2010-04-02 18:18:27 +00:00
|
|
|
|
2010-04-02 18:26:48 +00:00
|
|
|
libsigrok_la_SOURCES = \
|
2010-04-02 18:18:27 +00:00
|
|
|
backend.c \
|
|
|
|
device.c \
|
|
|
|
session.c \
|
2011-01-31 21:34:14 +00:00
|
|
|
session_file.c \
|
|
|
|
session_driver.c \
|
2012-02-28 22:53:17 +00:00
|
|
|
hwdriver.c \
|
2011-01-31 21:29:40 +00:00
|
|
|
filter.c \
|
2011-04-14 07:46:53 +00:00
|
|
|
strutil.c \
|
2012-04-15 18:33:45 +00:00
|
|
|
log.c \
|
2012-10-22 09:54:40 +00:00
|
|
|
version.c \
|
2013-01-29 11:55:00 +00:00
|
|
|
error.c \
|
|
|
|
std.c
|
2010-06-24 23:11:11 +00:00
|
|
|
|
2011-01-08 02:32:25 +00:00
|
|
|
libsigrok_la_LIBADD = \
|
|
|
|
$(LIBOBJS) \
|
|
|
|
hardware/libsigrokhardware.la \
|
|
|
|
input/libsigrokinput.la \
|
|
|
|
output/libsigrokoutput.la
|
2010-04-02 18:18:27 +00:00
|
|
|
|
2012-03-31 09:28:24 +00:00
|
|
|
libsigrok_la_LDFLAGS = $(SR_LIB_LDFLAGS)
|
2011-01-23 18:53:50 +00:00
|
|
|
|
2012-07-04 22:55:07 +00:00
|
|
|
library_includedir = $(includedir)/libsigrok
|
|
|
|
library_include_HEADERS = libsigrok.h proto.h version.h
|
|
|
|
noinst_HEADERS = libsigrok-internal.h
|
2010-04-02 18:18:27 +00:00
|
|
|
|
2011-04-03 21:18:46 +00:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = libsigrok.pc
|
2010-05-11 16:07:54 +00:00
|
|
|
|
2013-09-24 07:02:38 +00:00
|
|
|
EXTRA_DIST = Doxyfile HACKING README.devices
|
2012-01-04 01:50:26 +00:00
|
|
|
|
2012-05-29 18:30:15 +00:00
|
|
|
MAINTAINERCLEANFILES = ChangeLog
|
2012-03-28 00:32:52 +00:00
|
|
|
|
|
|
|
.PHONY: ChangeLog
|
|
|
|
ChangeLog:
|
2013-01-14 10:13:58 +00:00
|
|
|
git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
|
2012-03-28 00:32:52 +00:00
|
|
|
|
|
|
|
dist-hook: ChangeLog
|
|
|
|
|