configure.ac: Do not assign user variables
[libjaylink.git] / libjaylink / Makefile.am
blobb0a9f4d7d7e68d8e70f19c98b1635c65e4e8fe7c
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 = \
27         libjaylink.h \
28         version.h
29 endif
31 libjaylink_la_SOURCES = \
32         buffer.c \
33         core.c \
34         device.c \
35         discovery.c \
36         emucom.c \
37         error.c \
38         fileio.c \
39         jtag.c \
40         list.c \
41         log.c \
42         strutil.c \
43         swd.c \
44         swo.c \
45         target.c \
46         transport.c \
47         util.c \
48         version.c
50 libjaylink_la_CFLAGS = $(JAYLINK_CFLAGS) $(libusb_CFLAGS)
51 libjaylink_la_LDFLAGS = $(JAYLINK_LDFLAGS) -no-undefined
52 libjaylink_la_LIBADD = $(JAYLINK_LIBS) $(libusb_LIBS)
54 noinst_HEADERS = libjaylink-internal.h