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 |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 4 | LIBVERSION=11:0:0 |
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 \ |
Harald Welte | 0b2a316 | 2012-06-19 14:23:21 +0800 | [diff] [blame] | 25 | gprs_bssgp.c gprs_bssgp_util.c gprs_bssgp_vty.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 | 6a16149 | 2020-07-12 13:45:50 +0200 | [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 |
Harald Welte | e3a10b6 | 2012-09-08 22:18:43 +0200 | [diff] [blame] | 31 | endif |
Harald Welte | 0b2a316 | 2012-06-19 14:23:21 +0800 | [diff] [blame] | 32 | |
| 33 | EXTRA_DIST = libosmogb.map |