Harald Welte | 0b2a316 | 2012-06-19 14:23:21 +0800 | [diff] [blame] | 1 | # This is _NOT_ the library release version, it's an API version. |
Pau Espin Pedrol | 922d276 | 2019-08-06 18:02:02 +0200 | [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 |
Pau Espin Pedrol | c7deaf2 | 2021-11-16 13:08:22 +0100 | [diff] [blame] | 4 | LIBVERSION=13:0:1 |
Harald Welte | 0b2a316 | 2012-06-19 14:23:21 +0800 | [diff] [blame] | 5 | |
Jan Engelhardt | 9ffeb97 | 2013-06-03 01:59:25 +0200 | [diff] [blame] | 6 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include |
Harald Welte | d8e59b2 | 2020-12-04 10:15:39 +0100 | [diff] [blame] | 7 | AM_CFLAGS = -Wall ${GCC_FVISIBILITY_HIDDEN} -fno-strict-aliasing \ |
| 8 | $(TALLOC_CFLAGS) \ |
| 9 | $(LIBMNL_CFLAGS) \ |
| 10 | $(NULL) |
Harald Welte | 0b2a316 | 2012-06-19 14:23:21 +0800 | [diff] [blame] | 11 | |
| 12 | # FIXME: this should eventually go into a milenage/Makefile.am |
Alexander Couzens | 6a16149 | 2020-07-12 13:45:50 +0200 | [diff] [blame] | 13 | noinst_HEADERS = common_vty.h gb_internal.h gprs_bssgp_internal.h gprs_ns2_internal.h |
Harald Welte | 0b2a316 | 2012-06-19 14:23:21 +0800 | [diff] [blame] | 14 | |
Harald Welte | e3a10b6 | 2012-09-08 22:18:43 +0200 | [diff] [blame] | 15 | if ENABLE_GB |
Harald Welte | 0b2a316 | 2012-06-19 14:23:21 +0800 | [diff] [blame] | 16 | lib_LTLIBRARIES = libosmogb.la |
| 17 | |
Max | ba1059c | 2017-10-30 13:19:58 +0100 | [diff] [blame] | 18 | libosmogb_la_LDFLAGS = $(LTLDFLAGS_OSMOGB) -version-info $(LIBVERSION) |
| 19 | libosmogb_la_LIBADD = $(TALLOC_LIBS) \ |
Holger Hans Peter Freyther | 5a19bf7 | 2012-08-02 21:51:15 +0200 | [diff] [blame] | 20 | $(top_builddir)/src/libosmocore.la \ |
| 21 | $(top_builddir)/src/vty/libosmovty.la \ |
| 22 | $(top_builddir)/src/gsm/libosmogsm.la |
Harald Welte | 0b2a316 | 2012-06-19 14:23:21 +0800 | [diff] [blame] | 23 | |
Harald Welte | 047f387 | 2018-07-01 21:04:45 +0200 | [diff] [blame] | 24 | libosmogb_la_SOURCES = gprs_ns.c gprs_ns_frgre.c gprs_ns_vty.c gprs_ns_sns.c \ |
Philipp Maier | 9828d28 | 2021-01-06 20:40:23 +0100 | [diff] [blame] | 25 | gprs_bssgp.c gprs_bssgp_util.c gprs_bssgp_vty.c gprs_bssgp_rim.c \ |
Alexander Couzens | 6a16149 | 2020-07-12 13:45:50 +0200 | [diff] [blame] | 26 | gprs_bssgp_bss.c \ |
Alexander Couzens | 841817e | 2020-11-19 00:41:29 +0100 | [diff] [blame] | 27 | gprs_ns2.c gprs_ns2_udp.c gprs_ns2_frgre.c gprs_ns2_fr.c gprs_ns2_vc_fsm.c gprs_ns2_sns.c \ |
Alexander Couzens | da1bf8e | 2021-01-25 16:27:33 +0100 | [diff] [blame] | 28 | gprs_ns2_message.c gprs_ns2_vty.c \ |
Harald Welte | 17a892f | 2020-12-07 21:39:03 +0100 | [diff] [blame] | 29 | gprs_bssgp2.c bssgp_bvc_fsm.c \ |
Alexander Couzens | 841817e | 2020-11-19 00:41:29 +0100 | [diff] [blame] | 30 | common_vty.c frame_relay.c |
Alexander Couzens | 1c8785d | 2020-12-17 06:58:53 +0100 | [diff] [blame] | 31 | |
| 32 | # convenience library for testing with access to all non-static symbols |
| 33 | noinst_LTLIBRARIES = libosmogb-test.la |
| 34 | libosmogb_test_la_LIBADD = $(libosmogb_la_LIBADD) |
| 35 | libosmogb_test_la_SOURCES= $(libosmogb_la_SOURCES) |
| 36 | |
Harald Welte | e3a10b6 | 2012-09-08 22:18:43 +0200 | [diff] [blame] | 37 | endif |
Harald Welte | 0b2a316 | 2012-06-19 14:23:21 +0800 | [diff] [blame] | 38 | |
| 39 | EXTRA_DIST = libosmogb.map |