FreeCalypso > hg > gsm-codec-lib
view frtest/Makefile @ 282:9ee8ad3d4d30
frtest: rm gsmfr-hand-test and gsmfr-max-out utils
These hack programs were never properly documented and were written
only as part of a debug chase, in pursuit of a bug that ultimately
turned out to be in our then-hacky patch to osmo-bts-sysmo,
before beginning of proper patches in Osmocom. These hack programs
need to be dropped from the present sw package because they depend
on old libgsm, and we are eliminating that dependency.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 14 Apr 2024 05:44:47 +0000 |
parents | 6de564ef70d3 |
children | 25649b3a83e9 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= gsmfr-cod2std gsmfr-decode gsmfr-decode-r gsmfr-dlcap-gsmx \ gsmfr-dlcap-parse gsmfr-encode gsmfr-encode-r gsmfr-preproc LIBPP= ../libgsmfrp/libgsmfrp.a LIBTEST=../libtest/libtest.a LIBDEC= ${LIBTEST} ${LIBPP} INSTBIN=/opt/freecalypso/bin all: ${PROGS} gsmfr-cod2std: cod2std.o ${CC} ${CFLAGS} -o $@ cod2std.o -lgsm gsmfr-decode: decode.o ${LIBDEC} ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm gsmfr-decode-r: decode-r.o ${LIBDEC} ${CC} ${CFLAGS} -o $@ decode-r.o ${LIBDEC} -lgsm gsmfr-dlcap-gsmx: dlcap-gsmx.o tidsp.o ${LIBTEST} ${CC} ${CFLAGS} -o $@ dlcap-gsmx.o tidsp.o ${LIBTEST} gsmfr-dlcap-parse: dlcap-parse.o tidsp.o ${LIBDEC} ${CC} ${CFLAGS} -o $@ dlcap-parse.o tidsp.o ${LIBDEC} -lgsm gsmfr-encode: encode.o ${LIBTEST} ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm gsmfr-encode-r: encode-r.o ${LIBTEST} ${CC} ${CFLAGS} -o $@ encode-r.o ${LIBTEST} -lgsm gsmfr-preproc: preproc.o ${LIBDEC} ${CC} ${CFLAGS} -o $@ preproc.o ${LIBDEC} install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} clean: rm -f *.o *.out ${PROGS}