blob: 022578fe2d9352c80ef633980733e0ede13b9cfe [file] [log] [blame]
Harald Welte0b2a3162012-06-19 14:23:21 +08001# This is _NOT_ the library release version, it's an API version.
Pau Espin Pedrol922d2762019-08-06 18:02:02 +02002# 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=14:0:0
Harald Welte0b2a3162012-06-19 14:23:21 +08005
Jan Engelhardt9ffeb972013-06-03 01:59:25 +02006AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
Harald Welted8e59b22020-12-04 10:15:39 +01007AM_CFLAGS = -Wall ${GCC_FVISIBILITY_HIDDEN} -fno-strict-aliasing \
8 $(TALLOC_CFLAGS) \
9 $(LIBMNL_CFLAGS) \
10 $(NULL)
Harald Welte0b2a3162012-06-19 14:23:21 +080011
12# FIXME: this should eventually go into a milenage/Makefile.am
Alexander Couzens6a161492020-07-12 13:45:50 +020013noinst_HEADERS = common_vty.h gb_internal.h gprs_bssgp_internal.h gprs_ns2_internal.h
Harald Welte0b2a3162012-06-19 14:23:21 +080014
Harald Weltee3a10b62012-09-08 22:18:43 +020015if ENABLE_GB
Harald Welte0b2a3162012-06-19 14:23:21 +080016lib_LTLIBRARIES = libosmogb.la
17
Maxba1059c2017-10-30 13:19:58 +010018libosmogb_la_LDFLAGS = $(LTLDFLAGS_OSMOGB) -version-info $(LIBVERSION)
19libosmogb_la_LIBADD = $(TALLOC_LIBS) \
Holger Hans Peter Freyther5a19bf72012-08-02 21:51:15 +020020 $(top_builddir)/src/libosmocore.la \
21 $(top_builddir)/src/vty/libosmovty.la \
22 $(top_builddir)/src/gsm/libosmogsm.la
Harald Welte0b2a3162012-06-19 14:23:21 +080023
Harald Welte047f3872018-07-01 21:04:45 +020024libosmogb_la_SOURCES = gprs_ns.c gprs_ns_frgre.c gprs_ns_vty.c gprs_ns_sns.c \
Philipp Maier9828d282021-01-06 20:40:23 +010025 gprs_bssgp.c gprs_bssgp_util.c gprs_bssgp_vty.c gprs_bssgp_rim.c \
Alexander Couzens6a161492020-07-12 13:45:50 +020026 gprs_bssgp_bss.c \
Alexander Couzens841817e2020-11-19 00:41:29 +010027 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 Couzensda1bf8e2021-01-25 16:27:33 +010028 gprs_ns2_message.c gprs_ns2_vty.c \
Harald Welte17a892f2020-12-07 21:39:03 +010029 gprs_bssgp2.c bssgp_bvc_fsm.c \
Alexander Couzens841817e2020-11-19 00:41:29 +010030 common_vty.c frame_relay.c
Alexander Couzens1c8785d2020-12-17 06:58:53 +010031
32# convenience library for testing with access to all non-static symbols
33noinst_LTLIBRARIES = libosmogb-test.la
34libosmogb_test_la_LIBADD = $(libosmogb_la_LIBADD)
35libosmogb_test_la_SOURCES= $(libosmogb_la_SOURCES)
36
Harald Weltee3a10b62012-09-08 22:18:43 +020037endif
Harald Welte0b2a3162012-06-19 14:23:21 +080038
39EXTRA_DIST = libosmogb.map