Update Windows libraries to liquid-dsp v1.32 / Gcc 9.2.0

This commit is contained in:
vsonnier 2019-08-17 17:15:26 +02:00
parent 21fc2d605a
commit e0d1e2b6ff
16 changed files with 3683 additions and 3501 deletions

View File

@ -9,12 +9,30 @@
/* Support AVX (Advanced Vector Extensions) instructions */ /* Support AVX (Advanced Vector Extensions) instructions */
#define HAVE_AVX 1 #define HAVE_AVX 1
/* Define to 1 if you have the `cargf' function. */
#define HAVE_CARGF 1
/* Define to 1 if you have the `cexpf' function. */
#define HAVE_CEXPF 1
/* Define to 1 if you have the `cimagf' function. */
#define HAVE_CIMAGF 1
/* Define to 1 if you have the <complex.h> header file. */ /* Define to 1 if you have the <complex.h> header file. */
#define HAVE_COMPLEX_H 1 #define HAVE_COMPLEX_H 1
/* Define to 1 if you have the `cosf' function. */
#define HAVE_COSF 1
/* Define to 1 if you have the `crealf' function. */
#define HAVE_CREALF 1
/* Define to 1 if you have the <emmintrin.h> header file. */ /* Define to 1 if you have the <emmintrin.h> header file. */
#define HAVE_EMMINTRIN_H 1 #define HAVE_EMMINTRIN_H 1
/* Define to 1 if you have the `expf' function. */
#define HAVE_EXPF 1
/* Define to 1 if you have the <fec.h> header file. */ /* Define to 1 if you have the <fec.h> header file. */
/* #undef HAVE_FEC_H */ /* #undef HAVE_FEC_H */
@ -24,6 +42,9 @@
/* Define to 1 if you have the <float.h> header file. */ /* Define to 1 if you have the <float.h> header file. */
#define HAVE_FLOAT_H 1 #define HAVE_FLOAT_H 1
/* Define to 1 if you have the `free' function. */
#define HAVE_FREE 1
/* Define to 1 if you have the <getopt.h> header file. */ /* Define to 1 if you have the <getopt.h> header file. */
#define HAVE_GETOPT_H 1 #define HAVE_GETOPT_H 1
@ -48,13 +69,18 @@
/* Define to 1 if you have the <limits.h> header file. */ /* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1 #define HAVE_LIMITS_H 1
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and /* Define to 1 if you have the `malloc' function. */
to 0 otherwise. */
#define HAVE_MALLOC 1 #define HAVE_MALLOC 1
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1
/* Define to 1 if you have the <memory.h> header file. */ /* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1 #define HAVE_MEMORY_H 1
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the <mmintrin.h> header file. */ /* Define to 1 if you have the <mmintrin.h> header file. */
#define HAVE_MMINTRIN_H 1 #define HAVE_MMINTRIN_H 1
@ -64,13 +90,18 @@
/* Define to 1 if you have the <pmmintrin.h> header file. */ /* Define to 1 if you have the <pmmintrin.h> header file. */
#define HAVE_PMMINTRIN_H 1 #define HAVE_PMMINTRIN_H 1
/* Define to 1 if your system has a GNU libc compatible `realloc' function, /* Define to 1 if you have the `realloc' function. */
and to 0 otherwise. */
#define HAVE_REALLOC 1 #define HAVE_REALLOC 1
/* Define to 1 if you have the `sinf' function. */
#define HAVE_SINF 1
/* Define to 1 if you have the <smmintrin.h> header file. */ /* Define to 1 if you have the <smmintrin.h> header file. */
#define HAVE_SMMINTRIN_H 1 #define HAVE_SMMINTRIN_H 1
/* Define to 1 if you have the `sqrtf' function. */
#define HAVE_SQRTF 1
/* Support SSE (Streaming SIMD Extensions) instructions */ /* Support SSE (Streaming SIMD Extensions) instructions */
#define HAVE_SSE 1 #define HAVE_SSE 1
@ -129,13 +160,13 @@
/* #undef LIQUID_SIMDOVERRIDE */ /* #undef LIQUID_SIMDOVERRIDE */
/* Define to the address where bug reports for this package should be sent. */ /* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "support@liquidsdr.org" #define PACKAGE_BUGREPORT "joseph@liquidsdr.org"
/* Define to the full name of this package. */ /* Define to the full name of this package. */
#define PACKAGE_NAME "liquid-dsp" #define PACKAGE_NAME "liquid-dsp"
/* Define to the full name and version of this package. */ /* Define to the full name and version of this package. */
#define PACKAGE_STRING "liquid-dsp 1.3.1" #define PACKAGE_STRING "liquid-dsp 1.3.2"
/* Define to the one symbol short name of this package. */ /* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "liquid-dsp" #define PACKAGE_TARNAME "liquid-dsp"
@ -144,13 +175,19 @@
#define PACKAGE_URL "" #define PACKAGE_URL ""
/* Define to the version of this package. */ /* Define to the version of this package. */
#define PACKAGE_VERSION "1.3.1" #define PACKAGE_VERSION "1.3.2"
/* The size of `int', as computed by sizeof. */ /* The size of `int', as computed by sizeof. */
#define SIZEOF_INT 4 #define SIZEOF_INT 4
/* The size of `unsigned int', as computed by sizeof. */ /* The size of `long int', as computed by sizeof. */
#define SIZEOF_UNSIGNED_INT 4 #define SIZEOF_LONG_INT 8
/* The size of `long long int', as computed by sizeof. */
#define SIZEOF_LONG_LONG_INT 8
/* The size of `short int', as computed by sizeof. */
#define SIZEOF_SHORT_INT 2
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1 #define STDC_HEADERS 1

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -54,8 +54,8 @@ extern "C" {
// LIQUID_VERSION = "X.Y.Z" // LIQUID_VERSION = "X.Y.Z"
// LIQUID_VERSION_NUMBER = (X*1000000 + Y*1000 + Z) // LIQUID_VERSION_NUMBER = (X*1000000 + Y*1000 + Z)
// //
#define LIQUID_VERSION "1.3.1" #define LIQUID_VERSION "1.3.2"
#define LIQUID_VERSION_NUMBER 1003001 #define LIQUID_VERSION_NUMBER 1003002
// //
// Run-time library version numbers // Run-time library version numbers
@ -1558,16 +1558,16 @@ unsigned int SPGRAM(_get_window_len)(SPGRAM() _q); \
unsigned int SPGRAM(_get_delay)(SPGRAM() _q); \ unsigned int SPGRAM(_get_delay)(SPGRAM() _q); \
\ \
/* Get number of samples processed since reset */ \ /* Get number of samples processed since reset */ \
uint64_t SPGRAM(_get_num_samples)(SPGRAM() _q); \ unsigned long long int SPGRAM(_get_num_samples)(SPGRAM() _q); \
\ \
/* Get number of samples processed since object was created */ \ /* Get number of samples processed since object was created */ \
uint64_t SPGRAM(_get_num_samples_total)(SPGRAM() _q); \ unsigned long long int SPGRAM(_get_num_samples_total)(SPGRAM() _q); \
\ \
/* Get number of transforms processed since reset */ \ /* Get number of transforms processed since reset */ \
uint64_t SPGRAM(_get_num_transforms)(SPGRAM() _q); \ unsigned long long int SPGRAM(_get_num_transforms)(SPGRAM() _q); \
\ \
/* Get number of transforms processed since object was created */ \ /* Get number of transforms processed since object was created */ \
uint64_t SPGRAM(_get_num_transforms_total)(SPGRAM() _q); \ unsigned long long int SPGRAM(_get_num_transforms_total)(SPGRAM() _q); \
\ \
/* Get forgetting factor (filter bandwidth) */ \ /* Get forgetting factor (filter bandwidth) */ \
float SPGRAM(_get_alpha)(SPGRAM() _q); \ float SPGRAM(_get_alpha)(SPGRAM() _q); \
@ -1758,6 +1758,18 @@ void SPWATERFALL(_reset)(SPWATERFALL() _q); \
/* Print internal state of the object to stdout */ \ /* Print internal state of the object to stdout */ \
void SPWATERFALL(_print)(SPWATERFALL() _q); \ void SPWATERFALL(_print)(SPWATERFALL() _q); \
\ \
/* Get number of samples processed since object was created */ \
uint64_t SPWATERFALL(_get_num_samples_total)(SPWATERFALL() _q); \
\
/* Get FFT size (columns in PSD output) */ \
unsigned int SPWATERFALL(_get_num_freq)(SPWATERFALL() _q); \
\
/* Get number of accumulated FFTs (rows in PSD output) */ \
unsigned int SPWATERFALL(_get_num_time)(SPWATERFALL() _q); \
\
/* Get power spectral density (PSD), size: nfft x time */ \
const T * SPWATERFALL(_get_psd)(SPWATERFALL() _q); \
\
/* Set the center frequency of the received signal. */ \ /* Set the center frequency of the received signal. */ \
/* This is for display purposes only when generating the output image. */ \ /* This is for display purposes only when generating the output image. */ \
/* _q : spectral periodogram waterfall object */ \ /* _q : spectral periodogram waterfall object */ \
@ -2006,11 +2018,13 @@ void liquid_firdes_kaiser(unsigned int _n,
float _mu, float _mu,
float *_h); float *_h);
// Design finite impulse response DC-blocking filter // Design finite impulse response notch filter
// _m : filter semi-length, m in [1,1000] // _m : filter semi-length, m in [1,1000]
// _f0 : filter notch frequency (normalized), -0.5 <= _fc <= 0.5
// _As : stop-band attenuation [dB], _As > 0 // _As : stop-band attenuation [dB], _As > 0
// _h : output coefficient buffer, [size: 2*_m+1 x 1] // _h : output coefficient buffer, [size: 2*_m+1 x 1]
void liquid_firdes_dcblocker(unsigned int _m, void liquid_firdes_notch(unsigned int _m,
float _f0,
float _As, float _As,
float * _h); float * _h);
@ -2506,6 +2520,14 @@ FIRFILT() FIRFILT(_create_rect)(unsigned int _n); \
FIRFILT() FIRFILT(_create_dc_blocker)(unsigned int _m, \ FIRFILT() FIRFILT(_create_dc_blocker)(unsigned int _m, \
float _As); \ float _As); \
\ \
/* Create notch filter from prototype */ \
/* _m : prototype filter semi-length such that filter length is 2*m+1 */ \
/* _As : prototype filter stop-band attenuation [dB], _As > 0 */ \
/* _f0 : center frequency for notch, _fc in [-0.5, 0.5] */ \
FIRFILT() FIRFILT(_create_notch)(unsigned int _m, \
float _As, \
float _f0); \
\
/* Re-create filter object of potentially a different length with */ \ /* Re-create filter object of potentially a different length with */ \
/* different coefficients. If the length of the filter does not change, */ \ /* different coefficients. If the length of the filter does not change, */ \
/* not memory reallocation is invoked. */ \ /* not memory reallocation is invoked. */ \
@ -3698,7 +3720,10 @@ LIQUID_RESAMP2_DEFINE_API(LIQUID_RESAMP2_MANGLE_CCCF,
typedef struct RRESAMP(_s) * RRESAMP(); \ typedef struct RRESAMP(_s) * RRESAMP(); \
\ \
/* Create rational-rate resampler object from external coeffcients to */ \ /* Create rational-rate resampler object from external coeffcients to */ \
/* resample at an exact rate P/Q */ \ /* resample at an exact rate P/Q. */ \
/* Note that to preserve the input filter coefficients, the greatest */ \
/* common divisor (gcd) is not removed internally from _P and _Q when */ \
/* this method is called. */ \
/* _P : interpolation factor, P > 0 */ \ /* _P : interpolation factor, P > 0 */ \
/* _Q : decimation factor, Q > 0 */ \ /* _Q : decimation factor, Q > 0 */ \
/* _m : filter semi-length (delay), 0 < _m */ \ /* _m : filter semi-length (delay), 0 < _m */ \
@ -3709,7 +3734,10 @@ RRESAMP() RRESAMP(_create)(unsigned int _P, \
TC * _h); \ TC * _h); \
\ \
/* Create rational-rate resampler object from filter prototype to */ \ /* Create rational-rate resampler object from filter prototype to */ \
/* resample at an exact rate P/Q */ \ /* resample at an exact rate P/Q. */ \
/* Note that because the filter coefficients are computed internally */ \
/* here, the greatest common divisor (gcd) from _P and _Q is internally */ \
/* removed to improve speed. */ \
/* _P : interpolation factor, P > 0 */ \ /* _P : interpolation factor, P > 0 */ \
/* _Q : decimation factor, Q > 0 */ \ /* _Q : decimation factor, Q > 0 */ \
/* _m : filter semi-length (delay), 0 < _m */ \ /* _m : filter semi-length (delay), 0 < _m */ \
@ -3721,7 +3749,11 @@ RRESAMP() RRESAMP(_create_kaiser)(unsigned int _P, \
float _bw, \ float _bw, \
float _As); \ float _As); \
\ \
/* Create rational-rate resampler object from filter prototype to... */ \ /* Create rational-rate resampler object from filter prototype to */ \
/* resample at an exact rate P/Q. */ \
/* Note that because the filter coefficients are computed internally */ \
/* here, the greatest common divisor (gcd) from _P and _Q is internally */ \
/* removed to improve speed. */ \
RRESAMP() RRESAMP(_create_prototype)(int _type, \ RRESAMP() RRESAMP(_create_prototype)(int _type, \
unsigned int _P, \ unsigned int _P, \
unsigned int _Q, \ unsigned int _Q, \
@ -3770,20 +3802,21 @@ unsigned int RRESAMP(_get_delay)(RRESAMP() _q); \
/* before removing greatest common divisor */ \ /* before removing greatest common divisor */ \
unsigned int RRESAMP(_get_P)(RRESAMP() _q); \ unsigned int RRESAMP(_get_P)(RRESAMP() _q); \
\ \
/* Get interpolation factor of resampler, \(P\), after removing */ \ /* Get internal interpolation factor of resampler, \(P\), after */ \
/* greatest common divisor */ \ /* removing greatest common divisor */ \
unsigned int RRESAMP(_get_interp)(RRESAMP() _q); \ unsigned int RRESAMP(_get_interp)(RRESAMP() _q); \
\ \
/* Get original decimation factor \(Q\) when object was created */ \ /* Get original decimation factor \(Q\) when object was created */ \
/* before removing greatest common divisor */ \ /* before removing greatest common divisor */ \
unsigned int RRESAMP(_get_Q)(RRESAMP() _q); \ unsigned int RRESAMP(_get_Q)(RRESAMP() _q); \
\ \
/* Get decimation factor of resampler, \(Q\), after removing */ \ /* Get internal decimation factor of resampler, \(Q\), after removing */ \
/* greatest common divisor */ \ /* greatest common divisor */ \
unsigned int RRESAMP(_get_decim)(RRESAMP() _q); \ unsigned int RRESAMP(_get_decim)(RRESAMP() _q); \
\ \
/* Get greatest common divisor (g.c.d.) between original P and Q values */ \ /* Get block length (e.g. greatest common divisor) between original P */ \
unsigned int RRESAMP(_get_gcd)(RRESAMP() _q); \ /* and Q values */ \
unsigned int RRESAMP(_get_block_len)(RRESAMP() _q); \
\ \
/* Get rate of resampler, \(r = P/Q\) */ \ /* Get rate of resampler, \(r = P/Q\) */ \
float RRESAMP(_get_rate)(RRESAMP() _q); \ float RRESAMP(_get_rate)(RRESAMP() _q); \
@ -5482,6 +5515,7 @@ LIQUID_SYMSTREAM_DEFINE_API(LIQUID_SYMSTREAM_MANGLE_CFLOAT, liquid_float_complex
// //
// multi-signal source for testing (no meaningful data, just signals) // multi-signal source for testing (no meaningful data, just signals)
// //
#define LIQUID_MSOURCE_MANGLE_CFLOAT(name) LIQUID_CONCAT(msourcecf,name) #define LIQUID_MSOURCE_MANGLE_CFLOAT(name) LIQUID_CONCAT(msourcecf,name)
#define LIQUID_MSOURCE_DEFINE_API(MSOURCE,TO) \ #define LIQUID_MSOURCE_DEFINE_API(MSOURCE,TO) \
@ -5489,8 +5523,17 @@ LIQUID_SYMSTREAM_DEFINE_API(LIQUID_SYMSTREAM_MANGLE_CFLOAT, liquid_float_complex
/* Multi-signal source generator object */ \ /* Multi-signal source generator object */ \
typedef struct MSOURCE(_s) * MSOURCE(); \ typedef struct MSOURCE(_s) * MSOURCE(); \
\ \
/* Create default msource object */ \ /* Create msource object by specifying channelizer parameters */ \
MSOURCE() MSOURCE(_create)(void); \ /* _M : number of channels in analysis channelizer object */ \
/* _m : prototype channelizer filter semi-length */ \
/* _As : prototype channelizer filter stop-band suppression (dB) */ \
MSOURCE() MSOURCE(_create)(unsigned int _M, \
unsigned int _m, \
float _As); \
\
/* Create default msource object with default parameters: */ \
/* M = 1200, m = 4, As = 60 */ \
MSOURCE() MSOURCE(_create_default)(void); \
\ \
/* Destroy msource object */ \ /* Destroy msource object */ \
void MSOURCE(_destroy)(MSOURCE() _q); \ void MSOURCE(_destroy)(MSOURCE() _q); \
@ -5501,27 +5544,84 @@ void MSOURCE(_print)(MSOURCE() _q); \
/* Reset msource object */ \ /* Reset msource object */ \
void MSOURCE(_reset)(MSOURCE() _q); \ void MSOURCE(_reset)(MSOURCE() _q); \
\ \
/* user-defined callback for generating samples */ \
typedef int (*MSOURCE(_callback))(void * _userdata, \
TO * _v, \
unsigned int _n); \
\
/* Add user-defined signal generator */ \
int MSOURCE(_add_user)(MSOURCE() _q, \
float _fc, \
float _bw, \
float _gain, \
void * _userdata, \
MSOURCE(_callback) _callback); \
\
/* Add tone to signal generator, returning id of signal */ \ /* Add tone to signal generator, returning id of signal */ \
int MSOURCE(_add_tone) (MSOURCE() _q); \ int MSOURCE(_add_tone)(MSOURCE() _q, \
float _fc, \
float _bw, \
float _gain); \
\
/* Add chirp to signal generator, returning id of signal */ \
/* _q : multi-signal source object */ \
/* _duration : duration of chirp [samples] */ \
/* _negate : negate frequency direction */ \
/* _single : run single chirp? or repeatedly */ \
int MSOURCE(_add_chirp)(MSOURCE() _q, \
float _fc, \
float _bw, \
float _gain, \
float _duration, \
int _negate, \
int _repeat); \
\ \
/* Add noise source to signal generator, returning id of signal */ \ /* Add noise source to signal generator, returning id of signal */ \
/* _q : multi-signal source object */ \ /* _q : multi-signal source object */ \
/* _bandwidth : normalized noise bandiwidth, 0 < _bandwidth <= 1.0 */ \ /* _fc : ... */ \
/* _bw : ... */ \
/* _nstd : ... */ \
int MSOURCE(_add_noise)(MSOURCE() _q, \ int MSOURCE(_add_noise)(MSOURCE() _q, \
float _bandwidth); \ float _fc, \
float _bw, \
float _gain); \
\ \
/* Add modem signal source, returning id of signal */ \ /* Add modem signal source, returning id of signal */ \
/* _q : multi-signal source object */ \ /* _q : multi-signal source object */ \
/* _ms : modulation scheme, e.g. LIQUID_MODEM_QPSK */ \ /* _ms : modulation scheme, e.g. LIQUID_MODEM_QPSK */ \
/* _k : samples per symbol, _k >= 2 */ \
/* _m : filter delay (symbols), _m > 0 */ \ /* _m : filter delay (symbols), _m > 0 */ \
/* _beta : filter excess bandwidth, 0 < _beta <= 1 */ \ /* _beta : filter excess bandwidth, 0 < _beta <= 1 */ \
int MSOURCE(_add_modem)(MSOURCE() _q, \ int MSOURCE(_add_modem)(MSOURCE() _q, \
float _fc, \
float _bw, \
float _gain, \
int _ms, \ int _ms, \
unsigned int _k, \
unsigned int _m, \ unsigned int _m, \
float _beta); \ float _beta); \
\ \
/* Add frequency-shift keying modem signal source, returning id of */ \
/* signal */ \
/* _q : multi-signal source object */ \
/* _m : bits per symbol, _bps > 0 */ \
/* _k : samples/symbol, _k >= 2^_m */ \
int MSOURCE(_add_fsk)(MSOURCE() _q, \
float _fc, \
float _bw, \
float _gain, \
unsigned int _m, \
unsigned int _k); \
\
/* Add GMSK modem signal source, returning id of signal */ \
/* _q : multi-signal source object */ \
/* _m : filter delay (symbols), _m > 0 */ \
/* _bt : filter bandwidth-time factor, 0 < _bt <= 1 */ \
int MSOURCE(_add_gmsk)(MSOURCE() _q, \
float _fc, \
float _bw, \
float _gain, \
unsigned int _m, \
float _bt); \
\
/* Remove signal with a particular id, returning 0 upon success */ \ /* Remove signal with a particular id, returning 0 upon success */ \
/* _q : multi-signal source object */ \ /* _q : multi-signal source object */ \
/* _id : signal source id */ \ /* _id : signal source id */ \
@ -5552,6 +5652,11 @@ int MSOURCE(_get_gain)(MSOURCE() _q, \
int _id, \ int _id, \
float * _gain); \ float * _gain); \
\ \
/* Get number of samples generated by the object so far */ \
/* _q : msource object */ \
/* _return : number of time-domain samples generated */ \
unsigned long long int MSOURCE(_get_num_samples)(MSOURCE() _q); \
\
/* Set carrier offset to signal */ \ /* Set carrier offset to signal */ \
/* _q : msource object */ \ /* _q : msource object */ \
/* _id : source id */ \ /* _id : source id */ \

View File

@ -31,6 +31,7 @@
# bench : build and run benchmarking program # bench : build and run benchmarking program
# examples : build all examples # examples : build all examples
# sandbox : build all sandbox examples # sandbox : build all sandbox examples
# programs : build all programs, but don't run anything
# world : build absolutely everything (but don't install) # world : build absolutely everything (but don't install)
# #
# clean-modules : clean all modules # clean-modules : clean all modules
@ -42,8 +43,8 @@
# autoconf initialization macros # autoconf initialization macros
NAME := liquid-dsp NAME := liquid-dsp
VERSION := 1.3.1 VERSION := 1.3.2
BUGREPORT := support@liquidsdr.org BUGREPORT := joseph@liquidsdr.org
# paths # paths
srcdir := . srcdir := .
@ -64,8 +65,8 @@ RANLIB := ranlib
# flags # flags
INCLUDE_CFLAGS = $(addprefix -I,$(include_dirs)) INCLUDE_CFLAGS = $(addprefix -I,$(include_dirs))
#MINGW: optimizations goes here #MINGW: optimizations goes here, use SSSE42 for 32bit
CONFIG_CFLAGS = -m32 -O3 -msse3 -ffast-math CONFIG_CFLAGS = -m32 -O3 -msse4.2 -ffast-math
CPPFLAGS = $(INCLUDE_CFLAGS) CPPFLAGS = $(INCLUDE_CFLAGS)
CFLAGS = $(CONFIG_CFLAGS) -Wall -fPIC CFLAGS = $(CONFIG_CFLAGS) -Wall -fPIC
LDFLAGS = LDFLAGS =
@ -482,6 +483,7 @@ filter_autotests := \
src/filter/tests/firdecim_xxxf_autotest.c \ src/filter/tests/firdecim_xxxf_autotest.c \
src/filter/tests/firdes_autotest.c \ src/filter/tests/firdes_autotest.c \
src/filter/tests/firdespm_autotest.c \ src/filter/tests/firdespm_autotest.c \
src/filter/tests/firfilt_cccf_notch_autotest.c \
src/filter/tests/firfilt_xxxf_autotest.c \ src/filter/tests/firfilt_xxxf_autotest.c \
src/filter/tests/firhilb_autotest.c \ src/filter/tests/firhilb_autotest.c \
src/filter/tests/firinterp_autotest.c \ src/filter/tests/firinterp_autotest.c \
@ -490,6 +492,7 @@ filter_autotests := \
src/filter/tests/iirdes_autotest.c \ src/filter/tests/iirdes_autotest.c \
src/filter/tests/iirfilt_xxxf_autotest.c \ src/filter/tests/iirfilt_xxxf_autotest.c \
src/filter/tests/iirfiltsos_rrrf_autotest.c \ src/filter/tests/iirfiltsos_rrrf_autotest.c \
src/filter/tests/lpc_autotest.c \
src/filter/tests/msresamp_crcf_autotest.c \ src/filter/tests/msresamp_crcf_autotest.c \
src/filter/tests/rresamp_crcf_autotest.c \ src/filter/tests/rresamp_crcf_autotest.c \
src/filter/tests/resamp_crcf_autotest.c \ src/filter/tests/resamp_crcf_autotest.c \
@ -634,7 +637,7 @@ src/framing/src/framegen64.o : %.o : %.c $(include_headers)
src/framing/src/framesync64.o : %.o : %.c $(include_headers) src/framing/src/framesync64.o : %.o : %.c $(include_headers)
src/framing/src/flexframegen.o : %.o : %.c $(include_headers) src/framing/src/flexframegen.o : %.o : %.c $(include_headers)
src/framing/src/flexframesync.o : %.o : %.c $(include_headers) src/framing/src/flexframesync.o : %.o : %.c $(include_headers)
src/framing/src/msourcecf.o : %.o : %.c $(include_headers) src/framing/src/msource.c src/framing/src/msourcecf.o : %.o : %.c $(include_headers) src/framing/src/msource.c src/framing/src/qsource.c
src/framing/src/ofdmflexframegen.o : %.o : %.c $(include_headers) src/framing/src/ofdmflexframegen.o : %.o : %.c $(include_headers)
src/framing/src/ofdmflexframesync.o : %.o : %.c $(include_headers) src/framing/src/ofdmflexframesync.o : %.o : %.c $(include_headers)
src/framing/src/presync_cccf.o : %.o : %.c $(include_headers) src/framing/src/presync.c src/framing/src/presync_cccf.o : %.o : %.c $(include_headers) src/framing/src/presync.c
@ -1426,6 +1429,7 @@ example_programs := \
examples/firdecim_crcf_example \ examples/firdecim_crcf_example \
examples/firfarrow_rrrf_example \ examples/firfarrow_rrrf_example \
examples/firfilt_cccf_example \ examples/firfilt_cccf_example \
examples/firfilt_cccf_notch_example \
examples/firfilt_crcf_example \ examples/firfilt_crcf_example \
examples/firfilt_crcf_dcblocker_example \ examples/firfilt_crcf_dcblocker_example \
examples/firfilt_rrrf_example \ examples/firfilt_rrrf_example \
@ -1480,6 +1484,7 @@ example_programs := \
examples/modem_example \ examples/modem_example \
examples/modem_soft_example \ examples/modem_soft_example \
examples/modular_arithmetic_example \ examples/modular_arithmetic_example \
examples/msequence_generator_example \
examples/msequence_example \ examples/msequence_example \
examples/msourcecf_example \ examples/msourcecf_example \
examples/msresamp_crcf_example \ examples/msresamp_crcf_example \
@ -1640,6 +1645,7 @@ sandbox_programs = \
sandbox/ofdm_ber_test \ sandbox/ofdm_ber_test \
sandbox/ofdmframe_papr_test \ sandbox/ofdmframe_papr_test \
sandbox/ofdmframesync_cfo_test \ sandbox/ofdmframesync_cfo_test \
sandbox/pll_3rd_order_test \
sandbox/pll_design_test \ sandbox/pll_design_test \
sandbox/predemod_sync_test \ sandbox/predemod_sync_test \
sandbox/quasinewton_test \ sandbox/quasinewton_test \
@ -1654,7 +1660,6 @@ sandbox_programs = \
sandbox/symsync_eqlms_test \ sandbox/symsync_eqlms_test \
sandbox/svd_test \ sandbox/svd_test \
sandbox/thiran_allpass_iir_test \ sandbox/thiran_allpass_iir_test \
sandbox/throttle_test \
sandbox/vectorcf_test \ sandbox/vectorcf_test \
# sandbox/packetizer_persistent_ber_test # sandbox/packetizer_persistent_ber_test
@ -1662,6 +1667,7 @@ sandbox_programs = \
# sandbox/ofdmoqam_firpfbch_cfo_test # sandbox/ofdmoqam_firpfbch_cfo_test
# sandbox/mdct_test # sandbox/mdct_test
# sandbox/fct_test # sandbox/fct_test
# sandbox/throttle_test # needs -lrt for certain gcc versions, rpi3
sandbox_objects = $(patsubst %,%.o,$(sandbox_programs)) sandbox_objects = $(patsubst %,%.o,$(sandbox_programs))
@ -1679,22 +1685,10 @@ clean-sandbox:
$(RM) sandbox/*.o $(RM) sandbox/*.o
$(RM) $(sandbox_programs) $(RM) $(sandbox_programs)
##
.PHONY: tools ## TARGET : programs - build all programs, but don't run anything
tools_programs = \ ##
tools/msequence_generator \ programs: all xautotest benchmark examples sandbox
tools_objects = $(patsubst %,%.o,$(tools_programs))
tools: $(tools_programs)
$(tools_objects): %.o: %.c
$(tools_programs): % : %.o ${ARCHIVE_LIB}
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)
clean-tools:
$(RM) tools/*.o
$(RM) $(tools_programs)
## ##
## TARGET : world - build absolutely everything ## TARGET : world - build absolutely everything
@ -1732,7 +1726,7 @@ clean-modules:
$(RM) src/vector/src/*.o src/vector/bench/*.o src/vector/tests/*.o $(RM) src/vector/src/*.o src/vector/bench/*.o src/vector/tests/*.o
$(RM) src/libliquid.o $(RM) src/libliquid.o
clean: clean-modules clean-autoscript clean-check clean-bench clean-examples clean-sandbox clean-tools clean: clean-modules clean-autoscript clean-check clean-bench clean-examples clean-sandbox
$(RM) ${ARCHIVE_LIB} ${SHARED_LIB} $(extra_clean) $(RM) ${ARCHIVE_LIB} ${SHARED_LIB} $(extra_clean)
## ##

View File

@ -1,4 +1,4 @@
# Copyright (c) 2007 - 2018 Joseph Gaeddert # Copyright (c) 2007 - 2019 Joseph Gaeddert
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal # of this software and associated documentation files (the "Software"), to deal
@ -31,6 +31,7 @@
# bench : build and run benchmarking program # bench : build and run benchmarking program
# examples : build all examples # examples : build all examples
# sandbox : build all sandbox examples # sandbox : build all sandbox examples
# programs : build all programs, but don't run anything
# world : build absolutely everything (but don't install) # world : build absolutely everything (but don't install)
# #
# clean-modules : clean all modules # clean-modules : clean all modules
@ -42,8 +43,8 @@
# autoconf initialization macros # autoconf initialization macros
NAME := liquid-dsp NAME := liquid-dsp
VERSION := 1.3.1 VERSION := 1.3.2
BUGREPORT := support@liquidsdr.org BUGREPORT := joseph@liquidsdr.org
# paths # paths
srcdir := . srcdir := .
@ -482,6 +483,7 @@ filter_autotests := \
src/filter/tests/firdecim_xxxf_autotest.c \ src/filter/tests/firdecim_xxxf_autotest.c \
src/filter/tests/firdes_autotest.c \ src/filter/tests/firdes_autotest.c \
src/filter/tests/firdespm_autotest.c \ src/filter/tests/firdespm_autotest.c \
src/filter/tests/firfilt_cccf_notch_autotest.c \
src/filter/tests/firfilt_xxxf_autotest.c \ src/filter/tests/firfilt_xxxf_autotest.c \
src/filter/tests/firhilb_autotest.c \ src/filter/tests/firhilb_autotest.c \
src/filter/tests/firinterp_autotest.c \ src/filter/tests/firinterp_autotest.c \
@ -490,6 +492,7 @@ filter_autotests := \
src/filter/tests/iirdes_autotest.c \ src/filter/tests/iirdes_autotest.c \
src/filter/tests/iirfilt_xxxf_autotest.c \ src/filter/tests/iirfilt_xxxf_autotest.c \
src/filter/tests/iirfiltsos_rrrf_autotest.c \ src/filter/tests/iirfiltsos_rrrf_autotest.c \
src/filter/tests/lpc_autotest.c \
src/filter/tests/msresamp_crcf_autotest.c \ src/filter/tests/msresamp_crcf_autotest.c \
src/filter/tests/rresamp_crcf_autotest.c \ src/filter/tests/rresamp_crcf_autotest.c \
src/filter/tests/resamp_crcf_autotest.c \ src/filter/tests/resamp_crcf_autotest.c \
@ -634,7 +637,7 @@ src/framing/src/framegen64.o : %.o : %.c $(include_headers)
src/framing/src/framesync64.o : %.o : %.c $(include_headers) src/framing/src/framesync64.o : %.o : %.c $(include_headers)
src/framing/src/flexframegen.o : %.o : %.c $(include_headers) src/framing/src/flexframegen.o : %.o : %.c $(include_headers)
src/framing/src/flexframesync.o : %.o : %.c $(include_headers) src/framing/src/flexframesync.o : %.o : %.c $(include_headers)
src/framing/src/msourcecf.o : %.o : %.c $(include_headers) src/framing/src/msource.c src/framing/src/msourcecf.o : %.o : %.c $(include_headers) src/framing/src/msource.c src/framing/src/qsource.c
src/framing/src/ofdmflexframegen.o : %.o : %.c $(include_headers) src/framing/src/ofdmflexframegen.o : %.o : %.c $(include_headers)
src/framing/src/ofdmflexframesync.o : %.o : %.c $(include_headers) src/framing/src/ofdmflexframesync.o : %.o : %.c $(include_headers)
src/framing/src/presync_cccf.o : %.o : %.c $(include_headers) src/framing/src/presync.c src/framing/src/presync_cccf.o : %.o : %.c $(include_headers) src/framing/src/presync.c
@ -1426,6 +1429,7 @@ example_programs := \
examples/firdecim_crcf_example \ examples/firdecim_crcf_example \
examples/firfarrow_rrrf_example \ examples/firfarrow_rrrf_example \
examples/firfilt_cccf_example \ examples/firfilt_cccf_example \
examples/firfilt_cccf_notch_example \
examples/firfilt_crcf_example \ examples/firfilt_crcf_example \
examples/firfilt_crcf_dcblocker_example \ examples/firfilt_crcf_dcblocker_example \
examples/firfilt_rrrf_example \ examples/firfilt_rrrf_example \
@ -1480,6 +1484,7 @@ example_programs := \
examples/modem_example \ examples/modem_example \
examples/modem_soft_example \ examples/modem_soft_example \
examples/modular_arithmetic_example \ examples/modular_arithmetic_example \
examples/msequence_generator_example \
examples/msequence_example \ examples/msequence_example \
examples/msourcecf_example \ examples/msourcecf_example \
examples/msresamp_crcf_example \ examples/msresamp_crcf_example \
@ -1640,6 +1645,7 @@ sandbox_programs = \
sandbox/ofdm_ber_test \ sandbox/ofdm_ber_test \
sandbox/ofdmframe_papr_test \ sandbox/ofdmframe_papr_test \
sandbox/ofdmframesync_cfo_test \ sandbox/ofdmframesync_cfo_test \
sandbox/pll_3rd_order_test \
sandbox/pll_design_test \ sandbox/pll_design_test \
sandbox/predemod_sync_test \ sandbox/predemod_sync_test \
sandbox/quasinewton_test \ sandbox/quasinewton_test \
@ -1654,7 +1660,6 @@ sandbox_programs = \
sandbox/symsync_eqlms_test \ sandbox/symsync_eqlms_test \
sandbox/svd_test \ sandbox/svd_test \
sandbox/thiran_allpass_iir_test \ sandbox/thiran_allpass_iir_test \
sandbox/throttle_test \
sandbox/vectorcf_test \ sandbox/vectorcf_test \
# sandbox/packetizer_persistent_ber_test # sandbox/packetizer_persistent_ber_test
@ -1662,6 +1667,7 @@ sandbox_programs = \
# sandbox/ofdmoqam_firpfbch_cfo_test # sandbox/ofdmoqam_firpfbch_cfo_test
# sandbox/mdct_test # sandbox/mdct_test
# sandbox/fct_test # sandbox/fct_test
# sandbox/throttle_test # needs -lrt for certain gcc versions, rpi3
sandbox_objects = $(patsubst %,%.o,$(sandbox_programs)) sandbox_objects = $(patsubst %,%.o,$(sandbox_programs))
@ -1679,22 +1685,10 @@ clean-sandbox:
$(RM) sandbox/*.o $(RM) sandbox/*.o
$(RM) $(sandbox_programs) $(RM) $(sandbox_programs)
##
.PHONY: tools ## TARGET : programs - build all programs, but don't run anything
tools_programs = \ ##
tools/msequence_generator \ programs: all xautotest benchmark examples sandbox
tools_objects = $(patsubst %,%.o,$(tools_programs))
tools: $(tools_programs)
$(tools_objects): %.o: %.c
$(tools_programs): % : %.o ${ARCHIVE_LIB}
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)
clean-tools:
$(RM) tools/*.o
$(RM) $(tools_programs)
## ##
## TARGET : world - build absolutely everything ## TARGET : world - build absolutely everything
@ -1732,7 +1726,7 @@ clean-modules:
$(RM) src/vector/src/*.o src/vector/bench/*.o src/vector/tests/*.o $(RM) src/vector/src/*.o src/vector/bench/*.o src/vector/tests/*.o
$(RM) src/libliquid.o $(RM) src/libliquid.o
clean: clean-modules clean-autoscript clean-check clean-bench clean-examples clean-sandbox clean-tools clean: clean-modules clean-autoscript clean-check clean-bench clean-examples clean-sandbox
$(RM) ${ARCHIVE_LIB} ${SHARED_LIB} $(extra_clean) $(RM) ${ARCHIVE_LIB} ${SHARED_LIB} $(extra_clean)
## ##

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.