aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2023-12-15Bump version: 1.5.0.3-a99b → 1.5.11.5.1Oliver Smith1-1/+1
Change-Id: I01d1cebfe4fdd0bce53260d69e3f037068194ea8
2023-09-12Bump version: 1.4.0.10-801d-dirty → 1.5.01.5.0Pau Espin Pedrol1-2/+2
Change-Id: I11b3737b2d5447f1c35693a2cf37ab59adff57d3
2023-05-15Move testdir src/tests/ -> tests/Pau Espin Pedrol1-1/+1
Move tests to usual directory in most projects. Change-Id: Ib9ca59d1dffbbb13fcb9ae2e597b3f114f77524e
2023-02-07Bump version: 1.3.0.16-a319-dirty → 1.4.01.4.0Pau Espin Pedrol1-4/+4
Change-Id: I1fa8e30166bb9dce402b636d20985946dee159aa
2022-08-04libosmo-{hnbap,ranap,rua,sabp}: add -no-undefined to *_la_LDFLAGSVadim Yanitskiy1-4/+4
Make sure that there is no undefined references in shared libraries. Change-Id: I659d277049173e8fc86934140d552f6a494971a1
2022-08-04libosmo-rua: fix copy-pasted -version-info: {HNBAP->RUA}_LIBVERSIONVadim Yanitskiy1-1/+1
Change-Id: I71b859d3c9ecfaf9bffa6341291267ddef071448
2022-06-28Bump version: 1.2.0.24-de3c-dirty → 1.3.01.3.0Pau Espin Pedrol1-1/+1
Change-Id: I7da0cc95d7b1a7198f1ae5ad5a4c0174dfd7381d
2022-01-31ranap_common_ran: add decoder for CN/MSC originated messagesPhilipp Maier1-1/+1
Lets add a counterpart for ranap_common_cn that works the same, but decodes CN/MSC originated messages. Change-Id: Iad4c2743d4d1ddf8ad49002d1fe6866f22eb9e98 Related: OS#5152
2022-01-04Drop osmo-hnbgwPau Espin Pedrol1-14/+0
OsmoHNBGW is now available in its own repository osmo-hnbgw.git. Change-Id: I4e17c578b432f0c997ea4e13b1c468b112278854
2021-11-16Bump version: 0.7.0.27-f8ed-dirty → 0.8.00.8.0Pau Espin Pedrol1-2/+2
Change-Id: Ibbef3cc3bf1f468309e73f5dda497dca1a03c815
2021-10-26hnbap: Use specific prefix for HNBAP generated codePau Espin Pedrol1-1/+1
Other libraries already use ASN1C_PREFIX except the HNBAP one. Let's use it here to avoid collisions. All new include/osmocom/hnbap/HNBAP_*.h and src/hnbap/HNBAP_*.c are generated using the updated src/hnbap/Makefile.am. Files such as src/*.c, test/* and include/osmocom/hnbap/hnbap_common.h are modified manually to update structs/enums to new prefix. Related: SYS#5516 Change-Id: I6c062f631527ae42811bfec134933671c05ecba6
2021-10-22Provide libosmo-rua as a public shared libraryPau Espin Pedrol1-6/+9
It is needed by the new osmo-hnodeb project. Related: SYS#5516 Change-Id: I8b800baacbfe3a3c424c51b418b5ac2e2848b3ba
2021-10-22Provide libosmo-hnbap as a public shared libraryPau Espin Pedrol1-5/+10
It is needed by the new osmo-hnodeb project. Related: SYS#5516 Change-Id: I0d0862e9d59d3b206f3f7dfae4b39ae4032bb762
2021-02-23Bump version: 0.6.0.49-356f-dirty → 0.7.00.7.0Pau Espin Pedrol1-2/+2
Change-Id: I3b592c39646a77681efde5debb5ac2a844208949
2020-01-03Bump version: 0.5.0.23-11a1 → 0.6.00.6.0Pau Espin Pedrol1-1/+1
Change-Id: I5f42c0ad1a930004415f097d984e1fd1b2d277e6
2019-09-23sabp: Generate C/H files for SABP; create libosmo-sabpHarald Welte1-6/+30
This uses the (modified) Osmocom asn1c on the (modified) SABP ASN.1 syntax to generate C code + header files for SABP parsing/encoding. It also adds some helper code for message encoding and decoding as well as a new libosmo-sabp shared library which can be used by programs to implement SABP related functionality. Change-Id: Ib9580d1af96354398da4c9f97b28a0e23d56e275
2019-08-07Bump version: 0.4.0.14-92ea-dirty → 0.5.00.5.0Pau Espin Pedrol1-1/+1
Change-Id: I53c1743eda203bf075f93f891e336ca4ec6866a8
2019-01-20Bump version: 0.3.0.10-9e66-dirty → 0.4.00.4.0Harald Welte1-1/+1
Change-Id: Ib2943b7fd0a1f7ca79f761116cba30aa3aa29b88
2018-05-03Bump version: 0.2.0.57-cf5f-dirty → 0.3.00.3.0Pau Espin Pedrol1-1/+1
Change-Id: Id5d2f749bca46e8b81cc2934447707e3db80ea18
2017-12-31Add control interfaceMax1-2/+2
* add libosmoctrl dependency * bind control interface Change-Id: I4637e88da00bac1ab0237c29ac73806d024863ba
2017-12-20hnbgw: hnb info: record MCC, MNC, show on 'show hnb'Neels Hofmeyr1-1/+1
Before, MCC and MNC were always reported as zero, now the output of 'show hnb all' looks like: OsmoHNBGW> show hnb all HNB "000295-0000154153@ap.ipaccess.com" MCC 901 MNC 70 LAC 11111 RAC 99 SAC 65535 CID 1048575 HNBAP ID 0 RUA ID 0 Change-Id: Iae094b36fa1cf18e07ed33914b9425368d7cd34b
2017-11-21Add "-Wall" to the compile rules of the non-asn1c-generated source codeHarald Welte1-1/+1
This is actually default in all other osmocom projects, and it's a big surprise that it hadn't been enabled for osmo-iuh. Now we finally can see that there are e.g. unused static functions in the code. Change-Id: I8d52b11e3f476ffd77f3ab185b679817cd3b2163
2017-11-16src/Makefile.am: drop unused COMMON_LDADDNeels Hofmeyr1-2/+2
unused since change-id Ic6a645a93406670d58eb5edf5f2f2e1266168c92 "osmo-hnbgw: Avoid useless linking to libosmogsm and libsctp" Change-Id: I4241a1d84b54a77a6a6dad809f8ec921f45ba4bc
2017-11-03Link libosmo-ranap against libosmovtyHarald Welte1-1/+1
This fixes the following dh-shlibdeps warnings: Change-Id: I08be684c45c7e95315dba6ccf9892fe6fc7c3f24 dpkg-shlibdeps: warning: symbol install_element used by debian/libosmo-ranap1/usr/lib/x86_64-linux-gnu/libosmo-ranap.so.1.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol vty_out used by debian/libosmo-ranap1/usr/lib/x86_64-linux-gnu/libosmo-ranap.so.1.0.0 found in none of the libraries
2017-11-03osmo-hnbgw: Avoid useless linking to libosmogsm and libsctpHarald Welte1-2/+1
This fixes the following dpkg-shlibeps warnings: Change-Id: Ic6a645a93406670d58eb5edf5f2f2e1266168c92 dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/osmo-hnbgw/usr/bin/osmo-hnbgw was not linked against libosmogsm.so.8 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/osmo-hnbgw/usr/bin/osmo-hnbgw was not linked against libsctp.so.1 (it uses none of the library's symbols)
2017-10-27Tag/Release 0.2.0 + Update LIBVERSION + Debian packaging0.2.0Harald Welte1-1/+1
Change-Id: I4fe653fdde6acda59485c73cee63bfc5326edf28
2017-10-04Makefile.am: Link libosmo-ranap against libosmo-sigtranHarald Welte1-1/+2
In Change-Id I6a3f7ad15be03fb94689b4af6ccfa828c25f45c0 we introduced the somewhat arguable combination of Iu code in libosmo-ranap. This Iu code uses functions provided by libosmo-sigtran. However, at the time it was overlooked to explicitly link libosmo-ranap against libosmo-sigtran, which caused linking failures of programs using libosmo-ranap, such as the unit tests included in this package. Below example is from building using contrib/jenkins.sh on Ubuntu 17.04: CCLD test-ranap ../../src/.libs/libosmo-ranap.so: undefined reference to `osmo_sccp_local_addr_by_instance' ../../src/.libs/libosmo-ranap.so: undefined reference to `osmo_sccp_tx_unitdata_msg' ../../src/.libs/libosmo-ranap.so: undefined reference to `vty_out' ../../src/.libs/libosmo-ranap.so: undefined reference to `install_element' ../../src/.libs/libosmo-ranap.so: undefined reference to `osmo_sccp_user_bind' ../../src/.libs/libosmo-ranap.so: undefined reference to `osmo_sccp_user_sap_down' ../../src/.libs/libosmo-ranap.so: undefined reference to `osmo_scu_prim_name' ../../src/.libs/libosmo-ranap.so: undefined reference to `osmo_sccp_addr_dump' collect2: error: ld returned 1 exit status Makefile:418: recipe for target 'test-ranap' failed Change-Id: Ibfbcafd31c91dc630d406ec39b3b076bdb1f4c19
2017-07-31move openbsc.git's iu.h, iu.c, iu_vty.c here as iu_clientNeels Hofmeyr1-1/+1
To help split openbsc.git to separate MSC and SGSN repositories, place the common Iu interface related code here in libosmo-ranap. Also apply various improvements while moving (from intermittent code review). The code depends on libosmo-ranap tightly. One reason to want this separate from libosmo-ranap could be that it uses libosmo-sigtran, accepting an sccp instance. However, including in libosmo-ranap is the simplest way to go. The osmo-iuh build depends on libosmo-sigtran anyway because of OsmoHNBGW, and all current users of libosmo-ranap also naturally link libosmo-sigtran already. Apply prefix ranap_iu_ and RANAP_IU_ to allow smooth transition from the openbsc.git iu_ to the libranap ranap_iu_ implementations. Prune unneeded #include statements. Instead of sccp_addr, store an rnc pointer in the ue_conn_ctx. To facilitate, also: - Move iu_rnc struct to iu_client.h (as ranap_iu_rnc). - Instead of sccp_addr, pass rnc to ue_conn_ctx_alloc(). - Pass a local struct new_ue_conn_ctx containing the sccp_addr and conn_id up the RANAP handling stack in case of an InitialUE message. - Separate the InitialUE message handling from cn_ranap_handle_co(), by moving to new and separate cn_ranap_handle_co_initial(), so we can still pass a looked-up ue_conn_ctx to all other cn_ranap_handle_co() code paths. - Allocate the ue_conn_ctx only in ranap_handle_co_initial_ue(), not as early as before. Note that we are not actually ever using the rnc pointer now present in ue_conn_ctx. It could be used for more concise paging, to first page only the RNC where we last saw the subscriber. So far we page all matching LAC/RACs. Tweak error logging: use __func__ instead of writing the function names as string constants. In iu_client_vty.c: - Move the asn.1 debug commands from logging over to the iu node. They are not specific to the logging target. They could qualify for an entirely separate 'asn1' root node, but for simplicity place under 'iu'. - Add the 'asn1' commands to ranap_iu_vty_config_write(), so far missing. - remove the legacy "net." from a VTY error message, it is not known which name the parent node of 'iu' has. Depends: libosmo-sccp I85b46269dbe7909e52873ace3f720f6292a4516c, libosmo-sccp Ie1aedd7894acd69ddc887cd65a8a0df4b888838c Change-Id: I6a3f7ad15be03fb94689b4af6ccfa828c25f45c0
2016-09-09build: move headers to include/osmocom/*Neels Hofmeyr1-3/+0
This came up while fixing 'make distcheck'; this is certainly not the easiest way but it makes sense to have the headers in include/, like we do in openbsc. The easy alternative might be to add -I$(top_srcdir)/src to src/Makefile.am. Remove -I$(top_srcdir)/src from src/tests/Makefile.am, no longer needed. Change-Id: I5a82e029dcdc4df0a60a31271a4883393fe59234
2016-09-09build: distcheck: look for asn1 in top_srcdir, not top_builddirNeels Hofmeyr1-1/+1
Change-Id: Iebcff240ba2fae964dad2a2c481fcbfd29e14e69
2016-09-09build: distcheck: add missing distclean filesNeels Hofmeyr1-0/+11
Change-Id: I24d72b2b1bae52a1b2cf8a989396d2aac31d119e
2016-09-09build: fix ranap gen, use same for gen hnbap and rua genNeels Hofmeyr1-9/+30
fix extraneous rebuild for each make invocation: touch the ranap.stamp file in src/ as the make target suggests. fix for 'make distcheck': ranap gen: move generated sources to builddir, not srcdir. Thus we also -I the builddir include to pick up those headers. hnbap and rua have the same situation as ranap (they generate numerous files from a single make rule). Use the same makefile semantics for those two (commit for ranap gen omitted the same changes for hnbap and rua). The generated headers are thus moved to include/osmocom/*/, so adjust #include statements accordingly (*_common.h, *_ies_defs.h). Also move hnbap_common.h to include/osmocom/hnbap and rua_common.h to include/osmocom/rua, since the *_ies_defs.h want to include them; and since *_ies_defs.h are now in include/osmocom/*, we want a '<foo>' include now. Also adjust gitignore. Change-Id: I32213666fcdfc144008fa7d46497c0938d093e86
2016-08-18hnbgw: move vty commands out to new hnbgw_vty.cNeels Hofmeyr1-0/+1
Pass g_hnb_gw and tall_hnb_ctx to hnbgw_vty_init() as they are no longer statically available. Change-Id: If85c1b97a240bd1dcf9f367ea6fca857d542ab22
2016-07-12make regen: fix: use $(MAKE) instead of makeNeels Hofmeyr1-3/+3
On FreeBSD, we use gmake, so calling 'make -C ...' won't work here. We need to invoke $(MAKE) so gmake is used again. Change-Id: If8d09889db2c101eca66675fff8f820d6d1d7a65
2016-05-15attempt to fix parallel build, improve AM logicAlexander Huemer1-2/+3
The formerly existing make rule caused a race condition in parallel builds and wrongly stated the .c files as targets, which caused make to execute the rule twice (once for each target). This was actually only fallout of the attempt to express the fact that those two files are generated by the rule. The generated file ranap_ies_defs.h was moved by one make job, another job then tried to access the file in the old location and failed. parallel build verified with: $ for i in $(seq 1 10) do echo "XXXX iteration $i" git clean -xfd autoreconf -i ./configure make -j${i} || break done Coauthored by Andreas Rottmann <mail@rotty.xx.vu> Change-Id: I439edcb4b7742de861c99ed401114f51061f8088 Reviewed-on: https://gerrit.osmocom.org/65 Tested-by: Jenkins Builder Reviewed-by: Harald Welte <laforge@gnumonks.org>
2016-03-30Move sccp_helpers.[hc] to libosmo-sigtranNeels Hofmeyr1-3/+2
2016-02-29build: use $top_srcdir instead of ../Neels Hofmeyr1-1/+1
2016-02-29fix build: move local include dir before sys installed oneNeels Hofmeyr1-1/+1
2016-01-07hnbgw: Use libosmo-netif for SCCP connection handlingDaniel Willmann1-0/+1
2016-01-07Correct postprocessing of generated filesDaniel Willmann1-4/+4
Rewrite ranap_common.h include path in ranap_ies_defs.h as well Don't move ranap_ies_defs.h to the install directory, but move it inside the source tree
2016-01-06also 'sed' the include path of the ranap_common.h fileHarald Welte1-0/+1
2016-01-06make ranap_common.cn.[ch] part of libosmo-ranapHarald Welte1-1/+2
2016-01-05move ranap_*.h,iu_helpers.h to include/osmocom/ranap/Neels Hofmeyr1-6/+6
A bit hacky: the ranap_ies_defs.h is generated together with the ranap_encoder.c and ranap_decoder.c. See comments in src/Makefile.am and include/osmocom/ranap/Makefile.am.
2016-01-05rebuild en/decoders when asn1tostruct.py changedNeels Hofmeyr1-3/+3
Add asn1tostruct.py as dependency for the targets that use it, so that any modification to the asn1tostruct.py regenerates everything related automatically.
2016-01-04move asn1 headers to include/ dir (5/5)Neels Hofmeyr1-1/+1
Do all remaining changes necessary for a working build. Add Makefile.am files in include/... subdirs. Remove noinst_HEADERS directives from src/*/Makefile.am, but keep the headers list to feed to move-asn1-header-files.sh. Adjust all #includes in src/*_common.h and elsewhere. In hnbap_common.h, separate the ASN.1 "primitive" headers from the others, and include them without a subdir path, as before.
2016-01-04move asn1 headers to include/ dir (1/5)Neels Hofmeyr1-0/+8
Add move-asn1-header-files.sh to do header file moving and sed'ding the include statements. The file moving part is disabled until a later commit, to make reading the diffs easier. Call shell script from src/{hnbap,ranap,rua}/Makefile.am regen targets. Add convenience regen target to src/Makefile.am, calling regen in the three subdirs. This change is split over several commits to ease diff reading. Subsequent commits show, in steps: - the "unmoved" effect of sed, - header moves, - adjust build system and include statements.
2016-01-03move tests/rua_helper.[ch] to src directoryHarald Welte1-1/+1
The RUA Helper is not test-specific.
2016-01-03steps towards making 'make distcheck' workHarald Welte1-1/+2
'make distcheck' checks for out-of-source-tree builds and whether the distribution tarball includes all source files. This commit fixes many problems, except some remaining with src/test still to-be-fixd.
2016-01-03move asn1helpers.[ch] to libasn1cHarald Welte1-1/+1
Those helper functions are not specific to osmo-iuh, so I moved them to libasn1c, which also resolves the problem that libosmo-ranap is depending on those helpers (and subsequently external programs linking libosmo-ranap will need to have access to the helpers)
2016-01-03merge (+rename) iu_helpers.c into libosmo-ranapHarald Welte1-3/+3