Implements desiredInternalSampleRate
[opus.git] / Makefile.am
1
2 #AM_CFLAGS = -Isrc -Iinterface -fPIC -Wall -O3 
3 NAME = libSKP_SILK_SDK
4 AM_CPPFLAGS = $(AM_CFLAGS)
5
6 INCLUDES = -I$(top_srcdir)/src_FLP -I$(top_srcdir)/src_FIX -I$(top_srcdir)/src_SigProc_FIX -I$(top_srcdir)/src_SigProc_FLP -I$(top_srcdir)/src_common -I$(top_srcdir)/interface -I$(top_srcdir)/../celt/libcelt
7 EXTRA_DIST = src_FIX/src_FIX.vcxproj \
8 src_FIX/src_FIX.vcxproj.filters \
9 src_FLP/src_FLP.vcxproj \
10 src_FLP/src_FLP.vcxproj.filters \
11 src_common/src_common.vcxproj \
12 src_common/src_common.vcxproj.filters \
13 src_SigProc_FLP/src_SigProc_FLP.vcxproj \
14 src_SigProc_FLP/src_SigProc_FLP.vcxproj.filters \
15 src_SigProc_FIX/src_SigProc_FIX.vcxproj \
16 src_SigProc_FIX/src_SigProc_FIX.vcxproj.filters \
17 test_silk_dec/test_silk_dec.vcxproj \
18 test_silk_dec/test_silk_dec.vcxproj.filters \
19 test_silk_enc/test_silk_enc.vcxproj \
20 test_silk_enc/test_silk_enc.vcxproj.filters
21
22 lib_LTLIBRARIES = libSKP_SILK_SDK.la
23
24 libSKP_SILK_SDK_la_SOURCES = src_common/SKP_Silk_CNG.c \
25 src_common/SKP_Silk_code_signs.c \
26 src_common/SKP_Silk_create_init_destroy.c \
27 src_common/SKP_Silk_decode_core.c \
28 src_common/SKP_Silk_decode_frame.c \
29 src_common/SKP_Silk_decode_parameters.c \
30 src_common/SKP_Silk_decode_indices.c \
31 src_common/SKP_Silk_decode_pulses.c \
32 src_common/SKP_Silk_decoder_set_fs.c \
33 src_common/SKP_Silk_dec_API.c \
34 src_common/SKP_Silk_enc_API.c \
35 src_common/SKP_Silk_encode_indices.c \
36 src_common/SKP_Silk_encode_pulses.c \
37 src_common/SKP_Silk_gain_quant.c \
38 src_common/SKP_Silk_interpolate.c \
39 src_common/SKP_Silk_LP_variable_cutoff.c \
40 src_common/SKP_Silk_NLSF2A_stable.c \
41 src_common/SKP_Silk_NLSF_decode.c \
42 src_common/SKP_Silk_NSQ.c \
43 src_common/SKP_Silk_NSQ_del_dec.c \
44 src_common/SKP_Silk_PLC.c \
45 src_common/SKP_Silk_shell_coder.c \
46 src_common/SKP_Silk_tables_gain.c \
47 src_common/SKP_Silk_tables_LTP.c \
48 src_common/SKP_Silk_tables_NLSF_CB_NB_MB.c \
49 src_common/SKP_Silk_tables_NLSF_CB_WB.c \
50 src_common/SKP_Silk_tables_other.c \
51 src_common/SKP_Silk_tables_pitch_lag.c \
52 src_common/SKP_Silk_tables_pulses_per_block.c \
53 src_common/SKP_Silk_VAD.c \
54 src_common/SKP_Silk_control_audio_bandwidth.c \
55 src_common/SKP_Silk_quant_LTP_gains.c \
56 src_common/SKP_Silk_VQ_WMat_EC.c \
57 src_common/SKP_Silk_HP_variable_cutoff.c \
58 src_common/SKP_Silk_NLSF_encode.c \
59 src_common/SKP_Silk_NLSF_VQ.c \
60 src_common/SKP_Silk_NLSF_unpack.c \
61 src_common/SKP_Silk_NLSF_del_dec_quant.c \
62 src_common/SKP_Silk_process_NLSFs.c \
63 src_common/SKP_Silk_stereo_LR_to_MS.c \
64 src_common/SKP_Silk_stereo_MS_to_LR.c \
65 src_common/SKP_Silk_control_SNR.c \
66 src_common/SKP_Silk_init_encoder.c \
67 src_common/SKP_Silk_control_codec.c \
68 src_common/SKP_Silk_check_control_input.c \
69 src_SigProc_FIX/SKP_Silk_A2NLSF.c \
70 src_SigProc_FIX/SKP_Silk_ana_filt_bank_1.c \
71 src_SigProc_FIX/SKP_Silk_apply_sine_window.c \
72 src_SigProc_FIX/SKP_Silk_array_maxabs.c \
73 src_SigProc_FIX/SKP_Silk_autocorr.c \
74 src_SigProc_FIX/SKP_Silk_biquad_alt.c \
75 src_SigProc_FIX/SKP_Silk_burg_modified.c \
76 src_SigProc_FIX/SKP_Silk_bwexpander_32.c \
77 src_SigProc_FIX/SKP_Silk_bwexpander.c \
78 src_SigProc_FIX/SKP_Silk_debug.c \
79 src_SigProc_FIX/SKP_Silk_decode_pitch.c \
80 src_SigProc_FIX/SKP_Silk_inner_prod_aligned.c \
81 src_SigProc_FIX/SKP_Silk_k2a.c \
82 src_SigProc_FIX/SKP_Silk_k2a_Q16.c \
83 src_SigProc_FIX/SKP_Silk_lin2log.c \
84 src_SigProc_FIX/SKP_Silk_log2lin.c \
85 src_SigProc_FIX/SKP_Silk_LPC_analysis_filter.c \
86 src_SigProc_FIX/SKP_Silk_LPC_inv_pred_gain.c \
87 src_SigProc_FIX/SKP_Silk_LPC_stabilize.c \
88 src_SigProc_FIX/SKP_Silk_LPC_synthesis_filter.c \
89 src_SigProc_FIX/SKP_Silk_LPC_synthesis_order16.c \
90 src_SigProc_FIX/SKP_Silk_LSF_cos_table.c \
91 src_SigProc_FIX/SKP_Silk_NLSF2A.c \
92 src_SigProc_FIX/SKP_Silk_NLSF_stabilize.c \
93 src_SigProc_FIX/SKP_Silk_NLSF_VQ_weights_laroia.c \
94 src_SigProc_FIX/SKP_Silk_pitch_analysis_core.c \
95 src_SigProc_FIX/SKP_Silk_pitch_est_tables.c \
96 src_SigProc_FIX/SKP_Silk_resampler.c \
97 src_SigProc_FIX/SKP_Silk_resampler_down2_3.c \
98 src_SigProc_FIX/SKP_Silk_resampler_down2.c \
99 src_SigProc_FIX/SKP_Silk_resampler_down3.c \
100 src_SigProc_FIX/SKP_Silk_resampler_private_AR2.c \
101 src_SigProc_FIX/SKP_Silk_resampler_private_ARMA4.c \
102 src_SigProc_FIX/SKP_Silk_resampler_private_copy.c \
103 src_SigProc_FIX/SKP_Silk_resampler_private_down4.c \
104 src_SigProc_FIX/SKP_Silk_resampler_private_down_FIR.c \
105 src_SigProc_FIX/SKP_Silk_resampler_private_IIR_FIR.c \
106 src_SigProc_FIX/SKP_Silk_resampler_private_up2_HQ.c \
107 src_SigProc_FIX/SKP_Silk_resampler_private_up4.c \
108 src_SigProc_FIX/SKP_Silk_resampler_rom.c \
109 src_SigProc_FIX/SKP_Silk_resampler_up2.c \
110 src_SigProc_FIX/SKP_Silk_scale_copy_vector16.c \
111 src_SigProc_FIX/SKP_Silk_scale_vector.c \
112 src_SigProc_FIX/SKP_Silk_schur64.c \
113 src_SigProc_FIX/SKP_Silk_schur.c \
114 src_SigProc_FIX/SKP_Silk_sigm_Q15.c \
115 src_SigProc_FIX/SKP_Silk_sort.c \
116 src_SigProc_FIX/SKP_Silk_sum_sqr_shift.c \
117 src_SigProc_FLP/SKP_Silk_autocorrelation_FLP.c \
118 src_SigProc_FLP/SKP_Silk_burg_modified_FLP.c \
119 src_SigProc_FLP/SKP_Silk_bwexpander_FLP.c \
120 src_SigProc_FLP/SKP_Silk_energy_FLP.c \
121 src_SigProc_FLP/SKP_Silk_inner_product_FLP.c \
122 src_SigProc_FLP/SKP_Silk_k2a_FLP.c \
123 src_SigProc_FLP/SKP_Silk_levinsondurbin_FLP.c \
124 src_SigProc_FLP/SKP_Silk_LPC_inv_pred_gain_FLP.c \
125 src_SigProc_FLP/SKP_Silk_pitch_analysis_core_FLP.c \
126 src_SigProc_FLP/SKP_Silk_scale_copy_vector_FLP.c \
127 src_SigProc_FLP/SKP_Silk_scale_vector_FLP.c \
128 src_SigProc_FLP/SKP_Silk_schur_FLP.c \
129 src_SigProc_FLP/SKP_Silk_sort_FLP.c
130
131 if FIXED_POINT
132 libSKP_SILK_SDK_la_SOURCES += \
133 src_FIX/SKP_Silk_LTP_analysis_filter_FIX.c \
134 src_FIX/SKP_Silk_LTP_scale_ctrl_FIX.c \
135 src_FIX/SKP_Silk_control_codec_FIX.c \
136 src_FIX/SKP_Silk_corrMatrix_FIX.c \
137 src_FIX/SKP_Silk_encode_frame_FIX.c \
138 src_FIX/SKP_Silk_find_LPC_FIX.c \
139 src_FIX/SKP_Silk_find_LTP_FIX.c \
140 src_FIX/SKP_Silk_find_pitch_lags_FIX.c \
141 src_FIX/SKP_Silk_find_pred_coefs_FIX.c \
142 src_FIX/SKP_Silk_init_encoder_FIX.c \
143 src_FIX/SKP_Silk_noise_shape_analysis_FIX.c \
144 src_FIX/SKP_Silk_prefilter_FIX.c \
145 src_FIX/SKP_Silk_process_gains_FIX.c \
146 src_FIX/SKP_Silk_regularize_correlations_FIX.c \
147 src_FIX/SKP_Silk_residual_energy16_FIX.c \
148 src_FIX/SKP_Silk_residual_energy_FIX.c \
149 src_FIX/SKP_Silk_solve_LS_FIX.c \
150 src_FIX/SKP_Silk_warped_autocorrelation_FIX.c
151 else
152 libSKP_SILK_SDK_la_SOURCES += \
153 src_FLP/SKP_Silk_apply_sine_window_FLP.c \
154 src_FLP/SKP_Silk_corrMatrix_FLP.c \
155 src_FLP/SKP_Silk_encode_frame_FLP.c \
156 src_FLP/SKP_Silk_find_LPC_FLP.c \
157 src_FLP/SKP_Silk_find_LTP_FLP.c \
158 src_FLP/SKP_Silk_find_pitch_lags_FLP.c \
159 src_FLP/SKP_Silk_find_pred_coefs_FLP.c \
160 src_FLP/SKP_Silk_LPC_analysis_filter_FLP.c \
161 src_FLP/SKP_Silk_LTP_analysis_filter_FLP.c \
162 src_FLP/SKP_Silk_LTP_scale_ctrl_FLP.c \
163 src_FLP/SKP_Silk_noise_shape_analysis_FLP.c \
164 src_FLP/SKP_Silk_prefilter_FLP.c \
165 src_FLP/SKP_Silk_process_gains_FLP.c \
166 src_FLP/SKP_Silk_regularize_correlations_FLP.c \
167 src_FLP/SKP_Silk_residual_energy_FLP.c \
168 src_FLP/SKP_Silk_solve_LS_FLP.c \
169 src_FLP/SKP_Silk_warped_autocorrelation_FLP.c \
170 src_FLP/SKP_Silk_wrappers_FLP.c
171 endif
172
173 libSKP_SILK_SDK_la_CFLAGS = $(AM_CFLAGS)
174 libSKP_SILK_SDK_la_LDFLAGS = $(LIBS)
175
176 library_includedir = $(prefix)/include/silk
177 library_include_HEADERS = interface/SKP_debug.h \
178 interface/SKP_Silk_control.h \
179 interface/SKP_Silk_errors.h \
180 interface/SKP_Silk_SDK_API.h \
181 interface/SKP_Silk_typedef.h \
182 src_common/SKP_Silk_define.h \
183 src_common/SKP_Silk_main.h \
184 src_common/SKP_Silk_PLC.h \
185 src_common/SKP_Silk_structs.h \
186 src_common/SKP_Silk_tables.h \
187 src_common/SKP_Silk_tuning_parameters.h \
188 src_FIX/SKP_Silk_main_FIX.h \
189 src_FIX/SKP_Silk_structs_FIX.h \
190 src_FLP/SKP_Silk_assembler_FLP.h \
191 src_FLP/SKP_Silk_main_FLP.h \
192 src_FLP/SKP_Silk_structs_FLP.h \
193 src_SigProc_FIX/SKP_Silk_Inlines.h \
194 src_SigProc_FIX/SKP_Silk_MacroCount.h \
195 src_SigProc_FIX/SKP_Silk_MacroDebug.h \
196 src_SigProc_FIX/SKP_Silk_macros.h \
197 src_SigProc_FIX/SKP_Silk_pitch_est_defines.h \
198 src_SigProc_FIX/SKP_Silk_resampler_private.h \
199 src_SigProc_FIX/SKP_Silk_resampler_rom.h \
200 src_SigProc_FIX/SKP_Silk_resampler_structs.h \
201 src_SigProc_FIX/SKP_Silk_SigProc_FIX.h \
202 src_SigProc_FLP/SKP_Silk_SigProc_FLP.h
203
204 LIBS = ../celt/libcelt/libcelt0.la