summaryrefslogtreecommitdiffstats
path: root/src/usb/Makefile.am
blob: bca39bfe344054a96452efc590415a600995fd4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This is _NOT_ the library release version, it's an API version.
# Please read chapter "Library interface versions" of the libtool documentation
# before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
LIBVERSION=0:0:0

AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include
AM_CFLAGS = -fPIC -Wall $(LIBUSB_CFLAGS) $(TALLOC_CFLAGS)
AM_LDFLAGS = $(COVERAGE_LDFLAGS)

if ENABLE_LIBUSB

lib_LTLIBRARIES = libosmousb.la

libosmousb_la_SOURCES = osmo_libusb.c
libosmosim_la_LDFLAGS = -version-info $(LIBVERSION)
libosmosim_la_LIBADD = \
	$(top_builddir)/src/libosmocore.la \
	$(TALLOC_LIBS) \
	$(LIBUSB_LIBS)

endif