transport: Add initial TCP/IP support
[libjaylink.git] / libjaylink / Makefile.am
blob3ed3c744922039f1415ab6bb9a00b1c8812c7a70
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         discovery_tcp.c \
36         discovery_usb.c \
37         emucom.c \
38         error.c \
39         fileio.c \
40         jtag.c \
41         list.c \
42         log.c \
43         socket.c \
44         strutil.c \
45         swd.c \
46         swo.c \
47         target.c \
48         transport.c \
49         transport_tcp.c \
50         transport_usb.c \
51         util.c \
52         version.c
54 libjaylink_la_CFLAGS = $(JAYLINK_CFLAGS) $(libusb_CFLAGS)
55 libjaylink_la_LDFLAGS = $(JAYLINK_LDFLAGS) -no-undefined
56 libjaylink_la_LIBADD = $(JAYLINK_LIBS) $(libusb_LIBS)
58 noinst_HEADERS = libjaylink-internal.h