NEWS: Update for 0.1.0 release
[libjaylink.git] / libjaylink / Makefile.am
blobdd709fb8d520ad87655812dfc9dc9f4e9650183d
1 ##
2 ## This file is part of the libjaylink project.
3 ##
4 ## Copyright (C) 2014-2015 Marc Schink <jaylink-dev@marcschink.de>
5 ##
6 ## This program is free software: you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation, either version 2 of the License, or
9 ## (at your option) any later version.
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 if SUBPROJECT_BUILD
21 noinst_LTLIBRARIES = libjaylink.la
22 else
23 lib_LTLIBRARIES = libjaylink.la
25 library_includedir = $(includedir)/libjaylink
26 library_include_HEADERS = libjaylink.h
27 nodist_library_include_HEADERS = version.h
28 endif
30 libjaylink_la_SOURCES = \
31         buffer.c \
32         core.c \
33         device.c \
34         discovery.c \
35         emucom.c \
36         error.c \
37         fileio.c \
38         jtag.c \
39         list.c \
40         log.c \
41         strutil.c \
42         swd.c \
43         swo.c \
44         target.c \
45         transport.c \
46         util.c \
47         version.c
49 libjaylink_la_CFLAGS = $(JAYLINK_CFLAGS) $(libusb_CFLAGS)
50 libjaylink_la_LDFLAGS = $(JAYLINK_LDFLAGS) -no-undefined
51 libjaylink_la_LIBADD = $(JAYLINK_LIBS) $(libusb_LIBS)
53 noinst_HEADERS = libjaylink-internal.h