]> sigrok.org Git - libsigrok.git/blame - Makefile.am
Code drop from DreamSourceLabs first source release.
[libsigrok.git] / Makefile.am
CommitLineData
62c82025 1##
f1b296fc 2## This file is part of the libsigrok4DSLogic project.
62c82025 3##
c73d2ea4 4## Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
d375b3c3 5## Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com>
62c82025 6##
a1bb33af
UH
7## This program is free software: you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as published by
9## the Free Software Foundation, either version 3 of the License, or
10## (at your option) any later version.
62c82025 11##
a1bb33af
UH
12## This program is distributed in the hope that it will be useful,
13## but WITHOUT ANY WARRANTY; without even the implied warranty of
14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15## GNU General Public License for more details.
62c82025 16##
a1bb33af
UH
17## You should have received a copy of the GNU General Public License
18## along with this program. If not, see <http://www.gnu.org/licenses/>.
62c82025 19##
a1bb33af 20
d8521c93 21ACLOCAL_AMFLAGS = -I autostuff
826938d8 22
db8ae7b9 23AM_CPPFLAGS = -I$(top_srcdir)
a1bb33af 24
f1b296fc 25SUBDIRS = hardware input output tests
340f6e7a 26
f1b296fc 27lib_LTLIBRARIES = libsigrok4DSLogic.la
a1bb33af 28
f1b296fc 29libsigrok4DSLogic_la_SOURCES = \
a1bb33af 30 backend.c \
a1bb33af
UH
31 device.c \
32 session.c \
7d658874
BV
33 session_file.c \
34 session_driver.c \
c30b417f 35 hwdriver.c \
40f5ddac 36 filter.c \
b08024a8 37 strutil.c \
787c4390 38 log.c \
f1b296fc 39 trigger.c \
29682168 40 version.c \
063e7aef
UH
41 error.c \
42 std.c
960a75e4 43
f1b296fc 44libsigrok4DSLogic_la_LIBADD = \
340f6e7a 45 $(LIBOBJS) \
f1b296fc
BV
46 hardware/libsigrok4DSLogichardware.la \
47 input/libsigrok4DSLogicinput.la \
48 output/libsigrok4DSLogicoutput.la
a1bb33af 49
f1b296fc 50libsigrok4DSLogic_la_LDFLAGS = $(SR_LIB_LDFLAGS)
eeebceea 51
f1b296fc 52library_includedir = $(includedir)/libsigrok4DSLogic
45c59c8b
BV
53library_include_HEADERS = libsigrok.h proto.h version.h
54noinst_HEADERS = libsigrok-internal.h
a1bb33af 55
8a7b47cd 56pkgconfigdir = $(libdir)/pkgconfig
f1b296fc 57pkgconfig_DATA = libsigrok4DSLogic.pc
d658e348 58
c77ed446 59EXTRA_DIST = Doxyfile README.devices
dd8b5f56 60
c0958408 61MAINTAINERCLEANFILES = ChangeLog
0fc12d66
UH
62
63.PHONY: ChangeLog
64ChangeLog:
bd58d8f3 65 git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
0fc12d66
UH
66
67dist-hook: ChangeLog
68