]> sigrok.org Git - libsigrok.git/blame - Makefile.am
Add initial README.devices file.
[libsigrok.git] / Makefile.am
CommitLineData
62c82025 1##
a1bb33af 2## This file is part of the sigrok 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
79bb0e97 25SUBDIRS = contrib hardware input output tests
340f6e7a 26
8a7b47cd 27lib_LTLIBRARIES = libsigrok.la
a1bb33af 28
a695d6c0 29libsigrok_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 \
29682168 39 version.c \
063e7aef
UH
40 error.c \
41 std.c
960a75e4 42
340f6e7a
UH
43libsigrok_la_LIBADD = \
44 $(LIBOBJS) \
45 hardware/libsigrokhardware.la \
46 input/libsigrokinput.la \
47 output/libsigrokoutput.la
a1bb33af 48
6dddd902 49libsigrok_la_LDFLAGS = $(SR_LIB_LDFLAGS)
eeebceea 50
45c59c8b
BV
51library_includedir = $(includedir)/libsigrok
52library_include_HEADERS = libsigrok.h proto.h version.h
53noinst_HEADERS = libsigrok-internal.h
a1bb33af 54
8a7b47cd
UH
55pkgconfigdir = $(libdir)/pkgconfig
56pkgconfig_DATA = libsigrok.pc
d658e348 57
c77ed446 58EXTRA_DIST = Doxyfile README.devices
dd8b5f56 59
c0958408 60MAINTAINERCLEANFILES = ChangeLog
0fc12d66
UH
61
62.PHONY: ChangeLog
63ChangeLog:
bd58d8f3 64 git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
0fc12d66
UH
65
66dist-hook: ChangeLog
67