blob: 50d45c2007dfed194586df557f5263bab9b69035 [file] [log] [blame]
Harald Welteda432cd2019-12-15 19:13:26 +01001# This is _NOT_ the library release version, it's an API version.
2# Please read chapter "Library interface versions" of the libtool documentation
3# before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
Pau Espin Pedrola1584d22022-06-28 17:00:51 +02004LIBVERSION=0:1:0
Harald Welteda432cd2019-12-15 19:13:26 +01005
6AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include
7AM_CFLAGS = -fPIC -Wall $(LIBUSB_CFLAGS) $(TALLOC_CFLAGS)
8AM_LDFLAGS = $(COVERAGE_LDFLAGS)
9
10if ENABLE_LIBUSB
11
12lib_LTLIBRARIES = libosmousb.la
13
14libosmousb_la_SOURCES = osmo_libusb.c
Vadim Yanitskiy685f7c32020-01-21 18:26:42 +070015libosmousb_la_LDFLAGS = -version-info $(LIBVERSION)
16libosmousb_la_LIBADD = \
Harald Welteda432cd2019-12-15 19:13:26 +010017 $(top_builddir)/src/libosmocore.la \
18 $(TALLOC_LIBS) \
19 $(LIBUSB_LIBS)
20
21endif