2014-08-20 17:58:40 +00:00
|
|
|
# This is _NOT_ the library release version, it's an API version.
|
2016-12-13 17:41:17 +00:00
|
|
|
# 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
|
2022-06-28 15:00:51 +00:00
|
|
|
LIBVERSION=7:0:7
|
2010-10-21 13:00:36 +00:00
|
|
|
|
2022-11-08 19:27:25 +00:00
|
|
|
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include
|
|
|
|
AM_CFLAGS = -Wall $(TALLOC_CFLAGS)
|
2010-10-21 13:00:36 +00:00
|
|
|
|
2017-01-15 16:52:30 +00:00
|
|
|
if ENABLE_CTRL
|
2014-08-20 17:58:40 +00:00
|
|
|
lib_LTLIBRARIES = libosmoctrl.la
|
|
|
|
|
2017-04-16 15:26:30 +00:00
|
|
|
libosmoctrl_la_SOURCES = control_cmd.c control_if.c fsm_ctrl_commands.c
|
2014-08-20 17:58:40 +00:00
|
|
|
|
2017-10-30 12:19:58 +00:00
|
|
|
libosmoctrl_la_LDFLAGS = $(LTLDFLAGS_OSMOCTRL) -version-info $(LIBVERSION) -no-undefined
|
|
|
|
libosmoctrl_la_LIBADD = $(TALLOC_LIBS) \
|
2015-01-18 18:20:19 +00:00
|
|
|
$(top_builddir)/src/libosmocore.la \
|
|
|
|
$(top_builddir)/src/gsm/libosmogsm.la \
|
|
|
|
$(top_builddir)/src/vty/libosmovty.la
|
2016-02-23 23:10:41 +00:00
|
|
|
|
|
|
|
if ENABLE_VTY
|
|
|
|
libosmoctrl_la_SOURCES += control_vty.c
|
|
|
|
endif
|
2017-01-15 16:52:30 +00:00
|
|
|
|
2018-05-26 15:07:39 +00:00
|
|
|
EXTRA_DIST = libosmoctrl.map
|
|
|
|
|
2017-01-15 16:52:30 +00:00
|
|
|
endif
|