diff options
| author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-08-30 19:35:51 +0700 |
|---|---|---|
| committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-09-03 19:17:29 +0700 |
| commit | a03ac4573a2c00a6b2937c42503b6c7206480662 (patch) | |
| tree | 240914949ef594a23da2a0cb872c11b1a9473fb7 | |
| parent | 5fb1965cacb7a3aaf269dbb8e0238721a7d44c05 (diff) | |
Add an 'osmo' prefix to the 'gapk' binary
This is a common practice of all Osmocom executables
to have an 'osmo' prefix. Let's follow this here too.
| -rw-r--r-- | .gitignore | 2 | ||||
| -rwxr-xr-x | contrib/benchmark.sh | 2 | ||||
| -rw-r--r-- | src/Makefile.am | 8 | ||||
| -rw-r--r-- | test/common.sh | 10 |
4 files changed, 11 insertions, 11 deletions
@@ -36,7 +36,7 @@ stamp-h1 libgsmhr/refsrc # final executables -src/gapk +src/osmo-gapk # temporary/backup files *.*~ diff --git a/contrib/benchmark.sh b/contrib/benchmark.sh index 0148667..0e86876 100755 --- a/contrib/benchmark.sh +++ b/contrib/benchmark.sh @@ -1,6 +1,6 @@ #!/bin/sh -GAPK=./src/gapk +GAPK=./src/osmo-gapk PCMFILE=$1 BASE=`basename $PCMFILE` diff --git a/src/Makefile.am b/src/Makefile.am index 93bdfa1..c38f2fe 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -75,16 +75,16 @@ libosmogapk_la_SOURCES += \ $(NULL) # libosmogapk representative application -bin_PROGRAMS = gapk +bin_PROGRAMS = osmo-gapk -gapk_SOURCES = \ +osmo_gapk_SOURCES = \ main.c \ $(NULL) -gapk_LDFLAGS = \ +osmo_gapk_LDFLAGS = \ $(LIBOSMOCORE_LIBS) \ $(NULL) -gapk_LDADD = \ +osmo_gapk_LDADD = \ $(top_builddir)/src/libosmogapk.la \ $(NULL) diff --git a/test/common.sh b/test/common.sh index 591be3a..5fded94 100644 --- a/test/common.sh +++ b/test/common.sh @@ -1,13 +1,13 @@ # directory containing the reference files for comparing against REFDIR=./ref-files -if [ -f ../src/gapk ]; then - GAPK=../src/gapk -elif [ -f `which gapk` ]; then - GAPK=`which gapk` +if [ -f ../src/osmo-gapk ]; then + GAPK=../src/osmo-gapk +elif [ -f `which osmo-gapk` ]; then + GAPK=`which osmo-gapk` else exit 1 fi -echo Using gapk found at $GAPK +echo Using osmo-gapk found at $GAPK FORMATS="amr-efr gsm racal-hr racal-fr racal-efr ti-hr ti-fr ti-efr rtp-efr rtp-hr-etsi rtp-hr-ietf" |
