Commit Graph

14 Commits

Author SHA1 Message Date
Pau Espin 0ded29a701 Move testdir src/tests/ -> tests/
Move tests to usual directory in most projects.

Change-Id: Ib9ca59d1dffbbb13fcb9ae2e597b3f114f77524e
2023-05-15 10:01:45 +00:00
Pau Espin d5ce4e7d2b gitignore: Ignore libsmo-{hnbap,rua}.pc
Change-Id: Ib66ca43017447f23ea041b466a2bf122a0a4946e
2021-11-16 17:47:34 +01:00
Oliver Smith 70abda0ab2 contrib: integrate RPM spec
Remove OpenSUSE bug report link, set version to @VERSION@, make it build
with CentOS 8 etc.

Related: OS#4550
Change-Id: Ibec1a22952ecfb0578bb4611e65ad819f5984fd8
2020-05-20 08:50:55 +00:00
Oliver Smith 08699f6636 gitignore: add gen_sabp.stamp
Change-Id: I107d2c0e8c82523a8fb38f128bb81e32e437bdd8
2019-12-11 09:23:58 +01:00
Harald Welte 6d839f5354 Initial minimal OsmoHNBGW user manual
This adds a very basic OsmoHNBGW user manual with an "overview" and
"running" chapter.  It still misses any information on configuration.

Change-Id: I54825a4ce5a457f87b0618332347eed8ea54afcb
Closes: OS#2588
2019-12-01 14:21:01 +01:00
Harald Welte e844bf7828 sabp: Generate C/H files for SABP; create libosmo-sabp
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-09-23 20:23:51 +02:00
Neels Hofmeyr 8345792281 build: fix ranap gen, use same for gen hnbap and rua gen
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-09-09 06:43:31 +00:00
Alexander Huemer 156fa393fc attempt to fix parallel build, improve AM logic
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-05-15 23:28:14 +00:00
Neels Hofmeyr 8f2007c1bd gitignore (dummy-cn, testsuite.dir) 2016-01-05 13:05:47 +01:00
Neels Hofmeyr 5f1a39fb2f gitignore m4 and libosmo-ranap.pc 2016-01-04 18:11:20 +01:00
Harald Welte de6a11bb17 update .gitignore 2016-01-03 16:34:01 +01:00
Neels Hofmeyr 6682a37875 README, .gitignore
Update building instructions and add tests/atconfig to .gitignore.
2015-12-22 12:22:10 +01:00
Harald Welte 1c4d4bc233 Make .gitignore aware of autoconf artefacts 2015-12-16 13:17:22 +01:00
Harald Welte 6392710f84 add gitignore file 2015-08-29 20:35:44 +02:00