blob: 3142d7540134a3154f60003d6f800b7ef54ed65a [file] [log] [blame]
Harald Welte3fb0b6f2010-05-19 19:02:52 +02001# This is _NOT_ the library release version, it's an API version.
Max4e72ee02016-12-13 18:41:17 +01002# 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=11:0:2
Harald Welte3fb0b6f2010-05-19 19:02:52 +02005
Jan Engelhardt9ffeb972013-06-03 01:59:25 +02006AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
Harald Weltee1a0aaa2022-03-27 23:22:47 +02007AM_CFLAGS = -Wall $(TALLOC_CFLAGS) $(PTHREAD_CFLAGS)
Harald Welte3fb0b6f2010-05-19 19:02:52 +02008
Harald Welte54403772010-05-29 11:49:51 +02009if ENABLE_VTY
Harald Welte3fb0b6f2010-05-19 19:02:52 +020010lib_LTLIBRARIES = libosmovty.la
11
12libosmovty_la_SOURCES = buffer.c command.c vty.c vector.c utils.c \
Vadim Yanitskiy463deef2017-09-23 19:30:07 +033013 telnet_interface.c logging_vty.c stats_vty.c \
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +010014 fsm_vty.c talloc_ctx_vty.c \
Pau Espin Pedroleb6882f2020-07-28 11:57:51 +020015 cpu_sched_vty.c tdef_vty.c
Maxba1059c2017-10-30 13:19:58 +010016libosmovty_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined
Harald Weltee1a0aaa2022-03-27 23:22:47 +020017libosmovty_la_LIBADD = $(top_builddir)/src/libosmocore.la $(TALLOC_LIBS) $(PTHREAD_LIBS)
Harald Welte54403772010-05-29 11:49:51 +020018endif