Restructure: Move debug from common code to 'libdebug'

pull/1/head
Andreas Eversberg 5 years ago
parent 016e72d6d7
commit 1a341f6b4e
  1. 2
      .gitignore
  2. 2
      configure.ac
  3. 2
      src/Makefile.am
  4. 2
      src/amps/Makefile.am
  5. 2
      src/amps/amps.c
  6. 2
      src/amps/amps_tacs_main.c
  7. 2
      src/amps/dsp.c
  8. 2
      src/amps/frame.c
  9. 2
      src/amps/transaction.c
  10. 2
      src/anetz/Makefile.am
  11. 2
      src/anetz/anetz.c
  12. 2
      src/anetz/dsp.c
  13. 2
      src/anetz/main.c
  14. 2
      src/bnetz/Makefile.am
  15. 2
      src/bnetz/bnetz.c
  16. 2
      src/bnetz/dsp.c
  17. 2
      src/bnetz/main.c
  18. 2
      src/cnetz/Makefile.am
  19. 2
      src/cnetz/cnetz.c
  20. 2
      src/cnetz/database.c
  21. 2
      src/cnetz/dsp.c
  22. 2
      src/cnetz/fsk_demod.c
  23. 2
      src/cnetz/main.c
  24. 2
      src/cnetz/telegramm.c
  25. 2
      src/cnetz/transaction.c
  26. 7
      src/common/Makefile.am
  27. 2
      src/jtacs/Makefile.am
  28. 11
      src/libdebug/Makefile.am
  29. 0
      src/libdebug/debug.c
  30. 0
      src/libdebug/debug.h
  31. 2
      src/libemphasis/emphasis.c
  32. 2
      src/libfsk/fsk.c
  33. 2
      src/libgoertzel/goertzel.c
  34. 2
      src/libjitter/jitter.c
  35. 2
      src/libmncc/mncc_console.c
  36. 2
      src/libmncc/mncc_cross.c
  37. 2
      src/libmncc/mncc_sock.c
  38. 2
      src/libmobile/call.c
  39. 2
      src/libmobile/main_mobile.c
  40. 2
      src/libmobile/sender.c
  41. 2
      src/libsdr/sdr.c
  42. 2
      src/libsdr/soapy.c
  43. 2
      src/libsdr/uhd.c
  44. 2
      src/libsound/sound_alsa.c
  45. 2
      src/libsquelch/squelch.c
  46. 2
      src/nmt/Makefile.am
  47. 2
      src/nmt/dms.c
  48. 2
      src/nmt/dsp.c
  49. 2
      src/nmt/frame.c
  50. 2
      src/nmt/main.c
  51. 2
      src/nmt/nmt.c
  52. 2
      src/nmt/sms.c
  53. 2
      src/nmt/transaction.c
  54. 2
      src/r2000/Makefile.am
  55. 2
      src/r2000/dsp.c
  56. 2
      src/r2000/frame.c
  57. 2
      src/r2000/main.c
  58. 2
      src/r2000/r2000.c
  59. 2
      src/tacs/Makefile.am
  60. 14
      src/test/Makefile.am
  61. 2
      src/test/test_dms.c
  62. 2
      src/test/test_emphasis.c
  63. 2
      src/test/test_filter.c
  64. 2
      src/test/test_performance.c
  65. 2
      src/test/test_sms.c
  66. 2
      src/tv/Makefile.am
  67. 2
      src/tv/main.c

2
.gitignore vendored

@ -20,6 +20,7 @@ compile
.libs
.dirstamp
m4
src/libdebug/libdebug.a
src/libmobile/libmobile.a
src/libdisplay/libdisplay.a
src/libimage/libimage.a
@ -42,7 +43,6 @@ src/libmncc/libmncc.a
src/libsound/libsound.a
src/libsdr/libsdr.a
src/libsample/libsample.a
src/common/libcommon.a
src/anetz/libgermanton.a
src/anetz/anetz
src/bnetz/bnetz

@ -75,6 +75,7 @@ AS_IF([test "x$with_soapy" == "xyes"],[AC_MSG_NOTICE( Compiling with SoapySDR su
AS_IF([test "x$somethingmagick" == "xyes"],[AC_MSG_NOTICE( Compiling with ImageMagick )],[AC_MSG_NOTICE( ImageMagick not supported )])
AC_OUTPUT(
src/libdebug/Makefile
src/libmobile/Makefile
src/libdisplay/Makefile
src/libimage/Makefile
@ -97,7 +98,6 @@ AC_OUTPUT(
src/libsound/Makefile
src/libsdr/Makefile
src/libsample/Makefile
src/common/Makefile
src/anetz/Makefile
src/bnetz/Makefile
src/cnetz/Makefile

@ -1,6 +1,7 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = \
libdebug \
libmobile \
libdisplay \
libsample \
@ -29,7 +30,6 @@ SUBDIRS += \
endif
SUBDIRS += \
common \
anetz \
bnetz \
cnetz \

@ -26,12 +26,12 @@ amps_SOURCES = \
amps_LDADD = \
$(COMMON_LA) \
libamps.a \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/libcompandor/libcompandor.a \
$(top_builddir)/src/libgoertzel/libgoertzel.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \

@ -43,7 +43,7 @@
#include <string.h>
#include <errno.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "../libmncc/cause.h"
#include "amps.h"

@ -24,7 +24,7 @@
#include <string.h>
#include "../libsample/sample.h"
#include "../libmobile/main_mobile.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "amps.h"
#include "dsp.h"

@ -82,7 +82,7 @@
#include <errno.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "amps.h"
#include "frame.h"

@ -27,7 +27,7 @@
#include <math.h>
#include <inttypes.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "amps.h"
#include "dsp.h"
#include "frame.h"

@ -21,7 +21,7 @@
#include <stdint.h>
#include <stdlib.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "../libmncc/cause.h"
#include "amps.h"

@ -18,12 +18,12 @@ anetz_SOURCES = \
anetz_LDADD = \
$(COMMON_LA) \
libgermanton.a \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/libgoertzel/libgoertzel.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/libsquelch/libsquelch.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \

@ -25,7 +25,7 @@
#include <string.h>
#include <errno.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libtimer/timer.h"
#include "../libmobile/call.h"
#include "../libmncc/cause.h"

@ -26,7 +26,7 @@
#include <errno.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libtimer/timer.h"
#include "../libmobile/call.h"
#include "anetz.h"

@ -25,7 +25,7 @@
#include <math.h>
#include "../libsample/sample.h"
#include "../libmobile/main_mobile.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libtimer/timer.h"
#include "../libmobile/call.h"
#include "freiton.h"

@ -14,11 +14,11 @@ bnetz_SOURCES = \
bnetz_LDADD = \
$(COMMON_LA) \
../anetz/libgermanton.a \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/libsquelch/libsquelch.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \

@ -25,7 +25,7 @@
#include <string.h>
#include <errno.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "../libmncc/cause.h"
#include "bnetz.h"

@ -26,7 +26,7 @@
#include <errno.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "bnetz.h"
#include "dsp.h"

@ -24,7 +24,7 @@
#include <string.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "../libmobile/main_mobile.h"
#include "../anetz/freiton.h"

@ -17,11 +17,11 @@ cnetz_SOURCES = \
cnetz_LDADD = \
$(COMMON_LA) \
../anetz/libgermanton.a \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/libcompandor/libcompandor.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libscrambler/libscrambler.a \

@ -143,7 +143,7 @@
#include <math.h>
#include <inttypes.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "../libmncc/cause.h"
#include "cnetz.h"

@ -22,7 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "cnetz.h"
#include "database.h"

@ -26,7 +26,7 @@
#include <math.h>
#include <errno.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "cnetz.h"
#include "sysinfo.h"

@ -129,7 +129,7 @@
#include <string.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "cnetz.h"
#include "dsp.h"
#include "telegramm.h"

@ -24,7 +24,7 @@
#include <string.h>
#include "../libsample/sample.h"
#include "../libmobile/main_mobile.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "../anetz/freiton.h"
#include "../anetz/besetztton.h"

@ -27,7 +27,7 @@
#include <errno.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "cnetz.h"
#include "dsp.h"
#include "sysinfo.h"

@ -21,7 +21,7 @@
#include <stdint.h>
#include <stdlib.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "../libmncc/cause.h"
#include "cnetz.h"

@ -1,7 +0,0 @@
AM_CPPFLAGS = -Wall -Wextra -g $(all_includes)
noinst_LIBRARIES = libcommon.a
libcommon_a_SOURCES = \
debug.c

@ -12,12 +12,12 @@ jtacs_SOURCES = \
jtacs_LDADD = \
$(COMMON_LA) \
../amps/libamps.a \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/libcompandor/libcompandor.a \
$(top_builddir)/src/libgoertzel/libgoertzel.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \

@ -0,0 +1,11 @@
AM_CPPFLAGS = -Wall -Wextra -g $(all_includes)
noinst_LIBRARIES = libdebug.a
libdebug_a_SOURCES = \
debug.c
if HAVE_SDR
AM_CPPFLAGS += -DHAVE_SDR
endif

@ -22,7 +22,7 @@
#include <string.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libfilter/iir_filter.h"
#include "emphasis.h"

@ -24,7 +24,7 @@
#include <errno.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "fsk.h"
#define PI M_PI

@ -23,7 +23,7 @@
#include <errno.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "goertzel.h"
/*

@ -23,7 +23,7 @@
#include <errno.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "jitter.h"
/* create jitter buffer */

@ -27,7 +27,7 @@
#include "../libsample/sample.h"
#include "../libsamplerate/samplerate.h"
#include "../libjitter/jitter.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "testton.h"
#include "mncc.h"
#include "mncc_console.h"

@ -23,7 +23,7 @@
#include <string.h>
#include <stdlib.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "cause.h"
#include "mncc.h"

@ -27,7 +27,7 @@
#include <stddef.h>
#include <unistd.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/call.h"
#include "cause.h"
#include "mncc_sock.h"

@ -25,7 +25,7 @@
#include <errno.h>
#include <sys/time.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "sender.h"
#include "call.h"
#include "../libtimer/timer.h"

@ -31,7 +31,7 @@
#include <getopt.h>
#include "../libsample/sample.h"
#include "main_mobile.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "sender.h"
#include "../libtimer/timer.h"
#include "call.h"

@ -25,7 +25,7 @@
#include <errno.h>
#include <string.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "sender.h"
#include "../libtimer/timer.h"

@ -41,7 +41,7 @@ enum paging_signal;
#ifdef HAVE_SOAPY
#include "soapy.h"
#endif
#include "../common/debug.h"
#include "../libdebug/debug.h"
/* enable to debug buffer handling */
//#define DEBUG_BUFFER

@ -26,7 +26,7 @@
#include <SoapySDR/Device.h>
#include <SoapySDR/Formats.h>
#include "soapy.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
extern int sdr_rx_overflow;

@ -25,7 +25,7 @@
#include <uhd.h>
#include <uhd/usrp/usrp.h>
#include "uhd.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
/* use to TX time stamp */
//#define TX_TIMESTAMP

@ -22,7 +22,7 @@
#include <math.h>
#include <alsa/asoundlib.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmobile/sender.h"
typedef struct sound {

@ -19,7 +19,7 @@
#include <string.h>
#include <math.h>
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "squelch.h"
#define CHAN squelch->chan

@ -22,6 +22,7 @@ nmt_SOURCES = \
nmt_LDADD = \
$(COMMON_LA) \
libdmssms.a \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/libcompandor/libcompandor.a \
@ -29,7 +30,6 @@ nmt_LDADD = \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/libhagelbarger/libhagelbarger.a \
$(top_builddir)/src/libdtmf/libdtmf.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \

@ -22,7 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "nmt.h"
#define MUTE_DURATION 0.300 /* 200ms, and about 95ms for the frame itself */

@ -26,7 +26,7 @@
#include <errno.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "nmt.h"
#include "transaction.h"
#include "dsp.h"

@ -23,7 +23,7 @@
#include <string.h>
#include <inttypes.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libhagelbarger/hagelbarger.h"
#include "nmt.h"
#include "frame.h"

@ -28,7 +28,7 @@
#include <sys/stat.h>
#include "../libsample/sample.h"
#include "../libmobile/main_mobile.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "nmt.h"
#include "frame.h"
#include "dsp.h"

@ -26,7 +26,7 @@
#include <errno.h>
#include <time.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmncc/cause.h"
#include "nmt.h"
#include "transaction.h"

@ -24,7 +24,7 @@
#include <time.h>
#include <errno.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "nmt.h"
#define SMS_RECEIVE_TO 5.0

@ -22,7 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "nmt.h"
#include "transaction.h"

@ -12,12 +12,12 @@ radiocom2000_SOURCES = \
main.c
radiocom2000_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/libcompandor/libcompandor.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/libhagelbarger/libhagelbarger.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \

@ -26,7 +26,7 @@
#include <errno.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "r2000.h"
#include "dsp.h"

@ -23,7 +23,7 @@
#include <stdlib.h>
#include <errno.h>
#include <inttypes.h>
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libhagelbarger/hagelbarger.h"
#include "frame.h"

@ -28,7 +28,7 @@
#include <sys/stat.h>
#include "../libsample/sample.h"
#include "../libmobile/main_mobile.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "r2000.h"
#include "dsp.h"
#include "frame.h"

@ -26,7 +26,7 @@
#include <errno.h>
#include <time.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../libmncc/cause.h"
#include "r2000.h"
//#include "transaction.h"

@ -13,12 +13,12 @@ tacs_SOURCES = \
tacs_LDADD = \
$(COMMON_LA) \
../amps/libamps.a \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/libcompandor/libcompandor.a \
$(top_builddir)/src/libgoertzel/libgoertzel.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \

@ -13,9 +13,9 @@ test_filter_SOURCES = test_filter.c dummy.c
test_filter_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
@ -41,9 +41,9 @@ test_compandor_SOURCES = dummy.x test_compandor.c
test_compandor_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libcompandor/libcompandor.a \
$(top_builddir)/src/common/libcommon.a \
$(ALSA_LIBS) \
$(UHD_LIBS) \
$(SOAPY_LIBS) \
@ -53,9 +53,9 @@ test_emphasis_SOURCES = test_emphasis.c dummy.c
test_emphasis_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
@ -81,10 +81,10 @@ test_dms_SOURCES = test_dms.c dummy.c
test_dms_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/nmt/libdmssms.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
@ -110,10 +110,10 @@ test_sms_SOURCES = dummy.c test_sms.c
test_sms_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libdisplay/libdisplay.a \
$(top_builddir)/src/nmt/libdmssms.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libjitter/libjitter.a \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
@ -139,8 +139,8 @@ test_performance_SOURCES = dummy.c test_performance.c
test_performance_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libfm/libfm.a \
$(top_builddir)/src/libfilter/libfilter.a \
$(ALSA_LIBS) \
@ -152,9 +152,9 @@ test_hagelbarger_SOURCES = dummy.c test_hagelbarger.c
test_hagelbarger_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libmobile/libmobile.a \
$(top_builddir)/src/libhagelbarger/libhagelbarger.a \
$(top_builddir)/src/common/libcommon.a \
$(ALSA_LIBS) \
$(UHD_LIBS) \
$(SOAPY_LIBS) \

@ -5,7 +5,7 @@
#include <string.h>
#include <unistd.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../nmt/nmt.h"
extern int dms_allow_loopback;

@ -5,7 +5,7 @@
#include "../libsample/sample.h"
#include "../libfilter/iir_filter.h"
#include "../libemphasis/emphasis.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#define level2db(level) (20 * log10(level))
#define db2level(db) pow(10, (double)db / 20.0)

@ -4,7 +4,7 @@
#include <string.h>
#include "../libsample/sample.h"
#include "../libfilter/iir_filter.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#define level2db(level) (20 * log10(level))
#define db2level(db) pow(10, (double)db / 20.0)

@ -6,7 +6,7 @@
#include "../libsample/sample.h"
#include "../libfilter/iir_filter.h"
#include "../libfm/fm.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
struct timeval start_tv, tv;
double duration;

@ -5,7 +5,7 @@
#include <string.h>
#include <unistd.h>
#include "../libsample/sample.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#include "../nmt/nmt.h"
static const uint8_t test_mo_sms_data1[] = {

@ -14,8 +14,8 @@ osmotv_SOURCES = \
main.c
osmotv_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/libdebug/libdebug.a \
$(top_builddir)/src/libimage/libimage.a \
$(top_builddir)/src/common/libcommon.a \
$(top_builddir)/src/libfm/libfm.a \
$(top_builddir)/src/libfilter/libfilter.a \
$(top_builddir)/src/libwave/libwave.a \

@ -32,7 +32,7 @@ enum paging_signal;
#include "../libfm/fm.h"
#include "../libwave/wave.h"
#include "../libimage/img.h"
#include "../common/debug.h"
#include "../libdebug/debug.h"
#ifdef HAVE_SDR
#include "../libsdr/sdr_config.h"
#include "../libsdr/sdr.h"

Loading…
Cancel
Save