]> sigrok.org Git - libsigrok.git/blame - Makefile.am
serial.c: Fix copy-paste error.
[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
fb6f1978 25SUBDIRS = contrib hardware input output
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 \
b5a8e848 40 error.c
960a75e4 41
340f6e7a
UH
42libsigrok_la_LIBADD = \
43 $(LIBOBJS) \
44 hardware/libsigrokhardware.la \
45 input/libsigrokinput.la \
46 output/libsigrokoutput.la
a1bb33af 47
6dddd902 48libsigrok_la_LDFLAGS = $(SR_LIB_LDFLAGS)
eeebceea 49
45c59c8b
BV
50library_includedir = $(includedir)/libsigrok
51library_include_HEADERS = libsigrok.h proto.h version.h
52noinst_HEADERS = libsigrok-internal.h
a1bb33af 53
8a7b47cd
UH
54pkgconfigdir = $(libdir)/pkgconfig
55pkgconfig_DATA = libsigrok.pc
d658e348 56
dd8b5f56
UH
57EXTRA_DIST = Doxyfile
58
c0958408 59MAINTAINERCLEANFILES = ChangeLog
0fc12d66
UH
60
61.PHONY: ChangeLog
62ChangeLog:
bd58d8f3 63 git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
0fc12d66
UH
64
65dist-hook: ChangeLog
66