diff options
author | Luca Melette <luca@srlabs.de> | 2018-01-22 17:14:08 +0100 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-02-06 14:05:17 +0700 |
commit | e357646ed708bd5acc56b250d01bd695fff9cd73 (patch) | |
tree | e5de1a50a54fff4f97428b3d5473f35c11350309 /src/Makefile | |
parent | 9fa291dd2ba880be0a07c0c3fff1ce537bbee4d1 (diff) |
Import gprsdecode utility from SRLabs
This change introduces a modified version of gprsdecode utility,
which is intended to decode the GPRS burst captures and forward
decoded packets to the GSMTAP sink.
The following modifications were made:
- use shared libosmocoding library for GSM 05.03 coding;
- use optget for command line options parsing;
- use a single application select loop;
- use GNU automake as the build system;
- add regression tests (GNU autotest);
- clean up and comment the code;
- add license headers;
The code is based on work of SRLabs:
https://srlabs.de/
git://git.srlabs.de/gprsdecode.git
Related: OS#1672
Change-Id: I12234d37c66b83b8abd60f7511fa1d7837db1856
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 7a7d2839..bb83d354 100644 --- a/src/Makefile +++ b/src/Makefile @@ -13,7 +13,7 @@ TOPDIR=$(shell pwd) all: libosmocore-target nofirmware firmware mtk-firmware -nofirmware: layer23 osmocon gsmmap virtphy +nofirmware: layer23 osmocon gsmmap gprsdecode virtphy libosmocore-target: shared/libosmocore/build-target/src/.libs/libosmocore.a @@ -83,6 +83,17 @@ host/layer23/Makefile: host/layer23/configure host/layer23/layer23: host/layer23/Makefile make -C host/layer23 +.PHONY: gprsdecode +gprsdecode: host/gprsdecode/gprsdecode + +host/gprsdecode/configure: host/gprsdecode/configure.ac + cd host/gprsdecode && autoreconf -i + +host/gprsdecode/Makefile: host/gprsdecode/configure + cd host/gprsdecode && ./configure $(HOST_CONFARGS) + +host/gprsdecode/gprsdecode: host/gprsdecode/Makefile + make -C host/gprsdecode .PHONY: firmware firmware: libosmocore-target @@ -98,6 +109,7 @@ clean: make -C host/layer23 $@ make -C host/osmocon $@ make -C host/gsmmap $@ + make -C host/gprsdecode $@ make -C host/virt_phy $@ make -C target/firmware $@ make -C target/firmware -f Makefile.mtk $@ @@ -107,6 +119,7 @@ distclean: make -C host/layer23 $@ make -C host/osmocon $@ make -C host/gsmmap $@ + make -C host/gprsdecode $@ make -C host/virt_phy $@ # 'firmware' also handles 'mtk-firmware' make -C target/firmware $@ |