bfdc5f405e929ad5cc84e88ca8459be134280356
[opus.git] / Makefile.am
1 lib_LTLIBRARIES = libopus.la
2
3 INCLUDES = -I$(top_srcdir)/libcelt -I$(top_srcdir)/silk
4
5 libopus_la_SOURCES = libcelt/bands.c \
6 libcelt/celt.c \
7 libcelt/cwrs.c \
8 libcelt/entcode.c \
9 libcelt/entdec.c \
10 libcelt/entenc.c \
11 libcelt/kiss_fft.c \
12 libcelt/laplace.c \
13 libcelt/mathops.c \
14 libcelt/mdct.c \
15 libcelt/modes.c \
16 libcelt/pitch.c \
17 libcelt/plc.c \
18 libcelt/quant_bands.c \
19 libcelt/rate.c \
20 libcelt/vq.c
21
22 libopus_la_SOURCES += src/opus_decoder.c \
23 src/opus_encoder.c
24 libopus_la_SOURCES += \
25 silk/SKP_Silk_CNG.c \
26 silk/SKP_Silk_code_signs.c \
27 silk/SKP_Silk_create_init_destroy.c \
28 silk/SKP_Silk_decode_core.c \
29 silk/SKP_Silk_decode_frame.c \
30 silk/SKP_Silk_decode_parameters.c \
31 silk/SKP_Silk_decode_indices.c \
32 silk/SKP_Silk_decode_pulses.c \
33 silk/SKP_Silk_decoder_set_fs.c \
34 silk/SKP_Silk_dec_API.c \
35 silk/SKP_Silk_enc_API.c \
36 silk/SKP_Silk_encode_indices.c \
37 silk/SKP_Silk_encode_pulses.c \
38 silk/SKP_Silk_gain_quant.c \
39 silk/SKP_Silk_interpolate.c \
40 silk/SKP_Silk_LP_variable_cutoff.c \
41 silk/SKP_Silk_NLSF2A_stable.c \
42 silk/SKP_Silk_NLSF_decode.c \
43 silk/SKP_Silk_NSQ.c \
44 silk/SKP_Silk_NSQ_del_dec.c \
45 silk/SKP_Silk_PLC.c \
46 silk/SKP_Silk_shell_coder.c \
47 silk/SKP_Silk_tables_gain.c \
48 silk/SKP_Silk_tables_LTP.c \
49 silk/SKP_Silk_tables_NLSF_CB_NB_MB.c \
50 silk/SKP_Silk_tables_NLSF_CB_WB.c \
51 silk/SKP_Silk_tables_other.c \
52 silk/SKP_Silk_tables_pitch_lag.c \
53 silk/SKP_Silk_tables_pulses_per_block.c \
54 silk/SKP_Silk_VAD.c \
55 silk/SKP_Silk_control_audio_bandwidth.c \
56 silk/SKP_Silk_quant_LTP_gains.c \
57 silk/SKP_Silk_VQ_WMat_EC.c \
58 silk/SKP_Silk_HP_variable_cutoff.c \
59 silk/SKP_Silk_NLSF_encode.c \
60 silk/SKP_Silk_NLSF_VQ.c \
61 silk/SKP_Silk_NLSF_unpack.c \
62 silk/SKP_Silk_NLSF_del_dec_quant.c \
63 silk/SKP_Silk_process_NLSFs.c \
64 silk/SKP_Silk_stereo_LR_to_MS.c \
65 silk/SKP_Silk_stereo_MS_to_LR.c \
66 silk/SKP_Silk_check_control_input.c \
67 silk/SKP_Silk_control_SNR.c \
68 silk/SKP_Silk_init_encoder.c \
69 silk/SKP_Silk_control_codec.c \
70 silk/SKP_Silk_A2NLSF.c \
71 silk/SKP_Silk_ana_filt_bank_1.c \
72 silk/SKP_Silk_apply_sine_window.c \
73 silk/SKP_Silk_array_maxabs.c \
74 silk/SKP_Silk_autocorr.c \
75 silk/SKP_Silk_biquad_alt.c \
76 silk/SKP_Silk_burg_modified.c \
77 silk/SKP_Silk_bwexpander_32.c \
78 silk/SKP_Silk_bwexpander.c \
79 silk/SKP_Silk_debug.c \
80 silk/SKP_Silk_decode_pitch.c \
81 silk/SKP_Silk_inner_prod_aligned.c \
82 silk/SKP_Silk_k2a.c \
83 silk/SKP_Silk_k2a_Q16.c \
84 silk/SKP_Silk_lin2log.c \
85 silk/SKP_Silk_log2lin.c \
86 silk/SKP_Silk_LPC_analysis_filter.c \
87 silk/SKP_Silk_LPC_inv_pred_gain.c \
88 silk/SKP_Silk_LPC_stabilize.c \
89 silk/SKP_Silk_LPC_synthesis_filter.c \
90 silk/SKP_Silk_LPC_synthesis_order16.c \
91 silk/SKP_Silk_LSF_cos_table.c \
92 silk/SKP_Silk_NLSF2A.c \
93 silk/SKP_Silk_NLSF_stabilize.c \
94 silk/SKP_Silk_NLSF_VQ_weights_laroia.c \
95 silk/SKP_Silk_pitch_analysis_core.c \
96 silk/SKP_Silk_pitch_est_tables.c \
97 silk/SKP_Silk_resampler.c \
98 silk/SKP_Silk_resampler_down2_3.c \
99 silk/SKP_Silk_resampler_down2.c \
100 silk/SKP_Silk_resampler_down3.c \
101 silk/SKP_Silk_resampler_private_AR2.c \
102 silk/SKP_Silk_resampler_private_ARMA4.c \
103 silk/SKP_Silk_resampler_private_copy.c \
104 silk/SKP_Silk_resampler_private_down4.c \
105 silk/SKP_Silk_resampler_private_down_FIR.c \
106 silk/SKP_Silk_resampler_private_IIR_FIR.c \
107 silk/SKP_Silk_resampler_private_up2_HQ.c \
108 silk/SKP_Silk_resampler_private_up4.c \
109 silk/SKP_Silk_resampler_rom.c \
110 silk/SKP_Silk_resampler_up2.c \
111 silk/SKP_Silk_scale_copy_vector16.c \
112 silk/SKP_Silk_scale_vector.c \
113 silk/SKP_Silk_schur64.c \
114 silk/SKP_Silk_schur.c \
115 silk/SKP_Silk_sigm_Q15.c \
116 silk/SKP_Silk_sort.c \
117 silk/SKP_Silk_sum_sqr_shift.c \
118 silk/SKP_Silk_autocorrelation_FLP.c \
119 silk/SKP_Silk_burg_modified_FLP.c \
120 silk/SKP_Silk_bwexpander_FLP.c \
121 silk/SKP_Silk_energy_FLP.c \
122 silk/SKP_Silk_inner_product_FLP.c \
123 silk/SKP_Silk_k2a_FLP.c \
124 silk/SKP_Silk_levinsondurbin_FLP.c \
125 silk/SKP_Silk_LPC_inv_pred_gain_FLP.c \
126 silk/SKP_Silk_pitch_analysis_core_FLP.c \
127 silk/SKP_Silk_scale_copy_vector_FLP.c \
128 silk/SKP_Silk_scale_vector_FLP.c \
129 silk/SKP_Silk_schur_FLP.c \
130 silk/SKP_Silk_sort_FLP.c
131
132 if FIXED_POINT
133 libopus_la_SOURCES += \
134 silk/fixed/SKP_Silk_LTP_analysis_filter_FIX.c \
135 silk/fixed/SKP_Silk_LTP_scale_ctrl_FIX.c \
136 silk/fixed/SKP_Silk_corrMatrix_FIX.c \
137 silk/fixed/SKP_Silk_encode_frame_FIX.c \
138 silk/fixed/SKP_Silk_find_LPC_FIX.c \
139 silk/fixed/SKP_Silk_find_LTP_FIX.c \
140 silk/fixed/SKP_Silk_find_pitch_lags_FIX.c \
141 silk/fixed/SKP_Silk_find_pred_coefs_FIX.c \
142 silk/fixed/SKP_Silk_noise_shape_analysis_FIX.c \
143 silk/fixed/SKP_Silk_prefilter_FIX.c \
144 silk/fixed/SKP_Silk_process_gains_FIX.c \
145 silk/fixed/SKP_Silk_regularize_correlations_FIX.c \
146 silk/fixed/SKP_Silk_residual_energy16_FIX.c \
147 silk/fixed/SKP_Silk_residual_energy_FIX.c \
148 silk/fixed/SKP_Silk_solve_LS_FIX.c \
149 silk/fixed/SKP_Silk_warped_autocorrelation_FIX.c
150 else
151 libopus_la_SOURCES += \
152 silk/float/SKP_Silk_apply_sine_window_FLP.c \
153 silk/float/SKP_Silk_corrMatrix_FLP.c \
154 silk/float/SKP_Silk_encode_frame_FLP.c \
155 silk/float/SKP_Silk_find_LPC_FLP.c \
156 silk/float/SKP_Silk_find_LTP_FLP.c \
157 silk/float/SKP_Silk_find_pitch_lags_FLP.c \
158 silk/float/SKP_Silk_find_pred_coefs_FLP.c \
159 silk/float/SKP_Silk_LPC_analysis_filter_FLP.c \
160 silk/float/SKP_Silk_LTP_analysis_filter_FLP.c \
161 silk/float/SKP_Silk_LTP_scale_ctrl_FLP.c \
162 silk/float/SKP_Silk_noise_shape_analysis_FLP.c \
163 silk/float/SKP_Silk_prefilter_FLP.c \
164 silk/float/SKP_Silk_process_gains_FLP.c \
165 silk/float/SKP_Silk_regularize_correlations_FLP.c \
166 silk/float/SKP_Silk_residual_energy_FLP.c \
167 silk/float/SKP_Silk_solve_LS_FLP.c \
168 silk/float/SKP_Silk_warped_autocorrelation_FLP.c \
169 silk/float/SKP_Silk_wrappers_FLP.c
170 endif
171
172 pkginclude_HEADERS = src/opus.h
173
174 noinst_PROGRAMS = test_opus
175
176 test_opus_SOURCES = src/test_opus.c
177
178 test_opus_LDADD = libopus.la -lm