Harald Welte | 3ff81b1 | 2014-08-20 19:58:40 +0200 | [diff] [blame] | 1 | # This is _NOT_ the library release version, it's an API version. |
Max | 4e72ee0 | 2016-12-13 18:41:17 +0100 | [diff] [blame] | 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 |
Harald Welte | 3ff81b1 | 2014-08-20 19:58:40 +0200 | [diff] [blame] | 4 | LIBVERSION=0:0:0 |
Daniel Willmann | 1264cb4 | 2010-10-21 15:00:36 +0200 | [diff] [blame] | 5 | |
Harald Welte | 90e614f | 2015-12-05 23:38:18 +0100 | [diff] [blame] | 6 | AM_CFLAGS = -Wall $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include $(TALLOC_CFLAGS) |
Daniel Willmann | 1264cb4 | 2010-10-21 15:00:36 +0200 | [diff] [blame] | 7 | |
Harald Welte | 1c67e75 | 2017-01-15 17:52:30 +0100 | [diff] [blame] | 8 | if ENABLE_CTRL |
Harald Welte | 3ff81b1 | 2014-08-20 19:58:40 +0200 | [diff] [blame] | 9 | lib_LTLIBRARIES = libosmoctrl.la |
| 10 | |
Harald Welte | 31c0fef | 2017-04-16 17:26:30 +0200 | [diff] [blame] | 11 | libosmoctrl_la_SOURCES = control_cmd.c control_if.c fsm_ctrl_commands.c |
Harald Welte | 3ff81b1 | 2014-08-20 19:58:40 +0200 | [diff] [blame] | 12 | |
Harald Welte | 90e614f | 2015-12-05 23:38:18 +0100 | [diff] [blame] | 13 | libosmoctrl_la_LDFLAGS = $(LTLDFLAGS_OSMOCTRL) $(TALLOC_LIBS) -version-info $(LIBVERSION) -no-undefined |
Holger Hans Peter Freyther | 4deb2df | 2015-01-18 19:20:19 +0100 | [diff] [blame] | 14 | libosmoctrl_la_LIBADD = \ |
| 15 | $(top_builddir)/src/libosmocore.la \ |
| 16 | $(top_builddir)/src/gsm/libosmogsm.la \ |
| 17 | $(top_builddir)/src/vty/libosmovty.la |
Neels Hofmeyr | f81eb32 | 2016-02-24 00:10:41 +0100 | [diff] [blame] | 18 | |
| 19 | if ENABLE_VTY |
| 20 | libosmoctrl_la_SOURCES += control_vty.c |
| 21 | endif |
Harald Welte | 1c67e75 | 2017-01-15 17:52:30 +0100 | [diff] [blame] | 22 | |
| 23 | endif |