2010-04-15 18:16:53 +00:00
|
|
|
##
|
2010-04-02 18:18:27 +00:00
|
|
|
## This file is part of the sigrok 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
|
|
|
|
2012-05-29 22:00:33 +00:00
|
|
|
SUBDIRS = contrib hardware input output
|
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 \
|
|
|
|
datastore.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 \
|
|
|
|
version.c
|
2012-07-12 19:30:49 +00:00
|
|
|
error.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
|
|
|
|
2012-01-04 01:50:26 +00:00
|
|
|
EXTRA_DIST = Doxyfile
|
|
|
|
|
2012-05-29 18:30:15 +00:00
|
|
|
MAINTAINERCLEANFILES = ChangeLog
|
2012-03-28 00:32:52 +00:00
|
|
|
|
|
|
|
.PHONY: ChangeLog
|
|
|
|
ChangeLog:
|
|
|
|
git --git-dir $(top_srcdir)/../.git log > ChangeLog || touch ChangeLog
|
|
|
|
|
|
|
|
dist-hook: ChangeLog
|
|
|
|
|